aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-07-09 16:57:49 +0000
committerChris Lattner <sabre@nondot.org>2009-07-09 16:57:49 +0000
commit900ab73496d598b18b2221b28348e17f7295ea69 (patch)
treed474d9d6f0fb00c1bddbc0e3635fe11a6b30e819
parent6ff96fc611ee568cc6960c489dc0f07fe377b5fb (diff)
downloadexternal_llvm-900ab73496d598b18b2221b28348e17f7295ea69.zip
external_llvm-900ab73496d598b18b2221b28348e17f7295ea69.tar.gz
external_llvm-900ab73496d598b18b2221b28348e17f7295ea69.tar.bz2
remove dead function.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75143 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/ExecutionEngine/Interpreter/Execution.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/ExecutionEngine/Interpreter/Execution.cpp b/lib/ExecutionEngine/Interpreter/Execution.cpp
index bb3f64e..5ac333f 100644
--- a/lib/ExecutionEngine/Interpreter/Execution.cpp
+++ b/lib/ExecutionEngine/Interpreter/Execution.cpp
@@ -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;
}