| Index: src/regexp/s390/regexp-macro-assembler-s390.cc
|
| diff --git a/src/regexp/s390/regexp-macro-assembler-s390.cc b/src/regexp/s390/regexp-macro-assembler-s390.cc
|
| index 93bb7029ab02b5020df457f8e00ff7c11ed2fb41..e5fd90f53fcc990c6d85313af17c1daddfacbb2f 100644
|
| --- a/src/regexp/s390/regexp-macro-assembler-s390.cc
|
| +++ b/src/regexp/s390/regexp-macro-assembler-s390.cc
|
| @@ -1226,13 +1226,9 @@ void RegExpMacroAssemblerS390::CallCFunctionUsingStub(
|
| __ mov(code_pointer(), Operand(masm_->CodeObject()));
|
| }
|
|
|
| -bool RegExpMacroAssemblerS390::CanReadUnaligned() {
|
| - return CpuFeatures::IsSupported(UNALIGNED_ACCESSES) && !slow_safe();
|
| -}
|
|
|
| void RegExpMacroAssemblerS390::LoadCurrentCharacterUnchecked(int cp_offset,
|
| int characters) {
|
| - DCHECK(characters == 1 || CanReadUnaligned());
|
| if (mode_ == LATIN1) {
|
| // using load reverse for big-endian platforms
|
| if (characters == 4) {
|
|
|