Index: src/asmjs/asm-wasm-builder.cc |
diff --git a/src/asmjs/asm-wasm-builder.cc b/src/asmjs/asm-wasm-builder.cc |
index 338cef9d60c8fcb1e193cd68a4cc1a8eccf83529..885ba001d3c4bc48dc7e6e79f4fe32f5fb9aae01 100644 |
--- a/src/asmjs/asm-wasm-builder.cc |
+++ b/src/asmjs/asm-wasm-builder.cc |
@@ -443,7 +443,7 @@ class AsmWasmBuilderImpl final : public AstVisitor<AsmWasmBuilderImpl> { |
void VisitDebuggerStatement(DebuggerStatement* stmt) { UNREACHABLE(); } |
void VisitFunctionLiteral(FunctionLiteral* expr) { |
- Scope* scope = expr->scope(); |
+ DeclarationScope* scope = expr->scope(); |
if (scope_ == kFuncScope) { |
if (auto* func_type = typer_->TypeOf(expr)->AsFunctionType()) { |
// Build the signature for the function. |