| Index: src/compiler/ia32/code-generator-ia32.cc
|
| diff --git a/src/compiler/ia32/code-generator-ia32.cc b/src/compiler/ia32/code-generator-ia32.cc
|
| index 8aef773476b2bd96b85758b971ca8096e0933770..c05c6ea3def31985dc264fc3ccc50b3e5b6fab8b 100644
|
| --- a/src/compiler/ia32/code-generator-ia32.cc
|
| +++ b/src/compiler/ia32/code-generator-ia32.cc
|
| @@ -139,14 +139,6 @@ void CodeGenerator::AssembleArchInstruction(Instruction* instr) {
|
| AddSafepointAndDeopt(instr);
|
| break;
|
| }
|
| - case kArchDeoptimize: {
|
| - int deoptimization_id = BuildTranslation(instr, 0);
|
| -
|
| - Address deopt_entry = Deoptimizer::GetDeoptimizationEntry(
|
| - isolate(), deoptimization_id, Deoptimizer::LAZY);
|
| - __ call(deopt_entry, RelocInfo::RUNTIME_ENTRY);
|
| - break;
|
| - }
|
| case kArchDrop: {
|
| int words = MiscField::decode(instr->opcode());
|
| __ add(esp, Immediate(kPointerSize * words));
|
| @@ -582,6 +574,13 @@ void CodeGenerator::AssembleArchBoolean(Instruction* instr,
|
| }
|
|
|
|
|
| +void CodeGenerator::AssembleDeoptimizerCall(int deoptimization_id) {
|
| + Address deopt_entry = Deoptimizer::GetDeoptimizationEntry(
|
| + isolate(), deoptimization_id, Deoptimizer::LAZY);
|
| + __ call(deopt_entry, RelocInfo::RUNTIME_ENTRY);
|
| +}
|
| +
|
| +
|
| // The calling convention for JSFunctions on IA32 passes arguments on the
|
| // stack and the JSFunction and context in EDI and ESI, respectively, thus
|
| // the steps of the call look as follows:
|
|
|