diff options
| author | 2011-08-23 16:02:11 -0700 | |
|---|---|---|
| committer | 2011-08-31 09:46:57 -0700 | |
| commit | 1f87008b165d26541d832ff805250afdc89c253d (patch) | |
| tree | a84122b3757b8f856eb0656a951ed6621b6d01a8 /src/compiler/codegen | |
| parent | c5bfa8f49d8548d7c685a99b411311ef56bedffa (diff) | |
Add HeapTest and make GC work enough to pass it
Change-Id: If06eaef2921b64b3226bfd347acaec60ec993e67
Diffstat (limited to 'src/compiler/codegen')
| -rw-r--r-- | src/compiler/codegen/arm/Thumb2/Gen.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/codegen/arm/Thumb2/Gen.cc b/src/compiler/codegen/arm/Thumb2/Gen.cc index 699a56163a..3da5aaa5fb 100644 --- a/src/compiler/codegen/arm/Thumb2/Gen.cc +++ b/src/compiler/codegen/arm/Thumb2/Gen.cc @@ -535,7 +535,7 @@ static void genNewInstance(CompilationUnit* cUnit, MIR* mir, { oatFlushAllRegs(cUnit); /* Everything to home location */ loadWordDisp(cUnit, rSELF, - OFFSETOF_MEMBER(Thread, pNewInstanceFromCode), rLR); + OFFSETOF_MEMBER(Thread, pAllocObjectFromCode), rLR); loadCurrMethodDirect(cUnit, r1); // arg1 <= Method* loadConstant(cUnit, r0, mir->dalvikInsn.vB); // arg0 <- type_id opReg(cUnit, kOpBlx, rLR); |