Chromium Code Reviews| Index: src/parser.cc |
| diff --git a/src/parser.cc b/src/parser.cc |
| index 301bda94c4011987aff1a704a5f2e6f84d79c137..aeb9a3de0589439060bf134d21ec5831819021a6 100644 |
| --- a/src/parser.cc |
| +++ b/src/parser.cc |
| @@ -4110,7 +4110,7 @@ FunctionLiteral* Parser::ParseFunctionLiteral( |
| &expected_property_count, /*CHECK_OK*/ ok, |
| maybe_bookmark); |
| - if (bookmark.HasBeenReset()) { |
| + if (maybe_bookmark && maybe_bookmark->HasBeenReset()) { |
| // Trigger eager (re-)parsing, just below this block. |
| is_lazily_parsed = false; |