Index: src/compiler/access-builder.cc |
diff --git a/src/compiler/access-builder.cc b/src/compiler/access-builder.cc |
index 554d2a3c382e8c05cce65338afc7e042f403b5f5..c314e8046a8a71c6d3334013fa0d18fd880b1b14 100644 |
--- a/src/compiler/access-builder.cc |
+++ b/src/compiler/access-builder.cc |
@@ -132,9 +132,17 @@ FieldAccess AccessBuilder::ForStringLength(Zone* zone) { |
// static |
+FieldAccess AccessBuilder::ForGlobalObjectGlobalProxy() { |
+ FieldAccess access = {kTaggedBase, GlobalObject::kGlobalProxyOffset, |
+ Handle<Name>(), Type::Receiver(), kMachAnyTagged}; |
+ return access; |
+} |
+ |
+ |
+// static |
FieldAccess AccessBuilder::ForGlobalObjectNativeContext() { |
FieldAccess access = {kTaggedBase, GlobalObject::kNativeContextOffset, |
- Handle<Name>(), Type::Any(), kMachAnyTagged}; |
+ Handle<Name>(), Type::Internal(), kMachAnyTagged}; |
return access; |
} |