Index: src/asmjs/asm-typer.cc |
diff --git a/src/asmjs/asm-typer.cc b/src/asmjs/asm-typer.cc |
index 2389551872a8b5e5f63e0da907b1a4aeff1e3f86..300eeeda5354e737b200d2419e7eb31ed86c3db0 100644 |
--- a/src/asmjs/asm-typer.cc |
+++ b/src/asmjs/asm-typer.cc |
@@ -569,6 +569,8 @@ bool AsmTyper::ValidateAfterFunctionsPhase() { |
void AsmTyper::ClearFunctionNodeTypes() { function_node_types_.clear(); } |
+AsmType* AsmTyper::TriggerParsingError() { FAIL(root_, "Parsing error"); } |
+ |
namespace { |
bool IsUseAsmDirective(Statement* first_statement) { |
ExpressionStatement* use_asm = first_statement->AsExpressionStatement(); |