summaryrefslogtreecommitdiff
path: root/src/compiler/codegen/codegen_util.cc
diff options
context:
space:
mode:
author TDYa127 <tdy@google.com> 2013-01-09 21:31:37 +0800
committer TDYa127 <tdy@google.com> 2013-01-09 22:19:23 +0800
commitdc5daa0db249f8cfb8290bc8f7068cb2a0383393 (patch)
treed8cafc924aa1c0d6a91ded76685828565400464a /src/compiler/codegen/codegen_util.cc
parent162fd33474038f0de0388338ca007ecf400bb3df (diff)
Fix portable path.
Change-Id: Ie5d64bd851a6ad55d4eef051704916c8318fa2f9
Diffstat (limited to 'src/compiler/codegen/codegen_util.cc')
-rw-r--r--src/compiler/codegen/codegen_util.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/compiler/codegen/codegen_util.cc b/src/compiler/codegen/codegen_util.cc
index 77a2269aaf..389a41380f 100644
--- a/src/compiler/codegen/codegen_util.cc
+++ b/src/compiler/codegen/codegen_util.cc
@@ -34,9 +34,9 @@ bool FastInstance(CompilationUnit* cu, uint32_t field_idx,
int& field_offset, bool& is_volatile, bool is_put)
{
OatCompilationUnit m_unit(cu->class_loader, cu->class_linker,
- *cu->dex_file,
- cu->code_item, cu->method_idx,
- cu->access_flags);
+ *cu->dex_file, cu->code_item,
+ cu->class_def_idx, cu->method_idx,
+ cu->access_flags);
return cu->compiler->ComputeInstanceFieldInfo(field_idx, &m_unit,
field_offset, is_volatile, is_put);
}