diff options
| author | 2025-11-15 19:53:47 +0100 | |
|---|---|---|
| committer | 2025-11-15 19:53:47 +0100 | |
| commit | 2ca9a54daaa0a955dabf38862cd777be359252e0 (patch) | |
| tree | 51a0e9470a5bbd4bbe0b1d00fc50da2dc9ad9d93 /ir/ir.h | |
| parent | 1910d875cfcad320cbb87c5e8c846d5c53846a1a (diff) | |
ir: 'trap' jump; c: __builtin_trap; lex: __has_builtin
Diffstat (limited to 'ir/ir.h')
| -rw-r--r-- | ir/ir.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -113,7 +113,7 @@ struct instr { union ref l, r; /* args */ }; -enum jumpkind { JXXX, Jb, Jret, }; +enum jumpkind { JXXX, Jb, Jret, Jtrap, }; struct block { int id; @@ -263,6 +263,7 @@ void useblk(struct function *, struct block *); void putbranch(struct function *, struct block *); void putcondbranch(struct function *, union ref arg, struct block *t, struct block *f); void putreturn(struct function *, union ref r0, union ref r1); +void puttrap(struct function *); /** fold.c **/ bool foldbinop(union ref *to, enum op, enum irclass, union ref l, union ref r); |