| Index: src/ia32/stub-cache-ia32.cc
|
| diff --git a/src/ia32/stub-cache-ia32.cc b/src/ia32/stub-cache-ia32.cc
|
| index 66333755ef4a5c2943333f45b6afcb442cc1098d..2b391e0b3357aaf3fa1f6fa1d2172ddfba146499 100644
|
| --- a/src/ia32/stub-cache-ia32.cc
|
| +++ b/src/ia32/stub-cache-ia32.cc
|
| @@ -1132,6 +1132,10 @@ 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.
|
| + // TODO(svenpanne) Remove this hack when all ICs are reworked.
|
| + __ mov(scratch1, 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));
|
|
|