Chromium Code Reviews| Index: src/type-info.cc |
| diff --git a/src/type-info.cc b/src/type-info.cc |
| index 01943414a7cb60d8495bab94a0adacf13149dd4b..021eb13d192d6c338d270bd9e3a51bf942911c73 100644 |
| --- a/src/type-info.cc |
| +++ b/src/type-info.cc |
| @@ -71,7 +71,7 @@ Handle<Object> TypeFeedbackOracle::GetInfo(FeedbackVectorICSlot slot) { |
| if (obj->IsWeakCell()) { |
| WeakCell* cell = WeakCell::cast(obj); |
| if (cell->cleared()) return undefined; |
| - obj = cell->value(); |
| + obj = cell->value(isolate()->heap()); |
| } |
| if (!obj->IsJSFunction() || |