Add missing file.

main
theraven 14 years ago
parent f2caea7f28
commit 469ce7521c

@ -1,4 +1,5 @@
#include "LLVMCompat.h" #include "LLVMCompat.h"
#include "llvm/Support/CallSite.h"
namespace llvm namespace llvm
{ {
class BasicBlock; class BasicBlock;
@ -32,7 +33,17 @@ namespace GNUstep
void CacheLookup(Instruction *lookup, Value *slot, Value *version, bool void CacheLookup(Instruction *lookup, Value *slot, Value *version, bool
isSuperMessage=false); isSuperMessage=false);
void SpeculativelyInline(Instruction *call, Function *function); void SpeculativelyInline(Instruction *call, Function *function);
/**
* Turns a call to objc_msgSend*() into a call to
* objc_msg_lookup_sender() and a call to the resulting IMP. The call to
* the IMP is returned. The single call is faster, but prevents caching.
* The split call allows caching, which is faster in the best case and
* slower in the worst...
*/
CallSite SplitSend(CallSite msgSend);
}; };
void removeTerminator(BasicBlock *BB); void removeTerminator(BasicBlock *BB);
void addPredecssor(BasicBlock *block, BasicBlock *oldPredecessor, BasicBlock
*newPredecessor);
} }

Loading…
Cancel
Save