diff options
author | Chris Lattner <sabre@nondot.org> | 2009-07-09 16:57:49 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-07-09 16:57:49 +0000 |
commit | 354b5ac1610424a5fa56735425a43b8a475f5980 (patch) | |
tree | d474d9d6f0fb00c1bddbc0e3635fe11a6b30e819 /lib/ExecutionEngine/Interpreter | |
parent | 76750409798d16355cccdca8b41ba194925231d3 (diff) | |
download | external_llvm-354b5ac1610424a5fa56735425a43b8a475f5980.zip external_llvm-354b5ac1610424a5fa56735425a43b8a475f5980.tar.gz external_llvm-354b5ac1610424a5fa56735425a43b8a475f5980.tar.bz2 |
remove dead function.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75143 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ExecutionEngine/Interpreter')
-rw-r--r-- | lib/ExecutionEngine/Interpreter/Execution.cpp | 9 |
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; } |