| Index: src/stub-cache.cc
|
| diff --git a/src/stub-cache.cc b/src/stub-cache.cc
|
| index 1bc4b1314e79cbff3a4616181ed3f236c5095557..84b05decbb1b79288396bd927c71012470773b56 100644
|
| --- a/src/stub-cache.cc
|
| +++ b/src/stub-cache.cc
|
| @@ -826,7 +826,7 @@ static MaybeObject* ThrowReferenceError(Isolate* isolate, Name* name) {
|
| // can't use either LoadIC or KeyedLoadIC constructors.
|
| HandleScope scope(isolate);
|
| IC ic(IC::NO_EXTRA_FRAME, isolate);
|
| - ASSERT(ic.target()->is_load_stub() || ic.target()->is_keyed_load_stub());
|
| + ASSERT(ic.IsLoadStub());
|
| if (!ic.SlowIsUndeclaredGlobal()) return isolate->heap()->undefined_value();
|
|
|
| // Throw a reference error.
|
|
|