mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-17 05:29:24 +00:00
Fix -pedantic warning
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28634 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
08a9a985dc
commit
080e25d884
@ -291,8 +291,8 @@ template<> struct GraphTraits<const CallGraph*> :
|
||||
static IncludeFile
|
||||
CALLGRAPH_INCLUDE_FILE(&CallGraph::stub);
|
||||
|
||||
extern void BasicCallGraphStub();
|
||||
static IncludeFile HDR_INCLUDE_CALLGRAPH_CPP((void*)&BasicCallGraphStub);
|
||||
extern int BasicCallGraphStub;
|
||||
static IncludeFile HDR_INCLUDE_CALLGRAPH_CPP(&BasicCallGraphStub);
|
||||
|
||||
} // End llvm namespace
|
||||
|
||||
|
@ -19,7 +19,7 @@
|
||||
#include <iostream>
|
||||
using namespace llvm;
|
||||
|
||||
void llvm::BasicCallGraphStub() {}
|
||||
int llvm::BasicCallGraphStub;
|
||||
|
||||
static bool isOnlyADirectCall(Function *F, CallSite CS) {
|
||||
if (!CS.getInstruction()) return false;
|
||||
|
Loading…
Reference in New Issue
Block a user