Index: src/full-codegen/x64/full-codegen-x64.cc |
diff --git a/src/full-codegen/x64/full-codegen-x64.cc b/src/full-codegen/x64/full-codegen-x64.cc |
index c920fab2c5cff6a3e359b113f17c5b44a6ee602b..483b21b0a92f5197b05528d3f5a109bfa889fe39 100644 |
--- a/src/full-codegen/x64/full-codegen-x64.cc |
+++ b/src/full-codegen/x64/full-codegen-x64.cc |
@@ -287,9 +287,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"); |