| Index: src/contexts.h
|
| diff --git a/src/contexts.h b/src/contexts.h
|
| index fdf6d27ef550c82a93b5f3929b0830dc02b84d7e..88c3cd981c94e15e58dffc3c1b609d155cee50df 100644
|
| --- a/src/contexts.h
|
| +++ b/src/contexts.h
|
| @@ -370,7 +370,7 @@ class Context: public FixedArray {
|
|
|
| GlobalObject* global_object() {
|
| Object* result = get(GLOBAL_OBJECT_INDEX);
|
| - ASSERT(IsBootstrappingOrGlobalObject(result));
|
| + ASSERT(IsBootstrappingOrGlobalObject(this->GetIsolate(), result));
|
| return reinterpret_cast<GlobalObject*>(result);
|
| }
|
| void set_global_object(GlobalObject* object) {
|
| @@ -508,7 +508,7 @@ class Context: public FixedArray {
|
| #ifdef DEBUG
|
| // Bootstrapping-aware type checks.
|
| static bool IsBootstrappingOrValidParentContext(Object* object, Context* kid);
|
| - static bool IsBootstrappingOrGlobalObject(Object* object);
|
| + static bool IsBootstrappingOrGlobalObject(Isolate* isolate, Object* object);
|
| #endif
|
|
|
| STATIC_CHECK(kHeaderSize == Internals::kContextHeaderSize);
|
|
|