Index: src/full-codegen/x87/full-codegen-x87.cc |
diff --git a/src/full-codegen/x87/full-codegen-x87.cc b/src/full-codegen/x87/full-codegen-x87.cc |
index 664f1d4b842d44de9e09ea52e3e0044efc2e67b8..95687058acc935fca51ae61309f15367297c9e15 100644 |
--- a/src/full-codegen/x87/full-codegen-x87.cc |
+++ b/src/full-codegen/x87/full-codegen-x87.cc |
@@ -288,9 +288,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"); |