diff options
author | Josh Triplett <josh@freedesktop.org> | 2007-04-20 01:55:57 -0700 |
---|---|---|
committer | Josh Triplett <josh@freedesktop.org> | 2007-04-20 01:55:57 -0700 |
commit | 5ca722cb2092be289ddfb779420d7d0bc7914bf8 (patch) | |
tree | 6e2a8ecf62efafe4ffab7cac5e2bcf5b1658cea7 /linearize.h | |
parent | simplify.c: Declare delete_pseudo_user_list_entry static (diff) | |
download | sparse-5ca722cb2092be289ddfb779420d7d0bc7914bf8.tar.gz sparse-5ca722cb2092be289ddfb779420d7d0bc7914bf8.tar.bz2 sparse-5ca722cb2092be289ddfb779420d7d0bc7914bf8.zip |
linearize: DECLARE_ALLOCATOR for asm_constraint and asm_rules
Signed-off-by: Josh Triplett <josh@freedesktop.org>
Diffstat (limited to 'linearize.h')
-rw-r--r-- | linearize.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/linearize.h b/linearize.h index 8db8e82..7b2961b 100644 --- a/linearize.h +++ b/linearize.h @@ -55,6 +55,7 @@ struct asm_constraint { const struct ident *ident; }; +DECLARE_ALLOCATOR(asm_constraint); DECLARE_PTR_LIST(asm_constraint_list, struct asm_constraint); struct asm_rules { @@ -63,6 +64,8 @@ struct asm_rules { struct asm_constraint_list *clobbers; }; +DECLARE_ALLOCATOR(asm_rules); + struct instruction { unsigned opcode:8, size:24; |