Index: src/x64/deoptimizer-x64.cc |
diff --git a/src/x64/deoptimizer-x64.cc b/src/x64/deoptimizer-x64.cc |
index ffd84efb5ffd3ddbba952391295479791d1fe1ba..abac2b6b38c8979cd7dccdc31a45c4eca187ccae 100644 |
--- a/src/x64/deoptimizer-x64.cc |
+++ b/src/x64/deoptimizer-x64.cc |
@@ -665,7 +665,7 @@ void Deoptimizer::EntryGenerator::Generate() { |
__ PrepareCallCFunction(6); |
__ movq(rax, Operand(rbp, JavaScriptFrameConstants::kFunctionOffset)); |
__ movq(arg1, rax); |
- __ movq(arg2, Immediate(type())); |
+ __ Set(arg2, type()); |
// Args 3 and 4 are already in the right registers. |
// On windows put the arguments on the stack (PrepareCallCFunction |