Index: test/cctest/asmjs/test-asm-typer.cc |
diff --git a/test/cctest/asmjs/test-asm-typer.cc b/test/cctest/asmjs/test-asm-typer.cc |
index dcb778533dcf5767bb7e205420fd51fe3526c82b..84063a05d0e5abcf205f99b00ca795dcd311e50c 100644 |
--- a/test/cctest/asmjs/test-asm-typer.cc |
+++ b/test/cctest/asmjs/test-asm-typer.cc |
@@ -278,10 +278,10 @@ class AsmTyperHarnessBuilder { |
auto* name_ast_string = ast_value_factory_.GetOneByteString(var_name.name_); |
return var_name.mode_ == DYNAMIC_GLOBAL |
? outer_scope_->DeclareDynamicGlobal(name_ast_string, |
- Variable::NORMAL) |
+ NORMAL_VARIABLE) |
: module_->scope()->DeclareLocal(name_ast_string, VAR, |
kCreatedInitialized, |
- Variable::NORMAL); |
+ NORMAL_VARIABLE); |
} |
bool ValidateAllStatements(FunctionDeclaration* fun_decl) { |