mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
Silence a compiler warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58598 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b90c37f64c
commit
9200605cd5
@ -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