From ce30293d222c864fa281da98bc896dd1c98a9a16 Mon Sep 17 00:00:00 2001 From: buzbee Date: Tue, 4 Oct 2011 14:32:18 -0700 Subject: 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 --- src/compiler/codegen/Optimizer.h | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/compiler/codegen/Optimizer.h') 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; -- cgit v1.2.3-59-g8ed1b