From 3c04974a90b0e03f4b509010bff49f0b2a3da57f Mon Sep 17 00:00:00 2001 From: Nicolas Geoffray Date: Wed, 24 Sep 2014 18:10:46 +0100 Subject: Optimize suspend checks in optimizing compiler. - Remove the ones added during graph build (they were added for the baseline code generator). - Emit them at loop back edges after phi moves, so that the test can directly jump to the loop header. - Fix x86 and x86_64 suspend check by using cmpw instead of cmpl. Change-Id: I6fad5795a55705d86c9e1cb85bf5d63dadfafa2a --- compiler/optimizing/register_allocator.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'compiler/optimizing/register_allocator.h') diff --git a/compiler/optimizing/register_allocator.h b/compiler/optimizing/register_allocator.h index 3c305c8f58..b97b6fc591 100644 --- a/compiler/optimizing/register_allocator.h +++ b/compiler/optimizing/register_allocator.h @@ -100,8 +100,6 @@ class RegisterAllocator { // Allocate a spill slot for the given interval. void AllocateSpillSlotFor(LiveInterval* interval); - void AllocateOneSpillSlot(LiveInterval* interval, size_t end); - void AllocateTwoSpillSlots(LiveInterval* interval, size_t end); // Connect adjacent siblings within blocks. void ConnectSiblings(LiveInterval* interval); -- cgit v1.2.3-59-g8ed1b