Index: src/parser.h |
diff --git a/src/parser.h b/src/parser.h |
index 19ed18539a36e1ddd80efc55d7b8f7568de5756b..74f3944718f54b254d7b8aeebbcd3d39f34dbce7 100644 |
--- a/src/parser.h |
+++ b/src/parser.h |
@@ -352,6 +352,8 @@ class ParserTraits { |
// Used by FunctionState and BlockState. |
typedef v8::internal::Scope Scope; |
typedef v8::internal::Scope* ScopePtr; |
+ inline static Scope* ptr_to_scope(ScopePtr scope) { return scope; } |
+ |
typedef Variable GeneratorVariable; |
typedef v8::internal::Zone Zone; |