Temporarily disable optimization
There's a bug in the register allocation mechanism (type inference
again, grrr.). It mostly shows up with a compile-time check failure,
but can be silent. Until I get it sorted out, best to disable
optimization in ToT.
Change-Id: Ife8d770f78f26f64559d762f012bb07c93a7ad04
diff --git a/src/compiler/Frontend.cc b/src/compiler/Frontend.cc
index 11b2783..d0c92f6 100644
--- a/src/compiler/Frontend.cc
+++ b/src/compiler/Frontend.cc
@@ -23,12 +23,12 @@
/* Default optimizer/debug setting for the compiler. */
uint32_t compilerOptimizerDisableFlags = 0 | // Disable specific optimizations
- //(1 << kLoadStoreElimination) |
- //(1 << kLoadHoisting) |
- //(1 << kSuppressLoads) |
- //(1 << kNullCheckElimination) |
- //(1 << kPromoteRegs) |
- //(1 << kTrackLiveTemps) |
+ (1 << kLoadStoreElimination) |
+ (1 << kLoadHoisting) |
+ (1 << kSuppressLoads) |
+ (1 << kNullCheckElimination) |
+ (1 << kPromoteRegs) |
+ (1 << kTrackLiveTemps) |
0;
uint32_t compilerDebugFlags = 0 | // Enable debug/testing modes