Index: src/full-codegen/full-codegen.cc |
diff --git a/src/full-codegen/full-codegen.cc b/src/full-codegen/full-codegen.cc |
index 9e14f74682304a44045995805e449fda6ee9ce20..4bb0b4d1b7d7e446bc1435cf4b919bc108d8da06 100644 |
--- a/src/full-codegen/full-codegen.cc |
+++ b/src/full-codegen/full-codegen.cc |
@@ -980,13 +980,6 @@ void FullCodeGenerator::EmitBreak(Statement* target) { |
__ jmp(current->AsBreakable()->break_label()); |
} |
-void FullCodeGenerator::EmitIllegalRedeclaration() { |
- Comment cmnt(masm_, "[ Declarations"); |
- Expression* illegal = scope()->GetIllegalRedeclaration(); |
- SetExpressionAsStatementPosition(illegal); |
- VisitForEffect(illegal); |
-} |
- |
void FullCodeGenerator::VisitBreakStatement(BreakStatement* stmt) { |
Comment cmnt(masm_, "[ BreakStatement"); |
SetStatementPosition(stmt); |