mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
Now with less tabs!
llvm-svn: 43601
This commit is contained in:
parent
c125d9b4e8
commit
8eb7b6ed84
@ -73,17 +73,17 @@ namespace { // Anonymous namespace for class
|
||||
cl::desc("Reject code with undefined behaviour"));
|
||||
|
||||
struct VISIBILITY_HIDDEN PreVerifier : public FunctionPass {
|
||||
static char ID; // Pass ID, replacement for typeid
|
||||
static char ID; // Pass ID, replacement for typeid
|
||||
|
||||
PreVerifier() : FunctionPass((intptr_t)&ID) { }
|
||||
PreVerifier() : FunctionPass((intptr_t)&ID) { }
|
||||
|
||||
bool runOnFunction(Function &F) {
|
||||
bool runOnFunction(Function &F) {
|
||||
for (Function::iterator I = F.begin(), E = F.end(); I != E; ++I)
|
||||
assert(I->back().isTerminator()
|
||||
&& "Block does not end with a terminator?");
|
||||
|
||||
return false;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
};
|
||||
|
||||
char PreVerifier::ID = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user