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