From 57eb0f58419e0e6773f69cf6e0c78e5fed0464cd Mon Sep 17 00:00:00 2001 From: Alexey Frunze Date: Fri, 29 Jul 2016 22:04:46 -0700 Subject: MIPS32: Fill branch delay slots Test: booted MIPS32 in QEMU Test: test-art-host-gtest Test: test-art-target-gtest Test: test-art-target-run-test-optimizing on CI20 Change-Id: I727e80753395ab99fff004cb5d2e0a06409150d7 --- compiler/optimizing/code_generator.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler/optimizing/code_generator.cc') diff --git a/compiler/optimizing/code_generator.cc b/compiler/optimizing/code_generator.cc index 0d3f849143..b0de9640fb 100644 --- a/compiler/optimizing/code_generator.cc +++ b/compiler/optimizing/code_generator.cc @@ -753,7 +753,7 @@ void CodeGenerator::RecordPcInfo(HInstruction* instruction, } // Collect PC infos for the mapping table. - uint32_t native_pc = GetAssembler()->CodeSize(); + uint32_t native_pc = GetAssembler()->CodePosition(); if (instruction == nullptr) { // For stack overflow checks and native-debug-info entries without dex register -- cgit v1.2.3-59-g8ed1b