summaryrefslogtreecommitdiff
path: root/compiler/optimizing/code_generator.cc
diff options
context:
space:
mode:
author Vladimir Marko <vmarko@google.com> 2016-08-31 13:17:44 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2016-08-31 13:17:44 +0000
commit081e7a16c4fcbdb014441a236e12f58eb89ff99a (patch)
treef945770e21ebaf4a133118d6617459407fb35f49 /compiler/optimizing/code_generator.cc
parentd707979dd4b03207a798870e2e0658b1f1522bd3 (diff)
parent57eb0f58419e0e6773f69cf6e0c78e5fed0464cd (diff)
Merge "MIPS32: Fill branch delay slots"
Diffstat (limited to 'compiler/optimizing/code_generator.cc')
-rw-r--r--compiler/optimizing/code_generator.cc2
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