Index: src/hydrogen-instructions.h |
diff --git a/src/hydrogen-instructions.h b/src/hydrogen-instructions.h |
index 43d3d1a0c08cd3792a09cfd9e5ab8e8739b3234e..0e33c82cb482bc2b357b6fe1e9772dd28e98ab18 100644 |
--- a/src/hydrogen-instructions.h |
+++ b/src/hydrogen-instructions.h |
@@ -5993,6 +5993,10 @@ class HObjectAccess V8_FINAL { |
JSArrayBufferView::kByteLengthOffset); |
} |
+ static HObjectAccess ForGlobalObjectNativeContext() { |
+ return HObjectAccess(kInobject, GlobalObject::kNativeContextOffset); |
+ } |
+ |
void PrintTo(StringStream* stream); |
inline bool Equals(HObjectAccess that) const { |