diff options
author | Alexey Frunze <Alexey.Frunze@imgtec.com> | 2016-07-29 22:04:46 -0700 |
---|---|---|
committer | Alexey Frunze <Alexey.Frunze@imgtec.com> | 2016-08-30 16:50:28 -0700 |
commit | 57eb0f58419e0e6773f69cf6e0c78e5fed0464cd (patch) | |
tree | 5104bb1c1ad04f9f6a04fcac5d497d54ed0c97ab /compiler/optimizing/code_generator.cc | |
parent | d7eabc2cc1a88c1f7f927da61246ae65aab0626c (diff) |
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
Diffstat (limited to 'compiler/optimizing/code_generator.cc')
-rw-r--r-- | compiler/optimizing/code_generator.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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 |