Index: src/asmjs/asm-typer.h |
diff --git a/src/asmjs/asm-typer.h b/src/asmjs/asm-typer.h |
index 723731bcdd309c203ef5de69c93dd7a85ebb28a8..8ddcb34b0ff17d35bc2dc9fea7bb94da3c39acf6 100644 |
--- a/src/asmjs/asm-typer.h |
+++ b/src/asmjs/asm-typer.h |
@@ -86,6 +86,10 @@ class AsmTyper final { |
AsmType* TypeOf(Variable* v) const; |
StandardMember VariableAsStandardMember(Variable* var); |
+ // Allow the asm-wasm-builder to trigger failures (for interleaved |
+ // validating). |
+ AsmType* FailWithMessage(const char* text); |
+ |
typedef std::unordered_set<StandardMember, std::hash<int> > StdlibSet; |
StdlibSet StdlibUses() const { return stdlib_uses_; } |