| Index: src/stub-cache.cc
|
| diff --git a/src/stub-cache.cc b/src/stub-cache.cc
|
| index e05d254f2180d66545206d2449a4a38087e6b300..4403d77dd9e3061fa8a143ab314078c866809cd2 100644
|
| --- a/src/stub-cache.cc
|
| +++ b/src/stub-cache.cc
|
| @@ -135,7 +135,7 @@ Handle<Code> StubCache::FindHandler(Handle<Name> name,
|
|
|
|
|
| Handle<Code> StubCache::ComputeMonomorphicIC(Handle<Name> name,
|
| - Handle<HeapObject> object,
|
| + Handle<Object> object,
|
| Handle<Code> handler,
|
| StrictModeFlag strict_mode) {
|
| Code::Kind kind = handler->handler_kind();
|
| @@ -149,7 +149,7 @@ Handle<Code> StubCache::ComputeMonomorphicIC(Handle<Name> name,
|
| name, stub_holder_map, kind, strict_mode, cache_holder);
|
| if (!ic.is_null()) return ic;
|
|
|
| - Handle<Map> map(object->map());
|
| + Handle<Map> map(object->GetMarkerMap(isolate()));
|
| if (kind == Code::LOAD_IC) {
|
| LoadStubCompiler ic_compiler(isolate(), cache_holder);
|
| ic = ic_compiler.CompileMonomorphicIC(map, handler, name);
|
|
|