summaryrefslogtreecommitdiff
path: root/src/compiler/CompilerIR.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/CompilerIR.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/CompilerIR.h')
-rw-r--r--src/compiler/CompilerIR.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/compiler/CompilerIR.h b/src/compiler/CompilerIR.h
index 2d4f83e93d..14af69d3d6 100644
--- a/src/compiler/CompilerIR.h
+++ b/src/compiler/CompilerIR.h
@@ -192,7 +192,8 @@ typedef struct CompilationUnit {
LIR* classPointerList; // Relocatable
int numClassPointers;
LIR* chainCellOffsetLIR;
- int disableOpt;
+ uint32_t disableOpt; // optControlVector flags
+ uint32_t enableDebug; // debugControlVector flags
int headerSize; // bytes before the first code ptr
int dataOffset; // starting offset of literal pool
int totalSize; // header + code size
@@ -203,8 +204,6 @@ typedef struct CompilationUnit {
std::vector<uint32_t> coreVmapTable;
std::vector<short> fpVmapTable;
bool printMe;
- bool printMeVerbose;
- bool dumpCFG;
bool hasClassLiterals; // Contains class ptrs used as literals
bool hasLoop; // Contains a loop
bool hasInvoke; // Contains an invoke instruction