Compiler: LIR restructuring
Continuing restructuring of the compiler. In this installment,
all LIR reverences are moved from compiler_ir down to quick. Further,
all Portable data is moved to from compiler_ir down to portable.
In short, the great dumping ground of CompilationUnit has been
split into three smaller dumping grounds of MIRGraph, Codegen
and MIRConverter. From here, subsequent CLs will repartition
those smaller dumping grounds into (hopefully) more coherent classes.
As a result, most function signatures have been altered to remove
the passing around of a CompilationUnit* pointer.
Change-Id: I7195f7baecd81e87786a952e18bbce0b6ceeaac4
diff --git a/src/compiler/dex/frontend.h b/src/compiler/dex/frontend.h
index 874ee0b..2e62dc8 100644
--- a/src/compiler/dex/frontend.h
+++ b/src/compiler/dex/frontend.h
@@ -50,6 +50,7 @@
kBBOpt,
kMatch,
kPromoteCompilerTemps,
+ kBranchFusing,
};
// Force code generation paths for testing.
@@ -73,14 +74,6 @@
kDebugVerifyBitcode,
};
-enum OatMethodAttributes {
- kIsLeaf, // Method is leaf.
- kHasLoop, // Method contains simple loop.
-};
-
-#define METHOD_IS_LEAF (1 << kIsLeaf)
-#define METHOD_HAS_LOOP (1 << kHasLoop)
-
class LLVMInfo {
public:
LLVMInfo();