Index: src/compiler/arm64/code-generator-arm64.cc |
diff --git a/src/compiler/arm64/code-generator-arm64.cc b/src/compiler/arm64/code-generator-arm64.cc |
index 51d377f89f30d6a0abe514f63f8028a346980487..f73e0146b20f9a340e597ca87debfda569a4326f 100644 |
--- a/src/compiler/arm64/code-generator-arm64.cc |
+++ b/src/compiler/arm64/code-generator-arm64.cc |
@@ -160,8 +160,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); |