OSDN Git Service

Disable load/store elimination. DO NOT MERGE
authorVladimir Marko <vmarko@google.com>
Mon, 18 Aug 2014 10:42:51 +0000 (11:42 +0100)
committerVladimir Marko <vmarko@google.com>
Mon, 18 Aug 2014 11:20:19 +0000 (12:20 +0100)
The optimization has several issues and it has been
effectively disabled by
    https://android-review.googlesource.com/103511
Disable it completely to avoid wasting compilation time.

Bug: 16862804
Change-Id: I42f69ae64170dc44f5fd6455b6a51c9bd3f93672

compiler/dex/frontend.cc

index c44a116..3caefa2 100644 (file)
@@ -42,7 +42,7 @@ extern "C" void ArtUnInitQuickCompilerContext(art::CompilerDriver* driver) {
 
 /* Default optimizer/debug setting for the compiler. */
 static uint32_t kCompilerOptimizerDisableFlags = 0 |  // Disable specific optimizations
-  // (1 << kLoadStoreElimination) |
+  (1 << kLoadStoreElimination) |
   // (1 << kLoadHoisting) |
   // (1 << kSuppressLoads) |
   // (1 << kNullCheckElimination) |