diff options
| author | 2012-03-05 15:35:46 -0800 | |
|---|---|---|
| committer | 2012-03-05 15:35:46 -0800 | |
| commit | a7678db092ac6bb79f7cad490099a1015fbbc714 (patch) | |
| tree | 95181107e5ef16068298cbec717b605f54748ca4 /src/compiler/codegen/CodegenFactory.cc | |
| parent | e88dfbf138bc204b1ce21911f1c34098ea74af7c (diff) | |
x86 source code hack and slash
Made a pass over the compiler source to get it into a compileable
state for the x86 target. Lots of temporary #ifdefs, but it
compiles and makes it to oatArchInit().
Change-Id: Ib8bcd2a032e47dcb83430dbc479a29758e084359
Diffstat (limited to 'src/compiler/codegen/CodegenFactory.cc')
| -rw-r--r-- | src/compiler/codegen/CodegenFactory.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/compiler/codegen/CodegenFactory.cc b/src/compiler/codegen/CodegenFactory.cc index e467ea0e9d..b27efe002e 100644 --- a/src/compiler/codegen/CodegenFactory.cc +++ b/src/compiler/codegen/CodegenFactory.cc @@ -247,6 +247,9 @@ void storeValueWide(CompilationUnit* cUnit, RegLocation rlDest, */ void markGCCard(CompilationUnit* cUnit, int valReg, int tgtAddrReg) { +#if defined(TARGET_X86) + UNIMPLEMENTED(WARNING) << "markGCCard"; +#else int regCardBase = oatAllocTemp(cUnit); int regCardNo = oatAllocTemp(cUnit); LIR* branchOver = opCmpImmBranch(cUnit, kCondEq, valReg, 0, NULL); @@ -259,6 +262,7 @@ void markGCCard(CompilationUnit* cUnit, int valReg, int tgtAddrReg) branchOver->target = (LIR*)target; oatFreeTemp(cUnit, regCardBase); oatFreeTemp(cUnit, regCardNo); +#endif } /* |