1
0
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:
Owen Anderson 2007-11-01 03:54:23 +00:00
parent c125d9b4e8
commit 8eb7b6ed84

View File

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