Chromium Code Reviews| Index: src/parser.h |
| diff --git a/src/parser.h b/src/parser.h |
| index 1436bf9066c5d50b11c91ec44d1481fd0434d2a4..5e2c27a90fb8739f6f12c9cbf3e790cb178782c0 100644 |
| --- a/src/parser.h |
| +++ b/src/parser.h |
| @@ -681,8 +681,9 @@ class Parser { |
| // 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); |