aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation
diff options
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2019-01-24 23:45:26 +0100
committerLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2019-09-27 02:17:34 +0200
commit4bee9b6dcb6dfcc2799d29ff7e5d42c6637b1f4d (patch)
tree52b307ab84ffdfd5c99aace305b0927c073aaa93 /validation
parent46471e07907092f13f389869f617078285f61ae0 (diff)
downloadsparse-dev-4bee9b6dcb6dfcc2799d29ff7e5d42c6637b1f4d.tar.gz
asm: use parse_asm_constraint() to verify constraints
In extended ASM statements, output constraints need to be prefixed with "=" or "+" and input constraints must not. This is checked in verify_{output,input}_constraint() where the constraint string is analyzed to look after these two chars. However, the needed information is now already available thanks to parse_asm_constraint(). So, use the result of the parsing of the constraint strings to avoid to analyze again these strings during their verification. Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'validation')
0 files changed, 0 insertions, 0 deletions