aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2004-12-05 10:20:06 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-07 21:05:30 -0700
commit5f339344f6d821551cda54853e3433726957e9fb (patch)
treeb09b15519bcc2222c43cd5fcedd6bee1d15e008e /parse.h
parentYet another missed "entry" change point. (diff)
downloadsparse-5f339344f6d821551cda54853e3433726957e9fb.tar.gz
sparse-5f339344f6d821551cda54853e3433726957e9fb.tar.bz2
sparse-5f339344f6d821551cda54853e3433726957e9fb.zip
Save away (most) of the asm information when parsing inline assembly.
The named parameter thing is still unsupported. And the format we save things into is for simple saving rather than real usability.
Diffstat (limited to 'parse.h')
-rw-r--r--parse.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/parse.h b/parse.h
index 6fe25f5..e37825b 100644
--- a/parse.h
+++ b/parse.h
@@ -92,6 +92,12 @@ struct statement {
struct expression *multi_to;
struct symbol *multi_target;
};
+ struct /* asm */ {
+ struct expression *asm_string;
+ struct expression_list *asm_outputs;
+ struct expression_list *asm_inputs;
+ struct expression_list *asm_clobbers;
+ };
};
};