projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
863517a
)
add some useful accessors :)
author
Chris Lattner
<sabre@nondot.org>
Wed, 25 Jan 2006 19:58:26 +0000
(19:58 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Wed, 25 Jan 2006 19:58:26 +0000
(19:58 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25612
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/InlineAsm.h
patch
|
blob
|
history
diff --git
a/include/llvm/InlineAsm.h
b/include/llvm/InlineAsm.h
index e56bdeffad9529bc993ab019ee717b9085ec7987..b86c99ad303cb1728de4c7a8c9050c20c1f1dda2 100644
(file)
--- a/
include/llvm/InlineAsm.h
+++ b/
include/llvm/InlineAsm.h
@@
-52,6
+52,9
@@
public:
/// getFunctionType - InlineAsm's are always pointers to functions.
///
const FunctionType *getFunctionType() const;
+
+ const std::string &getAsmString() const { return AsmString; }
+ const std::string &getConstraintString() const { return Constraints; }
virtual void print(std::ostream &O) const { print(O, 0); }
void print(std::ostream &OS, AssemblyAnnotationWriter *AAW) const;