mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-06 20:32:19 +00:00
remove blob of #if'd out code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45512 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e9d666e7fb
commit
f897b7d305
@ -306,43 +306,6 @@ void CallInst::init(Value *Func) {
|
|||||||
assert(FTy->getNumParams() == 0 && "Calling a function with bad signature");
|
assert(FTy->getNumParams() == 0 && "Calling a function with bad signature");
|
||||||
}
|
}
|
||||||
|
|
||||||
#if 0
|
|
||||||
// Leave for llvm-gcc
|
|
||||||
CallInst::CallInst(Value *Func, Value* const *Args, unsigned NumArgs,
|
|
||||||
const std::string &Name, BasicBlock *InsertAtEnd)
|
|
||||||
: Instruction(cast<FunctionType>(cast<PointerType>(Func->getType())
|
|
||||||
->getElementType())->getReturnType(),
|
|
||||||
Instruction::Call, 0, 0, InsertAtEnd) {
|
|
||||||
init(Func, Args, NumArgs);
|
|
||||||
setName(Name);
|
|
||||||
}
|
|
||||||
CallInst::CallInst(Value *Func, Value* const *Args, unsigned NumArgs,
|
|
||||||
const std::string &Name, Instruction *InsertBefore)
|
|
||||||
: Instruction(cast<FunctionType>(cast<PointerType>(Func->getType())
|
|
||||||
->getElementType())->getReturnType(),
|
|
||||||
Instruction::Call, 0, 0, InsertBefore) {
|
|
||||||
init(Func, Args, NumArgs);
|
|
||||||
setName(Name);
|
|
||||||
}
|
|
||||||
|
|
||||||
CallInst::CallInst(Value *Func, Value *Actual1, Value *Actual2,
|
|
||||||
const std::string &Name, Instruction *InsertBefore)
|
|
||||||
: Instruction(cast<FunctionType>(cast<PointerType>(Func->getType())
|
|
||||||
->getElementType())->getReturnType(),
|
|
||||||
Instruction::Call, 0, 0, InsertBefore) {
|
|
||||||
init(Func, Actual1, Actual2);
|
|
||||||
setName(Name);
|
|
||||||
}
|
|
||||||
|
|
||||||
CallInst::CallInst(Value *Func, Value *Actual1, Value *Actual2,
|
|
||||||
const std::string &Name, BasicBlock *InsertAtEnd)
|
|
||||||
: Instruction(cast<FunctionType>(cast<PointerType>(Func->getType())
|
|
||||||
->getElementType())->getReturnType(),
|
|
||||||
Instruction::Call, 0, 0, InsertAtEnd) {
|
|
||||||
init(Func, Actual1, Actual2);
|
|
||||||
setName(Name);
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
CallInst::CallInst(Value *Func, Value* Actual, const std::string &Name,
|
CallInst::CallInst(Value *Func, Value* Actual, const std::string &Name,
|
||||||
Instruction *InsertBefore)
|
Instruction *InsertBefore)
|
||||||
: Instruction(cast<FunctionType>(cast<PointerType>(Func->getType())
|
: Instruction(cast<FunctionType>(cast<PointerType>(Func->getType())
|
||||||
|
Loading…
Reference in New Issue
Block a user