diff options
| author | Chris Lattner <sabre@nondot.org> | 2001-07-07 19:24:15 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2001-07-07 19:24:15 +0000 |
| commit | b1ca9cbceb9968ac5e58522707e0c31395beb5b6 (patch) | |
| tree | d36633297446939118d8e9da554bf54f369f0ebd /llvm/lib/AsmParser | |
| parent | 48d80e18f983b8f97a715b540b47883f60069e8d (diff) | |
| download | bcm5719-llvm-b1ca9cbceb9968ac5e58522707e0c31395beb5b6.tar.gz bcm5719-llvm-b1ca9cbceb9968ac5e58522707e0c31395beb5b6.zip | |
Broad superficial changes:
* Renamed getOpcode to getOpcodeName
* Changed getOpcodeName to return a const char * instead of string
* Added a getOpcode method to replace getInstType
* Changed code to use getOpcode instead of getInstType
llvm-svn: 152
Diffstat (limited to 'llvm/lib/AsmParser')
| -rw-r--r-- | llvm/lib/AsmParser/ParserInternals.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/AsmParser/ParserInternals.h b/llvm/lib/AsmParser/ParserInternals.h index 3aa0e7c1442..bd26fdbaaf5 100644 --- a/llvm/lib/AsmParser/ParserInternals.h +++ b/llvm/lib/AsmParser/ParserInternals.h @@ -118,7 +118,7 @@ struct InstPlaceHolderHelper : public Instruction { InstPlaceHolderHelper(const Type *Ty) : Instruction(Ty, UserOp1, "") {} virtual Instruction *clone() const { abort(); } - virtual string getOpcode() const { return "placeholder"; } + virtual const char *getOpcodeName() const { return "placeholder"; } }; struct BBPlaceHolderHelper : public BasicBlock { |

