diff options
Diffstat (limited to 'src/compiler/Frontend.cc')
| -rw-r--r-- | src/compiler/Frontend.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/compiler/Frontend.cc b/src/compiler/Frontend.cc index e1b2c608bb..8ffcc72590 100644 --- a/src/compiler/Frontend.cc +++ b/src/compiler/Frontend.cc @@ -34,6 +34,7 @@ uint32_t compilerOptimizerDisableFlags = 0 | // Disable specific optimizations //(1 << kTrackLiveTemps) | //(1 << kSkipLargeMethodOptimization) | //(1 << kSafeOptimizations) | + (1 << kBBOpt) | 0; uint32_t compilerDebugFlags = 0 | // Enable debug/testing modes @@ -970,6 +971,11 @@ CompiledMethod* oatCompileMethod(Compiler& compiler, /* Perform null check elimination */ oatMethodNullCheckElimination(cUnit.get()); +#if 0 + /* Do some basic block optimizations */ + oatMethodBasicBlockOptimization(cUnit.get()); +#endif + oatInitializeRegAlloc(cUnit.get()); // Needs to happen after SSA naming /* Allocate Registers using simple local allocation scheme */ |