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 e6bb7ed40fe3036282d9594ad0a6cada9cfad8a3..6795f516a46096e1cd03cceb1efdbefaa919dcc9 100644 |
--- a/src/full-codegen/x64/full-codegen-x64.cc |
+++ b/src/full-codegen/x64/full-codegen-x64.cc |
@@ -320,7 +320,7 @@ void FullCodeGenerator::Generate() { |
// redeclaration. |
if (scope()->HasIllegalRedeclaration()) { |
Comment cmnt(masm_, "[ Declarations"); |
- scope()->VisitIllegalRedeclaration(this); |
+ VisitForEffect(scope()->GetIllegalRedeclaration()); |
} else { |
PrepareForBailoutForId(BailoutId::FunctionEntry(), NO_REGISTERS); |