1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 19:42:54 +02:00

Silence a compiler warning.

llvm-svn: 58598
This commit is contained in:
Evan Cheng 2008-11-03 07:14:02 +00:00
parent 3315ae6e08
commit 45516a94c1

View File

@ -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());