| Index: src/full-codegen/full-codegen.cc | 
| diff --git a/src/full-codegen/full-codegen.cc b/src/full-codegen/full-codegen.cc | 
| index a8380330271805e71c4f07f502999cbf05f2e5e0..aa1d3ea698c287fa62faf8ab93e14d5bc19d0c64 100644 | 
| --- a/src/full-codegen/full-codegen.cc | 
| +++ b/src/full-codegen/full-codegen.cc | 
| @@ -1913,7 +1913,7 @@ bool FullCodeGenerator::NeedsHoleCheckForLoad(VariableProxy* proxy) { | 
| //   switch (1) { case 0: let x = 2; case 1: f(x); } | 
| // The scope of the variable needs to be checked, in case the use is | 
| // in a sub-block which may be linear. | 
| -  if (var->scope()->DeclarationScope() != scope()->DeclarationScope()) { | 
| +  if (var->scope()->GetDeclarationScope() != scope()->GetDeclarationScope()) { | 
| return true; | 
| } | 
|  | 
|  |