From 66f19258f9728d4ffe026074d8fd429d639802fa Mon Sep 17 00:00:00 2001 From: Mathieu Chartier Date: Tue, 18 Sep 2012 08:57:04 -0700 Subject: Change dex cache to be java object instead of array, add pointer to dex file in dex cache. Generic clean up to facilitate having GDB macros for Pretty* helper functions. Improved cleanliness of DexCache since having it as an object array was not the best solution. Fixed a bug in InOrderWalk caused by ResolveType sometimes allocating classes. Rename C++ Method to AbstractMethod and add two new classes Constructor, Method which both inherit from AbstractMethod. Rename done to have the C++ code be closer to the java code. Change-Id: I4995b4c5e47a3822192b08afa24a639d3b1f4da9 --- src/compiler/codegen/MethodCodegenDriver.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/compiler/codegen/MethodCodegenDriver.cc') diff --git a/src/compiler/codegen/MethodCodegenDriver.cc b/src/compiler/codegen/MethodCodegenDriver.cc index 7d612b04a1..8269f8bb85 100644 --- a/src/compiler/codegen/MethodCodegenDriver.cc +++ b/src/compiler/codegen/MethodCodegenDriver.cc @@ -129,7 +129,7 @@ void genInvoke(CompilationUnit* cUnit, CallInfo* info) callInst = opReg(cUnit, kOpBlx, rINVOKE_TGT); #else if (fastPath && info->type != kInterface) { - callInst = opMem(cUnit, kOpBlx, rARG0, Method::GetCodeOffset().Int32Value()); + callInst = opMem(cUnit, kOpBlx, rARG0, AbstractMethod::GetCodeOffset().Int32Value()); } else { int trampoline = 0; switch (info->type) { -- cgit v1.2.3-59-g8ed1b