diff options
| author | 2012-06-13 11:12:43 -0700 | |
|---|---|---|
| committer | 2012-06-13 11:12:43 -0700 | |
| commit | 1a5e1e7b3b2340a6ac08c53220900d4044ac3e4c (patch) | |
| tree | 06f0041c4ff4363b1b94d3a4e8133e914fb02fa9 /src/compiler/codegen/GenCommon.cc | |
| parent | 27cac650c28bb6887b1be85fff3857c77211b294 (diff) | |
| parent | 15bf9804820b73765899e4b3e0d8a1fa15e0dbd3 (diff) | |
Merge "More Quick compiler restructuring" into ics-mr1-plus-art
Diffstat (limited to 'src/compiler/codegen/GenCommon.cc')
| -rw-r--r-- | src/compiler/codegen/GenCommon.cc | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/compiler/codegen/GenCommon.cc b/src/compiler/codegen/GenCommon.cc index 2bd93331a6..2ca90466ee 100644 --- a/src/compiler/codegen/GenCommon.cc +++ b/src/compiler/codegen/GenCommon.cc @@ -23,8 +23,7 @@ namespace art { * be applicable to most targets. Only mid-level support utilities * and "op" calls may be used here. */ -void genInvoke(CompilationUnit* cUnit, BasicBlock* bb, MIR* mir, - InvokeType type, bool isRange); +void genInvoke(CompilationUnit* cUnit, InvokeInfo* info); #if defined(TARGET_ARM) LIR* opIT(CompilationUnit* cUnit, ArmConditionCode cond, const char* guide); bool smallLiteralDivide(CompilationUnit* cUnit, Instruction::Code dalvikOpcode, @@ -870,12 +869,10 @@ void handleIntrinsicLaunchpads(CompilationUnit *cUnit) oatResetRegPool(cUnit); oatResetDefTracking(cUnit); LIR* lab = intrinsicLabel[i]; - MIR* mir = (MIR*)lab->operands[0]; - InvokeType type = (InvokeType)lab->operands[1]; - BasicBlock* bb = (BasicBlock*)lab->operands[3]; - cUnit->currentDalvikOffset = mir->offset; + InvokeInfo* info = (InvokeInfo*)lab->operands[0]; + cUnit->currentDalvikOffset = info->offset; oatAppendLIR(cUnit, lab); - genInvoke(cUnit, bb, mir, type, false /* isRange */); + genInvoke(cUnit, info); LIR* resumeLab = (LIR*)lab->operands[2]; if (resumeLab != NULL) { opUnconditionalBranch(cUnit, resumeLab); |