Index: src/compiler/arm/code-generator-arm.cc |
diff --git a/src/compiler/arm/code-generator-arm.cc b/src/compiler/arm/code-generator-arm.cc |
index 4ae67e3ff0ab45b28ee8469d639e81e08fec92f1..b11cdbd92c7c8476268fd02c083b42c17bfad581 100644 |
--- a/src/compiler/arm/code-generator-arm.cc |
+++ b/src/compiler/arm/code-generator-arm.cc |
@@ -166,8 +166,8 @@ void CodeGenerator::AssembleArchInstruction(Instruction* instr) { |
break; |
} |
case kArchDeoptimize: { |
- int deoptimization_id = MiscField::decode(instr->opcode()); |
- BuildTranslation(instr, 0, deoptimization_id); |
+ int deoptimization_id = BuildTranslation(instr, 0); |
+ |
Address deopt_entry = Deoptimizer::GetDeoptimizationEntry( |
isolate(), deoptimization_id, Deoptimizer::LAZY); |
__ Call(deopt_entry, RelocInfo::RUNTIME_ENTRY); |