| Index: src/parser.cc
|
| ===================================================================
|
| --- src/parser.cc (revision 2982)
|
| +++ src/parser.cc (working copy)
|
| @@ -1196,7 +1196,6 @@
|
| bool Parser::PreParseProgram(Handle<String> source,
|
| unibrow::CharacterStream* stream) {
|
| HistogramTimerScope timer(&Counters::pre_parse);
|
| - StackGuard guard;
|
| AssertNoZoneAllocation assert_no_zone_allocation;
|
| AssertNoAllocation assert_no_allocation;
|
| NoHandleAllocation no_handle_allocation;
|
| @@ -4840,8 +4839,6 @@
|
| bool multiline,
|
| RegExpCompileData* result) {
|
| ASSERT(result != NULL);
|
| - // Make sure we have a stack guard.
|
| - StackGuard guard;
|
| RegExpParser parser(input, &result->error, multiline);
|
| RegExpTree* tree = parser.ParsePattern();
|
| if (parser.failed()) {
|
|
|