Index: src/ia32/stub-cache-ia32.cc |
diff --git a/src/ia32/stub-cache-ia32.cc b/src/ia32/stub-cache-ia32.cc |
index b556b1c6f28e753bbd16a1f1edf74a02fce869cd..ec9124a84737518e73f07d7e7cc44965469add9a 100644 |
--- a/src/ia32/stub-cache-ia32.cc |
+++ b/src/ia32/stub-cache-ia32.cc |
@@ -2881,8 +2881,9 @@ Handle<Code> LoadStubCompiler::CompileLoadViaGetter( |
// Call the JavaScript getter with the receiver on the stack. |
__ push(edx); |
- __ 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. |
__ mov(esi, Operand(ebp, StandardFrameConstants::kContextOffset)); |