diff options
author | Victor Hernandez <vhernandez@apple.com> | 2009-11-06 01:33:24 +0000 |
---|---|---|
committer | Victor Hernandez <vhernandez@apple.com> | 2009-11-06 01:33:24 +0000 |
commit | df98761d08ae091420b7e9c1366de7684400fc36 (patch) | |
tree | 19dd0e96430169e3c197a4817e5e55f3d2ea277d /include/llvm/Instructions.h | |
parent | 465c3bed165dc76452606ea10a34ae2ef6033e8a (diff) | |
download | llvm-df98761d08ae091420b7e9c1366de7684400fc36.tar.gz llvm-df98761d08ae091420b7e9c1366de7684400fc36.tar.bz2 llvm-df98761d08ae091420b7e9c1366de7684400fc36.tar.xz |
Revert r86077 because it caused crashes in 179.art and 175.vpr on ARM
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86213 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Instructions.h')
-rw-r--r-- | include/llvm/Instructions.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/llvm/Instructions.h b/include/llvm/Instructions.h index 5b48e1a5d2..28854dfe03 100644 --- a/include/llvm/Instructions.h +++ b/include/llvm/Instructions.h @@ -899,12 +899,11 @@ public: /// 3. Bitcast the result of the malloc call to the specified type. static Instruction *CreateMalloc(Instruction *InsertBefore, const Type *IntPtrTy, const Type *AllocTy, - Value *AllocSize, Value *ArraySize = 0, + Value *ArraySize = 0, const Twine &Name = ""); static Instruction *CreateMalloc(BasicBlock *InsertAtEnd, const Type *IntPtrTy, const Type *AllocTy, - Value *AllocSize, Value *ArraySize = 0, - Function* MallocF = 0, + Value *ArraySize = 0, Function* MallocF = 0, const Twine &Name = ""); /// CreateFree - Generate the IR for a call to the builtin free function. static void CreateFree(Value* Source, Instruction *InsertBefore); |