Index: src/parsing/parser.h |
diff --git a/src/parsing/parser.h b/src/parsing/parser.h |
index e711667e3a1808925e5c66737421d8299c722638..46664caca70abeaa532911d9511f139e7e818bad 100644 |
--- a/src/parsing/parser.h |
+++ b/src/parsing/parser.h |
@@ -131,6 +131,7 @@ class ParseInfo { |
Handle<Context> context() { return context_; } |
void clear_script() { script_ = Handle<Script>::null(); } |
void set_isolate(Isolate* isolate) { isolate_ = isolate; } |
+ void set_shared_info(Handle<SharedFunctionInfo> shared) { shared_ = shared; } |
void set_context(Handle<Context> context) { context_ = context; } |
void set_script(Handle<Script> script) { script_ = script; } |
//-------------------------------------------------------------------------- |
@@ -202,7 +203,6 @@ class ParseInfo { |
void SetFlag(Flag f, bool v) { flags_ = v ? flags_ | f : flags_ & ~f; } |
bool GetFlag(Flag f) const { return (flags_ & f) != 0; } |
- void set_shared_info(Handle<SharedFunctionInfo> shared) { shared_ = shared; } |
void set_closure(Handle<JSFunction> closure) { closure_ = closure; } |
}; |