aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Documentation
diff options
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2017-07-14 20:40:13 +0200
committerLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2017-09-17 09:47:14 +0200
commit6756731e9d22c831bc7ec2e96b1942d13d54ab84 (patch)
treedf04a88de4c31a6cfbcda3e803b447c57fd23b71 /Documentation
parent90859bb4e3f9ad11f76ad42e3dce84043bdc3176 (diff)
downloadsparse-dev-6756731e9d22c831bc7ec2e96b1942d13d54ab84.tar.gz
use a specific struct for asm operands
ASM operands have the following syntax: [<ident>] "<constraint>" '(' <expr> ')' For some reasons, during parsing this is stored as a sequence of 3 expressions. This has some serious disadvantages though: - <ident> has not the type of an expression - it complicates processing when compared to having a specific struct for it (need to loop & maintain some state). - <ident> is optional and stored as a null pointer when not present which is annoying, for example, if null pointers are used internally in ptr-lists to mark removed pointers. Fix this by using a specific structure to store the 3 elements of ASM operands. Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions