mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-20 03:23:01 +02:00
Silence a compiler warning.
llvm-svn: 58598
This commit is contained in:
parent
3315ae6e08
commit
45516a94c1
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user