From c6c7a00e0bf1be7cf847a2c34cb15fb8e03ea7f6 Mon Sep 17 00:00:00 2001 From: Carol Eidt Date: Thu, 27 Jun 2019 11:35:14 -0700 Subject: [PATCH] Don't reload or spill for keepAliveThis (#25441) Fix #25433 --- src/jit/lsra.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/jit/lsra.cpp b/src/jit/lsra.cpp index c9e4e9c..ead71c9 100644 --- a/src/jit/lsra.cpp +++ b/src/jit/lsra.cpp @@ -5849,6 +5849,8 @@ void LinearScan::allocateRegisters() if (ref->RegOptional()) { ref->registerAssignment = RBM_NONE; + ref->reload = false; + ref->spillAfter = false; } switch (ref->refType) { -- 2.7.4