Index: src/mips/stub-cache-mips.cc |
diff --git a/src/mips/stub-cache-mips.cc b/src/mips/stub-cache-mips.cc |
index 64be4c15d0c768b3129de978d41dde06bb209aec..7f15b5ab08722c1fea3b7d02c044c1098fc8cd90 100644 |
--- a/src/mips/stub-cache-mips.cc |
+++ b/src/mips/stub-cache-mips.cc |
@@ -2860,8 +2860,9 @@ Handle<Code> LoadStubCompiler::CompileLoadViaGetter( |
// Call the JavaScript getter with the receiver on the stack. |
__ push(a0); |
- __ 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. |
__ lw(cp, MemOperand(fp, StandardFrameConstants::kContextOffset)); |