Index: src/arm/stub-cache-arm.cc |
diff --git a/src/arm/stub-cache-arm.cc b/src/arm/stub-cache-arm.cc |
index 8ef852b99c3e342abe916f73533bc5ade666c7d0..793d30c62ef597f97bb9de434945e40906f654a7 100644 |
--- a/src/arm/stub-cache-arm.cc |
+++ b/src/arm/stub-cache-arm.cc |
@@ -861,10 +861,8 @@ static void GenerateFastApiCall(MacroAssembler* masm, |
class CallInterceptorCompiler BASE_EMBEDDED { |
public: |
CallInterceptorCompiler(CallStubCompiler* stub_compiler, |
- const ParameterCount& arguments, |
Register name) |
: stub_compiler_(stub_compiler), |
- arguments_(arguments), |
name_(name) {} |
void Compile(MacroAssembler* masm, |
@@ -997,7 +995,6 @@ class CallInterceptorCompiler BASE_EMBEDDED { |
} |
CallStubCompiler* stub_compiler_; |
- const ParameterCount& arguments_; |
Register name_; |
}; |
@@ -1570,7 +1567,7 @@ Handle<Code> CallStubCompiler::CompileCallInterceptor(Handle<JSObject> object, |
// Get the receiver from the stack. |
__ ldr(r1, MemOperand(sp, argc * kPointerSize)); |
- CallInterceptorCompiler compiler(this, arguments(), r2); |
+ CallInterceptorCompiler compiler(this, r2); |
compiler.Compile(masm(), object, holder, name, &lookup, r1, r3, r4, r0, |
&miss); |