1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00

Get rid of those pesky tabs...

llvm-svn: 19308
This commit is contained in:
Jeff Cohen 2005-01-06 06:06:35 +00:00
parent dfe5e3b330
commit b5bd66d55c

View File

@ -29,20 +29,20 @@
extern "C" __declspec(dllimport) void* __stdcall GetCurrentProcess();
namespace {
struct ForceLinking {
ForceLinking() {
// We must reference the passes in such a way that VC++ will not
// delete it all as dead code, even with whole program optimization,
// yet is effectively a NO-OP. As the compiler isn't smart enough
// to know that GetCurrentProcess() never returns
// INVALID_HANDLE_VALUE, this will do the job.
if (GetCurrentProcess() != (void *) -1)
return;
struct ForceLinking {
ForceLinking() {
// We must reference the passes in such a way that VC++ will not
// delete it all as dead code, even with whole program optimization,
// yet is effectively a NO-OP. As the compiler isn't smart enough
// to know that GetCurrentProcess() never returns
// INVALID_HANDLE_VALUE, this will do the job.
if (GetCurrentProcess() != (void *) -1)
return;
std::vector<llvm::BasicBlock*> bbv;
std::vector<llvm::BasicBlock*> bbv;
// The commented out calls below refer to non-existant creation
// functions. They will be uncommented as the functions are added.
// The commented out calls below refer to non-existant creation
// functions. They will be uncommented as the functions are added.
// (void) llvm::createADCEPass();
// (void) llvm::createArgPromotionPass();
@ -105,8 +105,8 @@ namespace {
(void) llvm::createTailDuplicationPass();
// (void) llvm::createTraceBasicBlocksPass();
(void) llvm::createUnifyFunctionExitNodesPass();
}
} X;
}
} X;
};
#endif // LLVM_ON_WIN32