Index: src/mark-compact.cc |
diff --git a/src/mark-compact.cc b/src/mark-compact.cc |
index 2e3ab66fd00fc98077d3c03bdda0772e83b9b6ff..8db48c394676fb6c893168fc8f1cf394e46ede59 100644 |
--- a/src/mark-compact.cc |
+++ b/src/mark-compact.cc |
@@ -1269,7 +1269,7 @@ class MarkCompactMarkingVisitor |
static inline bool IsValidNotBuiltinContext(Object* ctx) { |
return ctx->IsContext() && |
- !Context::cast(ctx)->global()->IsJSBuiltinsObject(); |
+ !Context::cast(ctx)->global_object()->IsJSBuiltinsObject(); |
} |