Index: src/full-codegen/full-codegen.cc |
diff --git a/src/full-codegen/full-codegen.cc b/src/full-codegen/full-codegen.cc |
index 34ed5e8fac12503c4f4b4f6a2fe9cf5463a7e01a..6a583a2ccd667e3bf98a1858ca67a0fd2051ec9c 100644 |
--- a/src/full-codegen/full-codegen.cc |
+++ b/src/full-codegen/full-codegen.cc |
@@ -1918,7 +1918,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; |
} |