| Index: src/compiler.h
|
| diff --git a/src/compiler.h b/src/compiler.h
|
| index 26c0ac43c1b33d5ea25c942544cd3cbb882a0b86..291f659fe02809af3acaf7194ddb08da7e1a43f0 100644
|
| --- a/src/compiler.h
|
| +++ b/src/compiler.h
|
| @@ -45,6 +45,8 @@ class CompilationInfo BASE_EMBEDDED {
|
| CompilationInfo(Handle<SharedFunctionInfo> shared_info, Zone* zone);
|
| CompilationInfo(Handle<JSFunction> closure, Zone* zone);
|
|
|
| + ~CompilationInfo();
|
| +
|
| Isolate* isolate() {
|
| ASSERT(Isolate::Current() == isolate_);
|
| return isolate_;
|
| @@ -173,6 +175,12 @@ class CompilationInfo BASE_EMBEDDED {
|
| // current compilation pipeline.
|
| void AbortOptimization();
|
|
|
| + void StorePersistentExtensions(
|
| + HandleScopeImplementer::PersistentExtensions* extensions) {
|
| + ASSERT(!persistent_extensions_);
|
| + persistent_extensions_ = extensions;
|
| + }
|
| +
|
| private:
|
| Isolate* isolate_;
|
|
|
| @@ -259,6 +267,8 @@ class CompilationInfo BASE_EMBEDDED {
|
| // CompilationInfo allocates.
|
| Zone* zone_;
|
|
|
| + HandleScopeImplementer::PersistentExtensions* persistent_extensions_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(CompilationInfo);
|
| };
|
|
|
|
|