From bea75ff0835324076fed6ff5d443b9e02c65d223 Mon Sep 17 00:00:00 2001 From: Vladimir Marko Date: Wed, 11 Oct 2017 20:39:54 +0100 Subject: Fix using LiveIntervals beyond their lifetime. Fixes a bug introduced by https://android-review.googlesource.com/504041 Test: test-art-host-gtest Test: testrunner.py --host --optimizing Bug: 64312607 Change-Id: I7fd2d55c2a657f736eaed7c94c41d1237ae2ec0b --- compiler/optimizing/code_generator.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'compiler/optimizing/code_generator.h') diff --git a/compiler/optimizing/code_generator.h b/compiler/optimizing/code_generator.h index 2c3cf262b1..2904b71991 100644 --- a/compiler/optimizing/code_generator.h +++ b/compiler/optimizing/code_generator.h @@ -380,7 +380,8 @@ class CodeGenerator : public DeletableArenaObject { // for the suspend check at the back edge (instead of where the suspend check // is, which is the loop entry). At this point, the spill slots for the phis // have not been written to. - void ClearSpillSlotsFromLoopPhisInStackMap(HSuspendCheck* suspend_check) const; + void ClearSpillSlotsFromLoopPhisInStackMap(HSuspendCheck* suspend_check, + HParallelMove* spills) const; bool* GetBlockedCoreRegisters() const { return blocked_core_registers_; } bool* GetBlockedFloatingPointRegisters() const { return blocked_fpu_registers_; } -- cgit v1.2.3-59-g8ed1b