| Index: src/parsing/parser.h
|
| diff --git a/src/parsing/parser.h b/src/parsing/parser.h
|
| index 46664caca70abeaa532911d9511f139e7e818bad..6285c0c6789d9d98c3b2c7f151c7b41e4b494922 100644
|
| --- a/src/parsing/parser.h
|
| +++ b/src/parsing/parser.h
|
| @@ -125,7 +125,6 @@ class ParseInfo {
|
| // TODO(titzer): these should not be part of ParseInfo.
|
| //--------------------------------------------------------------------------
|
| Isolate* isolate() { return isolate_; }
|
| - Handle<JSFunction> closure() { return closure_; }
|
| Handle<SharedFunctionInfo> shared_info() { return shared_; }
|
| Handle<Script> script() { return script_; }
|
| Handle<Context> context() { return context_; }
|
| @@ -145,7 +144,6 @@ class ParseInfo {
|
| }
|
|
|
| void ReopenHandlesInNewHandleScope() {
|
| - closure_ = Handle<JSFunction>(*closure_);
|
| shared_ = Handle<SharedFunctionInfo>(*shared_);
|
| script_ = Handle<Script>(*script_);
|
| context_ = Handle<Context>(*context_);
|
| @@ -186,7 +184,6 @@ class ParseInfo {
|
|
|
| // TODO(titzer): Move handles and isolate out of ParseInfo.
|
| Isolate* isolate_;
|
| - Handle<JSFunction> closure_;
|
| Handle<SharedFunctionInfo> shared_;
|
| Handle<Script> script_;
|
| Handle<Context> context_;
|
| @@ -202,8 +199,6 @@ class ParseInfo {
|
| void SetFlag(Flag f) { flags_ |= f; }
|
| void SetFlag(Flag f, bool v) { flags_ = v ? flags_ | f : flags_ & ~f; }
|
| bool GetFlag(Flag f) const { return (flags_ & f) != 0; }
|
| -
|
| - void set_closure(Handle<JSFunction> closure) { closure_ = closure; }
|
| };
|
|
|
| class FunctionEntry BASE_EMBEDDED {
|
|
|