From 67bc236a207852d652f6ddeab0a90efc1bd111bb Mon Sep 17 00:00:00 2001 From: buzbee Date: Tue, 11 Oct 2011 18:08:40 -0700 Subject: Register promotion fix Restructured the type inference mechanism, added lots of DCHECKS, bumped the default memory allocation size to reflect AOT compilation and tweaked the bit vector manipulation routines to be better at handling large sparse vectors (something the old trace JIT didn't encounter enough to care). With this CL, optimization is back on by default. Should also see a significant boost in compilation speed (~2x better for boot.oat). Change-Id: Ifd134ef337be173a1be756bb9198b24c5b4936b3 --- src/compiler/Dataflow.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/compiler/Dataflow.h') diff --git a/src/compiler/Dataflow.h b/src/compiler/Dataflow.h index e4a37265be..1696e44f3b 100644 --- a/src/compiler/Dataflow.h +++ b/src/compiler/Dataflow.h @@ -47,6 +47,9 @@ typedef enum DataFlowAttributePos { kFPA, kFPB, kFPC, + kCoreA, + kCoreB, + kCoreC, kGetter, kSetter, } DataFlowAttributes; @@ -78,6 +81,9 @@ typedef enum DataFlowAttributePos { #define DF_FP_A (1 << kFPA) #define DF_FP_B (1 << kFPB) #define DF_FP_C (1 << kFPC) +#define DF_CORE_A (1 << kCoreA) +#define DF_CORE_B (1 << kCoreB) +#define DF_CORE_C (1 << kCoreC) #define DF_IS_GETTER (1 << kGetter) #define DF_IS_SETTER (1 << kSetter) -- cgit v1.2.3-59-g8ed1b