Index: src/compiler/ast-graph-builder.cc |
diff --git a/src/compiler/ast-graph-builder.cc b/src/compiler/ast-graph-builder.cc |
index fd28e7f624181ae95abe5cd2fe4c45c312351560..213bc52b58965cb5f66d970402a5f38433f59734 100644 |
--- a/src/compiler/ast-graph-builder.cc |
+++ b/src/compiler/ast-graph-builder.cc |
@@ -3705,7 +3705,7 @@ Node* AstGraphBuilder::BuildLoadGlobalObject() { |
Node* AstGraphBuilder::BuildLoadNativeContextField(int index) { |
Node* global = BuildLoadGlobalObject(); |
Node* native_context = |
- BuildLoadObjectField(global, GlobalObject::kNativeContextOffset); |
+ BuildLoadObjectField(global, JSGlobalObject::kNativeContextOffset); |
return NewNode(javascript()->LoadContext(0, index, true), native_context); |
} |