mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-02 07:11:49 +00:00
remove dead function.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75143 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7675040979
commit
354b5ac161
@ -37,15 +37,6 @@ static cl::opt<bool> PrintVolatile("interpreter-print-volatile", cl::Hidden,
|
||||
// Various Helper Functions
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
static inline uint64_t doSignExtension(uint64_t Val, const IntegerType* ITy) {
|
||||
// Determine if the value is signed or not
|
||||
bool isSigned = (Val & (1 << (ITy->getBitWidth()-1))) != 0;
|
||||
// If its signed, extend the sign bits
|
||||
if (isSigned)
|
||||
Val |= ~ITy->getBitMask();
|
||||
return Val;
|
||||
}
|
||||
|
||||
static void SetValue(Value *V, GenericValue Val, ExecutionContext &SF) {
|
||||
SF.Values[V] = Val;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user