Index: src/arm/stub-cache-arm.cc |
diff --git a/src/arm/stub-cache-arm.cc b/src/arm/stub-cache-arm.cc |
index 91ef35bba0915112b109acae8c6103131cb1d0c0..c85db332608c88f9e23d16aa9c16419d427c1ea1 100644 |
--- a/src/arm/stub-cache-arm.cc |
+++ b/src/arm/stub-cache-arm.cc |
@@ -2856,8 +2856,9 @@ Handle<Code> LoadStubCompiler::CompileLoadViaGetter( |
// Call the JavaScript getter with the receiver on the stack. |
__ push(r0); |
- __ 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. |
__ ldr(cp, MemOperand(fp, StandardFrameConstants::kContextOffset)); |