Index: src/compiler/ast-graph-builder.h |
diff --git a/src/compiler/ast-graph-builder.h b/src/compiler/ast-graph-builder.h |
index 6a7e3db90e09c2871c245825411598ac4169a9b4..1037556639493fb95fa3a3e98fbfafa919141e84 100644 |
--- a/src/compiler/ast-graph-builder.h |
+++ b/src/compiler/ast-graph-builder.h |
@@ -129,8 +129,8 @@ class AstGraphBuilder : public StructuredGraphBuilder, public AstVisitor { |
SetOncePointer<Node> function_closure_; |
SetOncePointer<Node> function_context_; |
- CompilationInfo* info() { return info_; } |
- StrictMode strict_mode() { return info()->strict_mode(); } |
+ CompilationInfo* info() const { return info_; } |
+ inline StrictMode strict_mode() const; |
JSGraph* jsgraph() { return jsgraph_; } |
JSOperatorBuilder* javascript() { return jsgraph_->javascript(); } |
ZoneList<Handle<Object> >* globals() { return &globals_; } |