1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00

Fix -pedantic warning

llvm-svn: 28634
This commit is contained in:
Chris Lattner 2006-06-01 17:17:46 +00:00
parent 1d2618c6c7
commit 3d631893f9
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

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