Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index ded969998740bc5ca06f858ec227095760cf5de8..1da7909031f52d354a1e7035c9d2cda28399aca5 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -6258,6 +6258,9 @@ JSObject* JSFunction::global_proxy() { |
} |
+Context* JSFunction::native_context() { return context()->native_context(); } |
+ |
+ |
void JSFunction::set_context(Object* value) { |
DCHECK(value->IsUndefined() || value->IsContext()); |
WRITE_FIELD(this, kContextOffset, value); |