| Index: src/objects.h
|
| diff --git a/src/objects.h b/src/objects.h
|
| index 0caff1ffccad599e2942070fc66850330b170a31..d3d15429d943c159bd0a90791c493e284cc8beed 100644
|
| --- a/src/objects.h
|
| +++ b/src/objects.h
|
| @@ -2009,7 +2009,7 @@ class JSReceiver: public HeapObject {
|
| // function that was used to instantiate the object).
|
| static Handle<String> GetConstructorName(Handle<JSReceiver> receiver);
|
|
|
| - Context* GetCreationContext();
|
| + Handle<Context> GetCreationContext();
|
|
|
| MUST_USE_RESULT static inline Maybe<PropertyAttributes> GetPropertyAttributes(
|
| Handle<JSReceiver> object, Handle<Name> name);
|
| @@ -7927,6 +7927,7 @@ class JSFunction: public JSObject {
|
|
|
| // [context]: The context for this function.
|
| inline Context* context();
|
| + inline bool has_context() const;
|
| inline void set_context(Object* context);
|
| inline JSObject* global_proxy();
|
| inline Context* native_context();
|
|
|