| Index: src/mips/stub-cache-mips.cc
|
| diff --git a/src/mips/stub-cache-mips.cc b/src/mips/stub-cache-mips.cc
|
| index b7ffb4f202a71b5d7c92f5303c447c281033e936..d903e572003054fffde3ae74e646d3753c229bb2 100644
|
| --- a/src/mips/stub-cache-mips.cc
|
| +++ b/src/mips/stub-cache-mips.cc
|
| @@ -1192,6 +1192,9 @@ Register StubCompiler::CheckPrototypes(Handle<JSObject> object,
|
| int save_at_depth,
|
| Label* miss,
|
| PrototypeCheckType check) {
|
| + // Make sure that the type feedback oracle harvests the receiver map.
|
| + __ li(scratch1, Operand(Handle<Map>(object->map())));
|
| +
|
| Handle<JSObject> first = object;
|
| // Make sure there's no overlap between holder and object registers.
|
| ASSERT(!scratch1.is(object_reg) && !scratch1.is(holder_reg));
|
|
|