| Index: src/a64/stub-cache-a64.cc
|
| diff --git a/src/a64/stub-cache-a64.cc b/src/a64/stub-cache-a64.cc
|
| index e9c67c78746d97d16668c989fb05a368b269f19c..f6c2d398058f140c8283e6f5d0785fc29d3eaf17 100644
|
| --- a/src/a64/stub-cache-a64.cc
|
| +++ b/src/a64/stub-cache-a64.cc
|
| @@ -1205,6 +1205,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, Operand(Handle<Map>(object->map())));
|
| +
|
| Handle<JSObject> first = object;
|
|
|
| // object_reg and holder_reg registers can alias.
|
|
|