Index: src/contexts-inl.h |
diff --git a/src/contexts-inl.h b/src/contexts-inl.h |
index 5d62a04a3450e8e8e84209136ae30c81f61ca7c9..990b50e1af40a2663af42ce2571b931c7c56cbb1 100644 |
--- a/src/contexts-inl.h |
+++ b/src/contexts-inl.h |
@@ -58,7 +58,7 @@ void Context::set_previous(Context* context) { set(PREVIOUS_INDEX, context); } |
Object* Context::next_context_link() { return get(Context::NEXT_CONTEXT_LINK); } |
-bool Context::has_extension() { return !extension()->IsTheHole(); } |
+bool Context::has_extension() { return !extension()->IsTheHole(GetIsolate()); } |
HeapObject* Context::extension() { |
return HeapObject::cast(get(EXTENSION_INDEX)); |
} |