From 5f8741860d465410bfed495dbb5f794590d338da Mon Sep 17 00:00:00 2001 From: Mark Mendell Date: Wed, 4 Mar 2015 15:42:45 -0500 Subject: [optimizing] Use callee-save registers for x86 Add ESI, EDI, EBP to available registers for non-baseline mode. Ensure that they aren't used when byte addressible registers are needed. Change-Id: Ie7130d4084c2ae9cfcd1e47c26eb3e5dcac1ebd6 Signed-off-by: Mark Mendell --- compiler/optimizing/code_generator.h | 1 + 1 file changed, 1 insertion(+) (limited to 'compiler/optimizing/code_generator.h') diff --git a/compiler/optimizing/code_generator.h b/compiler/optimizing/code_generator.h index f46a36d02f..5146afad8d 100644 --- a/compiler/optimizing/code_generator.h +++ b/compiler/optimizing/code_generator.h @@ -378,6 +378,7 @@ class CodeGenerator { void InitLocationsBaseline(HInstruction* instruction); size_t GetStackOffsetOfSavedRegister(size_t index); void CompileInternal(CodeAllocator* allocator, bool is_baseline); + void BlockIfInRegister(Location location, bool is_out = false) const; HGraph* const graph_; const CompilerOptions& compiler_options_; -- cgit v1.2.3-59-g8ed1b