diff options
Diffstat (limited to 'include/llvm/iMemory.h')
-rw-r--r-- | include/llvm/iMemory.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/iMemory.h b/include/llvm/iMemory.h index fafe4c3..0ef3ee1 100644 --- a/include/llvm/iMemory.h +++ b/include/llvm/iMemory.h @@ -46,7 +46,7 @@ public: return new MallocInst(getType(), Operands.size() ? Operands[1] : 0); } - virtual string getOpcode() const { return "malloc"; } + virtual const char *getOpcodeName() const { return "malloc"; } }; class AllocaInst : public AllocationInst { @@ -58,7 +58,7 @@ public: return new AllocaInst(getType(), Operands.size() ? Operands[1] : 0); } - virtual string getOpcode() const { return "alloca"; } + virtual const char *getOpcodeName() const { return "alloca"; } }; @@ -75,7 +75,7 @@ public: virtual Instruction *clone() const { return new FreeInst(Operands[0]); } - virtual string getOpcode() const { return "free"; } + virtual const char *getOpcodeName() const { return "free"; } }; #endif // LLVM_IMEMORY_H |