| Index: src/crankshaft/s390/lithium-codegen-s390.cc
|
| diff --git a/src/crankshaft/s390/lithium-codegen-s390.cc b/src/crankshaft/s390/lithium-codegen-s390.cc
|
| index e9fc3118c52b0c879744e428e9aad972cf42fa92..b7c112bb84afc65523e2c5343e26a5b44feb7a82 100644
|
| --- a/src/crankshaft/s390/lithium-codegen-s390.cc
|
| +++ b/src/crankshaft/s390/lithium-codegen-s390.cc
|
| @@ -4229,7 +4229,8 @@ void LCodeGen::DoStoreKeyedFixedArray(LStoreKeyed* instr) {
|
| if (hinstr->key()->representation().IsSmi()) {
|
| __ SmiToPtrArrayOffset(scratch, key);
|
| } else {
|
| - if (instr->hydrogen()->IsDehoisted()) {
|
| + if (instr->hydrogen()->IsDehoisted() ||
|
| + !CpuFeatures::IsSupported(GENERAL_INSTR_EXT)) {
|
| #if V8_TARGET_ARCH_S390X
|
| // If array access is dehoisted, the key, being an int32, can contain
|
| // a negative value, as needs to be sign-extended to 64-bit for
|
|
|