Index: src/x64/virtual-frame-x64.cc |
diff --git a/src/x64/virtual-frame-x64.cc b/src/x64/virtual-frame-x64.cc |
index f5e17fd18f5d312dbf7bc80e8c963426987bff43..3a0b72fc6cd3c449acb4a852c428e6137c10266a 100644 |
--- a/src/x64/virtual-frame-x64.cc |
+++ b/src/x64/virtual-frame-x64.cc |
@@ -1221,7 +1221,7 @@ Result VirtualFrame::CallConstructor(int arg_count) { |
// call trampolines per different arguments counts encountered. |
Result num_args = cgen()->allocator()->Allocate(rax); |
ASSERT(num_args.is_valid()); |
- __ movq(num_args.reg(), Immediate(arg_count)); |
+ __ Set(num_args.reg(), arg_count); |
function.Unuse(); |
num_args.Unuse(); |