Index: src/hydrogen.h |
diff --git a/src/hydrogen.h b/src/hydrogen.h |
index 5cb99a1a8d78d78c38c9a92a205f55af168735e1..00cd9be36aebe3097daae4635bd86abe9579b7cb 100644 |
--- a/src/hydrogen.h |
+++ b/src/hydrogen.h |
@@ -968,6 +968,7 @@ class HGraphBuilder { |
Zone* zone() const { return info_->zone(); } |
HGraph* graph() const { return graph_; } |
Isolate* isolate() const { return graph_->isolate(); } |
+ CompilationInfo* top_info() { return info_; } |
HGraph* CreateGraph(); |
@@ -1489,7 +1490,7 @@ class HOptimizedGraphBuilder: public HGraphBuilder, public AstVisitor { |
void set_ast_context(AstContext* context) { ast_context_ = context; } |
// Accessors forwarded to the function state. |
- CompilationInfo* info() const { |
+ CompilationInfo* current_info() const { |
return function_state()->compilation_info(); |
} |
AstContext* call_context() const { |