diff options
| author | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2019-01-24 23:45:26 +0100 |
|---|---|---|
| committer | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2019-09-27 02:17:34 +0200 |
| commit | 4bee9b6dcb6dfcc2799d29ff7e5d42c6637b1f4d (patch) | |
| tree | 52b307ab84ffdfd5c99aace305b0927c073aaa93 /validation/linear | |
| parent | 46471e07907092f13f389869f617078285f61ae0 (diff) | |
| download | sparse-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/linear')
0 files changed, 0 insertions, 0 deletions
