summaryrefslogtreecommitdiff
path: root/src/compiler/codegen/Optimizer.h
diff options
context:
space:
mode:
author buzbee <buzbee@google.com> 2011-10-04 14:32:18 -0700
committer buzbee <buzbee@google.com> 2011-10-05 09:22:57 -0700
commitce30293d222c864fa281da98bc896dd1c98a9a16 (patch)
treeb56c3a7f8be3349aa50c78675e6959e51344938d /src/compiler/codegen/Optimizer.h
parent20cde9033d51103f31e21436e88f80e1170c78ad (diff)
Compiler cleanup
o Added slow path for string resolution o Removed dead throw internal and runtime error o Restructured debug and optimization disable flags for make it easier for command-line option support. o Removed/converted #if 1/0 blocks Change-Id: I65fc561a55437b3f74d0dfff5af87f938008d70e
Diffstat (limited to 'src/compiler/codegen/Optimizer.h')
-rw-r--r--src/compiler/codegen/Optimizer.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/compiler/codegen/Optimizer.h b/src/compiler/codegen/Optimizer.h
index c946e93fb2..307d401ff2 100644
--- a/src/compiler/codegen/Optimizer.h
+++ b/src/compiler/codegen/Optimizer.h
@@ -22,16 +22,6 @@
#define STACK_ALIGN_WORDS 4
#define STACK_ALIGNMENT (STACK_ALIGN_WORDS * 4)
-/* Supress optimization if corresponding bit set */
-enum optControlVector {
- kLoadStoreElimination = 0,
- kLoadHoisting,
- kSuppressLoads,
- kNullCheckElimination,
- kPromoteRegs,
- kTrackLiveTemps,
-};
-
/* Forward declarations */
struct CompilationUnit;
struct LIR;