| Index: src/ia32/stub-cache-ia32.cc
|
| diff --git a/src/ia32/stub-cache-ia32.cc b/src/ia32/stub-cache-ia32.cc
|
| index 1a745c7b7f32a7659e5a96d208c8060b0fb5393d..bf46180bbc19b96dc36b554af64b2bc260a98963 100644
|
| --- a/src/ia32/stub-cache-ia32.cc
|
| +++ b/src/ia32/stub-cache-ia32.cc
|
| @@ -824,7 +824,8 @@ Register StubCompiler::CheckPrototypes(Handle<HeapType> type,
|
| int depth = 0;
|
|
|
| Handle<JSObject> current = Handle<JSObject>::null();
|
| - if (type->IsConstant()) current = Handle<JSObject>::cast(type->AsConstant());
|
| + if (type->IsConstant()) current =
|
| + Handle<JSObject>::cast(type->AsConstant()->Value());
|
| Handle<JSObject> prototype = Handle<JSObject>::null();
|
| Handle<Map> current_map = receiver_map;
|
| Handle<Map> holder_map(holder->map());
|
|
|