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