Index: src/x64/code-stubs-x64.cc |
diff --git a/src/x64/code-stubs-x64.cc b/src/x64/code-stubs-x64.cc |
index 7e6b63c56143ca9680820ccb16fa551dfc48036e..a81c7808b927f4b8d7e74a0a3b9806e0556dff09 100644 |
--- a/src/x64/code-stubs-x64.cc |
+++ b/src/x64/code-stubs-x64.cc |
@@ -179,7 +179,7 @@ static void InitializeArrayConstructorDescriptor( |
descriptor->register_param_count_ = 2; |
if (constant_stack_parameter_count != 0) { |
// stack param count needs (constructor pointer, and single argument) |
- descriptor->stack_parameter_count_ = &rax; |
+ descriptor->stack_parameter_count_ = rax; |
} |
descriptor->hint_stack_parameter_count_ = constant_stack_parameter_count; |
descriptor->register_params_ = registers; |
@@ -201,7 +201,7 @@ static void InitializeInternalArrayConstructorDescriptor( |
if (constant_stack_parameter_count != 0) { |
// stack param count needs (constructor pointer, and single argument) |
- descriptor->stack_parameter_count_ = &rax; |
+ descriptor->stack_parameter_count_ = rax; |
} |
descriptor->hint_stack_parameter_count_ = constant_stack_parameter_count; |
descriptor->register_params_ = registers; |