Index: src/full-codegen/mips/full-codegen-mips.cc |
diff --git a/src/full-codegen/mips/full-codegen-mips.cc b/src/full-codegen/mips/full-codegen-mips.cc |
index 0a3e5bbb2e4f3df1ad16517317cac17d4f13614c..9ffc29c370c6c64d92aaa8121b23b460efb5932c 100644 |
--- a/src/full-codegen/mips/full-codegen-mips.cc |
+++ b/src/full-codegen/mips/full-codegen-mips.cc |
@@ -339,7 +339,7 @@ void FullCodeGenerator::Generate() { |
// redeclaration. |
if (scope()->HasIllegalRedeclaration()) { |
Comment cmnt(masm_, "[ Declarations"); |
- scope()->VisitIllegalRedeclaration(this); |
+ VisitForEffect(scope()->GetIllegalRedeclaration()); |
} else { |
PrepareForBailoutForId(BailoutId::FunctionEntry(), NO_REGISTERS); |