diff options
| author | Chris Lattner <sabre@nondot.org> | 2006-01-25 19:58:26 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2006-01-25 19:58:26 +0000 |
| commit | 1d0b33afc3fde3236e1fc8167a67866df631640f (patch) | |
| tree | c22ea53080ec0de0299df0f77e56355337aa3818 | |
| parent | 8bbcda2fdace0a261f82b3bac2e5c82db6e29343 (diff) | |
| download | bcm5719-llvm-1d0b33afc3fde3236e1fc8167a67866df631640f.tar.gz bcm5719-llvm-1d0b33afc3fde3236e1fc8167a67866df631640f.zip | |
add some useful accessors :)
llvm-svn: 25612
| -rw-r--r-- | llvm/include/llvm/InlineAsm.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/include/llvm/InlineAsm.h b/llvm/include/llvm/InlineAsm.h index e56bdeffad9..b86c99ad303 100644 --- a/llvm/include/llvm/InlineAsm.h +++ b/llvm/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; |

