Index: src/typing-asm.h |
diff --git a/src/typing-asm.h b/src/typing-asm.h |
index 26ce65a6a8f6331d100de7df8be7d8016f4d6016..a6348c9f6ecee0fa1c20cf1023a8a5e7623e2225 100644 |
--- a/src/typing-asm.h |
+++ b/src/typing-asm.h |
@@ -27,6 +27,7 @@ class AsmTyper : public AstVisitor { |
DEFINE_AST_VISITOR_SUBCLASS_MEMBERS(); |
private: |
+ Zone* zone_; |
Script* script_; |
FunctionLiteral* root_; |
bool valid_; |
@@ -83,6 +84,8 @@ class AsmTyper : public AstVisitor { |
void VisitWithExpectation(Expression* expr, Type* expected_type, |
const char* msg); |
+ Zone* zone() const { return zone_; } |
+ |
#define DECLARE_VISIT(type) virtual void Visit##type(type* node) override; |
AST_NODE_LIST(DECLARE_VISIT) |
#undef DECLARE_VISIT |