| Index: src/compiler.h
|
| diff --git a/src/compiler.h b/src/compiler.h
|
| index 707fa44ffc7abbf7ed3597689c21448bed9361ea..821aaf851060b76eaf8d032f59b43bb48e3a6974 100644
|
| --- a/src/compiler.h
|
| +++ b/src/compiler.h
|
| @@ -178,12 +178,14 @@ class CompilationInfo {
|
| ASSERT(function_ == NULL);
|
| function_ = literal;
|
| }
|
| - // When the scope is applied, we may have deferred work to do on the function.
|
| void PrepareForCompilation(Scope* scope);
|
| void SetGlobalScope(Scope* global_scope) {
|
| ASSERT(global_scope_ == NULL);
|
| global_scope_ = global_scope;
|
| }
|
| + Handle<FixedArray> feedback_vector() const {
|
| + return feedback_vector_;
|
| + }
|
| void SetCode(Handle<Code> code) { code_ = code; }
|
| void SetExtension(v8::Extension* extension) {
|
| ASSERT(!is_lazy());
|
| @@ -419,6 +421,9 @@ class CompilationInfo {
|
| // global script. Will be a null handle otherwise.
|
| Handle<Context> context_;
|
|
|
| + // Used by codegen, ultimately kept rooted by the SharedFunctionInfo.
|
| + Handle<FixedArray> feedback_vector_;
|
| +
|
| // Compilation mode flag and whether deoptimization is allowed.
|
| Mode mode_;
|
| BailoutId osr_ast_id_;
|
|
|