mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-28 03:25:23 +00:00
Get rid of those pesky tabs...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19308 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -29,20 +29,20 @@
|
|||||||
extern "C" __declspec(dllimport) void* __stdcall GetCurrentProcess();
|
extern "C" __declspec(dllimport) void* __stdcall GetCurrentProcess();
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
struct ForceLinking {
|
struct ForceLinking {
|
||||||
ForceLinking() {
|
ForceLinking() {
|
||||||
// We must reference the passes in such a way that VC++ will not
|
// We must reference the passes in such a way that VC++ will not
|
||||||
// delete it all as dead code, even with whole program optimization,
|
// delete it all as dead code, even with whole program optimization,
|
||||||
// yet is effectively a NO-OP. As the compiler isn't smart enough
|
// yet is effectively a NO-OP. As the compiler isn't smart enough
|
||||||
// to know that GetCurrentProcess() never returns
|
// to know that GetCurrentProcess() never returns
|
||||||
// INVALID_HANDLE_VALUE, this will do the job.
|
// INVALID_HANDLE_VALUE, this will do the job.
|
||||||
if (GetCurrentProcess() != (void *) -1)
|
if (GetCurrentProcess() != (void *) -1)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
std::vector<llvm::BasicBlock*> bbv;
|
std::vector<llvm::BasicBlock*> bbv;
|
||||||
|
|
||||||
// The commented out calls below refer to non-existant creation
|
// The commented out calls below refer to non-existant creation
|
||||||
// functions. They will be uncommented as the functions are added.
|
// functions. They will be uncommented as the functions are added.
|
||||||
|
|
||||||
// (void) llvm::createADCEPass();
|
// (void) llvm::createADCEPass();
|
||||||
// (void) llvm::createArgPromotionPass();
|
// (void) llvm::createArgPromotionPass();
|
||||||
@@ -105,8 +105,8 @@ namespace {
|
|||||||
(void) llvm::createTailDuplicationPass();
|
(void) llvm::createTailDuplicationPass();
|
||||||
// (void) llvm::createTraceBasicBlocksPass();
|
// (void) llvm::createTraceBasicBlocksPass();
|
||||||
(void) llvm::createUnifyFunctionExitNodesPass();
|
(void) llvm::createUnifyFunctionExitNodesPass();
|
||||||
}
|
}
|
||||||
} X;
|
} X;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // LLVM_ON_WIN32
|
#endif // LLVM_ON_WIN32
|
||||||
|
Reference in New Issue
Block a user