Index: src/arm/stub-cache-arm.cc |
diff --git a/src/arm/stub-cache-arm.cc b/src/arm/stub-cache-arm.cc |
index 0fc14da2f4b9fa43c8a5dbb5c70f0ace3f8f1f4a..98a10ffbd92332824fe08c53757e3979eb11cc58 100644 |
--- a/src/arm/stub-cache-arm.cc |
+++ b/src/arm/stub-cache-arm.cc |
@@ -964,7 +964,7 @@ Object* CallStubCompiler::CompileCallConstant(Object* object, |
} |
-Object* CallStubCompiler::CompileCallInterceptor(Object* object, |
+Object* CallStubCompiler::CompileCallInterceptor(JSObject* object, |
JSObject* holder, |
String* name) { |
// ----------- S t a t e ------------- |
@@ -994,9 +994,8 @@ Object* CallStubCompiler::CompileCallInterceptor(Object* object, |
__ BranchOnSmi(receiver, &miss); |
// Check that the maps haven't changed. |
- Register reg = |
- CheckPrototypes(JSObject::cast(object), receiver, holder, |
- holder_reg, scratch, name, &miss); |
+ Register reg = CheckPrototypes(object, receiver, holder, holder_reg, |
+ scratch, name, &miss); |
if (!reg.is(holder_reg)) { |
__ mov(holder_reg, reg); |
} |