Index: src/mips/stub-cache-mips.cc |
diff --git a/src/mips/stub-cache-mips.cc b/src/mips/stub-cache-mips.cc |
index 24474cf6660297bb693a47730c5109672be256de..649751f92990a27838c555971d2060a5d47ddc71 100644 |
--- a/src/mips/stub-cache-mips.cc |
+++ b/src/mips/stub-cache-mips.cc |
@@ -1946,8 +1946,9 @@ Handle<Code> CallStubCompiler::CompileStringCharCodeAtCall( |
v0, |
&miss); |
ASSERT(!object.is_identical_to(holder)); |
- CheckPrototypes(Handle<JSObject>(JSObject::cast(object->GetPrototype())), |
- v0, holder, a1, a3, t0, name, &miss); |
+ CheckPrototypes( |
+ Handle<JSObject>(JSObject::cast(object->GetPrototype(isolate()))), |
+ v0, holder, a1, a3, t0, name, &miss); |
Register receiver = a1; |
Register index = t1; |
@@ -2026,8 +2027,9 @@ Handle<Code> CallStubCompiler::CompileStringCharAtCall( |
v0, |
&miss); |
ASSERT(!object.is_identical_to(holder)); |
- CheckPrototypes(Handle<JSObject>(JSObject::cast(object->GetPrototype())), |
- v0, holder, a1, a3, t0, name, &miss); |
+ CheckPrototypes( |
+ Handle<JSObject>(JSObject::cast(object->GetPrototype(isolate()))), |
+ v0, holder, a1, a3, t0, name, &miss); |
Register receiver = v0; |
Register index = t1; |
@@ -2483,7 +2485,7 @@ void CallStubCompiler::CompileHandlerFrontend(Handle<Object> object, |
GenerateDirectLoadGlobalFunctionPrototype( |
masm(), Context::STRING_FUNCTION_INDEX, a0, &miss); |
CheckPrototypes( |
- Handle<JSObject>(JSObject::cast(object->GetPrototype())), |
+ Handle<JSObject>(JSObject::cast(object->GetPrototype(isolate()))), |
a0, holder, a3, a1, t0, name, &miss); |
break; |
@@ -2498,7 +2500,7 @@ void CallStubCompiler::CompileHandlerFrontend(Handle<Object> object, |
GenerateDirectLoadGlobalFunctionPrototype( |
masm(), Context::NUMBER_FUNCTION_INDEX, a0, &miss); |
CheckPrototypes( |
- Handle<JSObject>(JSObject::cast(object->GetPrototype())), |
+ Handle<JSObject>(JSObject::cast(object->GetPrototype(isolate()))), |
a0, holder, a3, a1, t0, name, &miss); |
break; |
} |
@@ -2514,7 +2516,7 @@ void CallStubCompiler::CompileHandlerFrontend(Handle<Object> object, |
GenerateDirectLoadGlobalFunctionPrototype( |
masm(), Context::BOOLEAN_FUNCTION_INDEX, a0, &miss); |
CheckPrototypes( |
- Handle<JSObject>(JSObject::cast(object->GetPrototype())), |
+ Handle<JSObject>(JSObject::cast(object->GetPrototype(isolate()))), |
a0, holder, a3, a1, t0, name, &miss); |
break; |
} |