Chromium Code Reviews| Index: src/parser.h |
| =================================================================== |
| --- src/parser.h (revision 10035) |
| +++ src/parser.h (working copy) |
| @@ -681,8 +681,9 @@ |
| // Factory methods. |
| Statement* EmptyStatement() { |
| - static v8::internal::EmptyStatement empty; |
| - return ∅ |
| + static v8::internal::EmptyStatement* empty = |
| + ::new v8::internal::EmptyStatement(); |
| + return empty; |
| } |
| Scope* NewScope(Scope* parent, ScopeType type); |