Index: src/compiler.h |
diff --git a/src/compiler.h b/src/compiler.h |
index f7ff09c57d74e7678c4873e347d5baa17b77ba7d..d6716ff9f9909e54d6f59ccf95880b484a63fea8 100644 |
--- a/src/compiler.h |
+++ b/src/compiler.h |
@@ -181,6 +181,9 @@ class CompilationInfo { |
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()); |
@@ -409,6 +412,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_; |