mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-15 07:39:31 +00:00
Jump through some silly hoops to make GCC accept that a function may not always
be called. llvm-svn: 107124
This commit is contained in:
parent
6349fa5ec4
commit
e9bf8c4ee8
@ -29,6 +29,7 @@
|
||||
#include "llvm/Target/TargetData.h"
|
||||
#include "llvm/ADT/SmallPtrSet.h"
|
||||
#include "llvm/ADT/SmallVector.h"
|
||||
#include "llvm/Support/Compiler.h"
|
||||
#include "llvm/Support/ErrorHandling.h"
|
||||
#include <algorithm>
|
||||
using namespace llvm;
|
||||
@ -207,6 +208,8 @@ static const Function *getParent(const Value *V) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
static bool sameParent(const Value *O1, const Value *O2) ATTRIBUTE_UNUSED;
|
||||
|
||||
static bool sameParent(const Value *O1, const Value *O2) {
|
||||
|
||||
const Function *F1 = getParent(O1);
|
||||
|
Loading…
Reference in New Issue
Block a user