Index: src/x64/stub-cache-x64.cc |
diff --git a/src/x64/stub-cache-x64.cc b/src/x64/stub-cache-x64.cc |
index e899997e68bfeef595db27a861f919ac6af98fa6..bbe6eac9b9b04a69973b8e0bbc84081fe740887f 100644 |
--- a/src/x64/stub-cache-x64.cc |
+++ b/src/x64/stub-cache-x64.cc |
@@ -2719,8 +2719,9 @@ Handle<Code> LoadStubCompiler::CompileLoadViaGetter( |
// Call the JavaScript getter with the receiver on the stack. |
__ push(rax); |
- __ InvokeFunction(getter, ParameterCount(0), CALL_FUNCTION, |
- NullCallWrapper(), CALL_AS_METHOD); |
+ ParameterCount actual(0); |
+ __ InvokeFunction(getter, actual, CALL_FUNCTION, NullCallWrapper(), |
+ CALL_AS_METHOD); |
// Restore context register. |
__ movq(rsi, Operand(rbp, StandardFrameConstants::kContextOffset)); |