summaryrefslogtreecommitdiff
path: root/compiler/compiler.cc
diff options
context:
space:
mode:
author Mathieu Chartier <mathieuc@google.com> 2018-01-08 20:45:00 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2018-01-08 20:45:00 +0000
commit812d4d4091b07c83a340e775325b7f42c8521574 (patch)
tree7887b2cd4662410114f205bbe1896ff094d51407 /compiler/compiler.cc
parent4b9a11f1d43df69c50e93ba1793fce1c2216682b (diff)
parent698ebbca3c54d17c696e87b9e5838df6a5ac9b08 (diff)
Merge "Clean up CodeItemAccessors and Compact/StandardDexFile"
Diffstat (limited to 'compiler/compiler.cc')
-rw-r--r--compiler/compiler.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/compiler.cc b/compiler/compiler.cc
index 60977b6bd5..7c7ae71d77 100644
--- a/compiler/compiler.cc
+++ b/compiler/compiler.cc
@@ -47,7 +47,7 @@ bool Compiler::IsPathologicalCase(const DexFile::CodeItem& code_item,
* Dalvik uses 16-bit uints for instruction and register counts. We'll limit to a quarter
* of that, which also guarantees we cannot overflow our 16-bit internal Quick SSA name space.
*/
- CodeItemDataAccessor accessor(&dex_file, &code_item);
+ CodeItemDataAccessor accessor(dex_file, &code_item);
if (accessor.InsnsSizeInCodeUnits() >= UINT16_MAX / 4) {
LOG(INFO) << "Method exceeds compiler instruction limit: "
<< accessor.InsnsSizeInCodeUnits()