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 d345774dbf0efa5a856d20863f1ccce99a52f11f..76da59194aa08251aab16afba0a0e237de9cce89 100644 |
--- a/test/cctest/asmjs/test-asm-typer.cc |
+++ b/test/cctest/asmjs/test-asm-typer.cc |
@@ -126,7 +126,7 @@ class AsmTyperHarnessBuilder { |
WithGlobal(var_name, type); |
auto* var_info = typer_->Lookup(DeclareVariable(var_name)); |
CHECK(var_info); |
- var_info->FirstForwardUseIs(nullptr); |
+ var_info->SetFirstForwardUse(-1); |
return this; |
} |