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