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/codegen/CompilerCodegen.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/compiler/codegen/CompilerCodegen.h') diff --git a/src/compiler/codegen/CompilerCodegen.h b/src/compiler/codegen/CompilerCodegen.h index 58ab1d3b97..d2e5f0a631 100644 --- a/src/compiler/codegen/CompilerCodegen.h +++ b/src/compiler/codegen/CompilerCodegen.h @@ -27,6 +27,8 @@ void oatAssembleLIR(CompilationUnit* cUnit); /* Implemented in the codegen//ArchUtility.c */ void oatCodegenDump(CompilationUnit* cUnit); +void oatDumpPromotionMap(CompilationUnit* cUnit); +void oatDumpFullPromotionMap(CompilationUnit* cUnit); /* Implemented in codegen//Ralloc.c */ void oatSimpleRegAlloc(CompilationUnit* cUnit); -- cgit v1.2.3-59-g8ed1b