Index: src/compiler.h |
diff --git a/src/compiler.h b/src/compiler.h |
index f63475cfa96a780bf2c590f9b63de6d3f58f71a3..e4ade7b97a04eed0248126a084810854e39935f2 100644 |
--- a/src/compiler.h |
+++ b/src/compiler.h |
@@ -175,6 +175,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()); |
@@ -403,6 +406,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_; |