mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-29 22:50:47 +00:00
Now with less tabs!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43601 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
df17df864f
commit
765d64501c
@ -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