Index: src/asmjs/asm-typer.cc |
diff --git a/src/asmjs/asm-typer.cc b/src/asmjs/asm-typer.cc |
index 80f296052f16279531c4b42b67820cd3e12241db..999668fcdb50b17ee581580f7c99edd7f3347187 100644 |
--- a/src/asmjs/asm-typer.cc |
+++ b/src/asmjs/asm-typer.cc |
@@ -551,7 +551,7 @@ class SourceLayoutTracker { |
AsmType* AsmTyper::ValidateModule(FunctionLiteral* fun) { |
SourceLayoutTracker source_layout; |
- Scope* scope = fun->scope(); |
+ DeclarationScope* scope = fun->scope(); |
if (!scope->is_function_scope()) FAIL(fun, "Not at function scope."); |
if (!ValidAsmIdentifier(fun->name())) |
FAIL(fun, "Invalid asm.js identifier in module name."); |