Index: src/asmjs/asm-wasm-builder.cc |
diff --git a/src/asmjs/asm-wasm-builder.cc b/src/asmjs/asm-wasm-builder.cc |
index 9ac748bdd0f4b553327ecbe0c32855372b45cc68..db9fe69a7d5aedb354cdf0c1e0675d75fd622634 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. |