diff options
Diffstat (limited to 'deps/v8/src/regexp/s390/regexp-macro-assembler-s390.cc')
-rw-r--r-- | deps/v8/src/regexp/s390/regexp-macro-assembler-s390.cc | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/deps/v8/src/regexp/s390/regexp-macro-assembler-s390.cc b/deps/v8/src/regexp/s390/regexp-macro-assembler-s390.cc index be4b85df4fc..2109b45314a 100644 --- a/deps/v8/src/regexp/s390/regexp-macro-assembler-s390.cc +++ b/deps/v8/src/regexp/s390/regexp-macro-assembler-s390.cc @@ -983,26 +983,6 @@ RegExpMacroAssemblerS390::Implementation() { return kS390Implementation; } -void RegExpMacroAssemblerS390::LoadCurrentCharacterImpl(int cp_offset, - Label* on_end_of_input, - bool check_bounds, - int characters, - int eats_at_least) { - // It's possible to preload a small number of characters when each success - // path requires a large number of characters, but not the reverse. - DCHECK_GE(eats_at_least, characters); - - DCHECK(cp_offset < (1 << 30)); // Be sane! (And ensure negation works) - if (check_bounds) { - if (cp_offset >= 0) { - CheckPosition(cp_offset + eats_at_least - 1, on_end_of_input); - } else { - CheckPosition(cp_offset, on_end_of_input); - } - } - LoadCurrentCharacterUnchecked(cp_offset, characters); -} - void RegExpMacroAssemblerS390::PopCurrentPosition() { Pop(current_input_offset()); } |