summaryrefslogtreecommitdiff
path: root/src/jit/regalloc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/jit/regalloc.cpp')
-rw-r--r--src/jit/regalloc.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/jit/regalloc.cpp b/src/jit/regalloc.cpp
index cb712c6e77..faa03d2bef 100644
--- a/src/jit/regalloc.cpp
+++ b/src/jit/regalloc.cpp
@@ -3763,6 +3763,9 @@ HANDLE_SHIFT_COUNT:
//
rpRecordRegIntf(RBM_SHIFT, liveSet
DEBUGARG("Variable Shift Register"));
+ // In case op2Mask doesn't contain the required shift register,
+ // we will or it in now.
+ op2Mask |= RBM_SHIFT;
}
}