Index: src/parser.cc |
diff --git a/src/parser.cc b/src/parser.cc |
index 4371093e8669768686fd80418b886b35f6fa4494..a79d5ff3678d48472adb76d69833c051edc8b7ad 100644 |
--- a/src/parser.cc |
+++ b/src/parser.cc |
@@ -1585,16 +1585,7 @@ Block* Parser::ParseScopedBlock(ZoneStringList* labels, bool* ok) { |
block_scope = block_scope->FinalizeBlockScope(); |
body->set_block_scope(block_scope); |
- |
- if (block_scope != NULL) { |
- // Rewrite the block { B } to a block: { { B } ExitContext; } |
- Block* exit = new(zone()) Block(isolate(), NULL, 2, false); |
- exit->AddStatement(body); |
- exit->AddStatement(new(zone()) ExitContextStatement()); |
- return exit; |
- } else { |
- return body; |
- } |
+ return body; |
} |