Index: src/typing-asm.h |
diff --git a/src/typing-asm.h b/src/typing-asm.h |
index a80fec5fbabaa45b56c2f1f823a0b6665b020465..5f7a929a1e5bf99e7c8c1d4136ceb3a97e738d49 100644 |
--- a/src/typing-asm.h |
+++ b/src/typing-asm.h |
@@ -65,13 +65,14 @@ 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); |
void VisitHeapAccess(Property* expr); |
int ElementShiftSize(Type* type); |
+ Type* StorageType(Type* type); |
void SetType(Variable* variable, Type* type); |
Type* GetType(Variable* variable); |
@@ -84,6 +85,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); |