Index: src/typing-asm.h |
diff --git a/src/typing-asm.h b/src/typing-asm.h |
index a80fec5fbabaa45b56c2f1f823a0b6665b020465..33734692a8ec3db116154b1a9a59444d4edf1550 100644 |
--- a/src/typing-asm.h |
+++ b/src/typing-asm.h |
@@ -65,7 +65,7 @@ class AsmTyper : public AstVisitor { |
void VisitDeclarations(ZoneList<Declaration*>* d) override; |
void VisitStatements(ZoneList<Statement*>* s) override; |
- void VisitExpressionAnnotation(Expression* e); |
+ void VisitExpressionAnnotation(Expression* e, bool is_return); |
void VisitFunctionAnnotation(FunctionLiteral* f); |
void VisitAsmModule(FunctionLiteral* f); |
@@ -84,6 +84,8 @@ class AsmTyper : public AstVisitor { |
void VisitWithExpectation(Expression* expr, Type* expected_type, |
const char* msg); |
+ void VisitLiteral(Literal* expr, bool is_return); |
+ |
void VisitIntegerBitwiseOperator(BinaryOperation* expr, Type* left_expected, |
Type* right_expected, Type* result_type, |
bool conversion); |