mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-25 16:24:23 +00:00
Fix test/Bindings/Ocaml/vmcore.ml. When IRBuilder::CreateMalloc was removed,
LLVMBuildMalloc was reimplemented but with the bug that it didn't insert the resulting instruction. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84374 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -992,12 +992,14 @@ public:
|
||||
/// constant 1.
|
||||
/// 2. Call malloc with that argument.
|
||||
/// 3. Bitcast the result of the malloc call to the specified type.
|
||||
static Value *CreateMalloc(Instruction *InsertBefore, const Type *IntPtrTy,
|
||||
const Type *AllocTy, Value *ArraySize = 0,
|
||||
const Twine &Name = "");
|
||||
static Value *CreateMalloc(BasicBlock *InsertAtEnd, const Type *IntPtrTy,
|
||||
const Type *AllocTy, Value *ArraySize = 0,
|
||||
Function* MallocF = 0, const Twine &Name = "");
|
||||
static Instruction *CreateMalloc(Instruction *InsertBefore,
|
||||
const Type *IntPtrTy, const Type *AllocTy,
|
||||
Value *ArraySize = 0,
|
||||
const Twine &Name = "");
|
||||
static Instruction *CreateMalloc(BasicBlock *InsertAtEnd,
|
||||
const Type *IntPtrTy, const Type *AllocTy,
|
||||
Value *ArraySize = 0, Function* MallocF = 0,
|
||||
const Twine &Name = "");
|
||||
|
||||
~CallInst();
|
||||
|
||||
|
Reference in New Issue
Block a user