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 2c1ab705a51d3fdd16a820320d146f4ca64f11e8..fe997aa9e084f3442ad047f755863cd4fc885695 100644 |
--- a/src/full-codegen/arm/full-codegen-arm.cc |
+++ b/src/full-codegen/arm/full-codegen-arm.cc |
@@ -296,9 +296,7 @@ void FullCodeGenerator::Generate() { |
// Visit the declarations and body unless there is an illegal |
// redeclaration. |
if (scope()->HasIllegalRedeclaration()) { |
- Comment cmnt(masm_, "[ Declarations"); |
- VisitForEffect(scope()->GetIllegalRedeclaration()); |
- |
+ EmitIllegalRedeclaration(); |
} else { |
PrepareForBailoutForId(BailoutId::FunctionEntry(), NO_REGISTERS); |
{ Comment cmnt(masm_, "[ Declarations"); |