summaryrefslogtreecommitdiff
path: root/src/ir.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ir.h')
-rw-r--r--src/ir.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ir.h b/src/ir.h
index 521a250f..0a38087e 100644
--- a/src/ir.h
+++ b/src/ir.h
@@ -203,17 +203,17 @@ enum class ExprType {
const char* GetExprTypeName(ExprType type);
-typedef TypeVector BlockSignature;
-
class Expr;
typedef intrusive_list<Expr> ExprList;
+typedef FuncDeclaration BlockDeclaration;
+
struct Block {
Block() = default;
explicit Block(ExprList exprs) : exprs(std::move(exprs)) {}
std::string label;
- BlockSignature sig;
+ BlockDeclaration decl;
ExprList exprs;
Location end_loc;
};