projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b90c37f
)
Silence a compiler warning.
author
Evan Cheng
<evan.cheng@apple.com>
Mon, 3 Nov 2008 07:14:02 +0000
(07:14 +0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Mon, 3 Nov 2008 07:14:02 +0000
(07:14 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58598
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/ExecutionEngine/JIT/JITEmitter.cpp
patch
|
blob
|
history
diff --git
a/lib/ExecutionEngine/JIT/JITEmitter.cpp
b/lib/ExecutionEngine/JIT/JITEmitter.cpp
index 9f020e3ae37f6ecb68dbca9e1900af047c363d07..747ac0894a554d18e02ed6ef2053b72aff4a905b 100644
(file)
--- a/
lib/ExecutionEngine/JIT/JITEmitter.cpp
+++ b/
lib/ExecutionEngine/JIT/JITEmitter.cpp
@@
-875,7
+875,7
@@
bool JITEmitter::finishFunction(MachineFunction &F) {
// Resolve the relocations to concrete pointers.
for (unsigned i = 0, e = Relocations.size(); i != e; ++i) {
MachineRelocation &MR = Relocations[i];
- void *ResultPtr;
+ void *ResultPtr
= 0
;
if (!MR.letTargetResolve()) {
if (MR.isString()) {
ResultPtr = TheJIT->getPointerToNamedFunction(MR.getString());