Index: src/interpreter/bytecode-generator.cc |
diff --git a/src/interpreter/bytecode-generator.cc b/src/interpreter/bytecode-generator.cc |
index 4ea895526b6b3e8d54908e3ebdc17719938f7293..619ed89a942807cd3d55f7c5bb450452ea5e2392 100644 |
--- a/src/interpreter/bytecode-generator.cc |
+++ b/src/interpreter/bytecode-generator.cc |
@@ -624,14 +624,6 @@ void BytecodeGenerator::MakeBytecodeBody() { |
UNIMPLEMENTED(); |
} |
- // Visit illegal re-declaration and bail out if it exists. |
- if (scope()->HasIllegalRedeclaration()) { |
- Expression* illegal = scope()->GetIllegalRedeclaration(); |
- builder()->SetExpressionAsStatementPosition(illegal); |
- VisitForEffect(illegal); |
- return; |
- } |
- |
// Visit declarations within the function scope. |
VisitDeclarations(scope()->declarations()); |