From 06a46c44bf1a5cba6c78c3faffc4e7ec1442b210 Mon Sep 17 00:00:00 2001 From: Alexey Frunze Date: Tue, 19 Jul 2016 15:00:40 -0700 Subject: MIPS32: Improve string and class loads Tested: - MIPS32 Android boots in QEMU - test-art-host-gtest - test-art-target-run-test-optimizing in QEMU, on CI20 - test-art-target-gtest on CI20 Change-Id: I70fd5d5267f8594c3b29d5a4ccf66b8ca8b09df3 --- compiler/utils/mips/assembler_mips.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'compiler/utils/mips/assembler_mips.cc') diff --git a/compiler/utils/mips/assembler_mips.cc b/compiler/utils/mips/assembler_mips.cc index ebaf1c0cab..608b3bc23c 100644 --- a/compiler/utils/mips/assembler_mips.cc +++ b/compiler/utils/mips/assembler_mips.cc @@ -2024,6 +2024,10 @@ void MipsAssembler::BindPcRelBaseLabel() { Bind(&pc_rel_base_label_); } +uint32_t MipsAssembler::GetPcRelBaseLabelLocation() const { + return GetLabelLocation(&pc_rel_base_label_); +} + void MipsAssembler::FinalizeLabeledBranch(MipsLabel* label) { uint32_t length = branches_.back().GetLength(); if (!label->IsBound()) { -- cgit v1.2.3-59-g8ed1b