Skip to content

Commit c6f6626

Browse files
committed
[riscv64] Fix segmentation fault of webpack-make from cockpit
issue: riscv-collab#520 Change-Id: I7fe298ad16a2f599805929db0f084a81c4eb7f7a Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3503170 Auto-Submit: Yahan Lu <yahan@iscas.ac.cn> Reviewed-by: ji qiu <qiuji@iscas.ac.cn> Reviewed-by: Yahan Lu <yahan@iscas.ac.cn> Commit-Queue: Yahan Lu <yahan@iscas.ac.cn> Cr-Commit-Position: refs/heads/main@{#79376}
1 parent 5974242 commit c6f6626

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/regexp/riscv64/regexp-macro-assembler-riscv64.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -899,8 +899,8 @@ Handle<HeapObject> RegExpMacroAssemblerRISCV::GetCode(Handle<String> source) {
899899
__ Branch(&load_char_start_regexp, ne, current_input_offset(),
900900
Operand(s3));
901901
// Offset from the end is zero if we already reached the end.
902-
__ BranchShort(&exit_label_, eq, current_input_offset(),
903-
Operand(zero_reg));
902+
__ Branch(&exit_label_, eq, current_input_offset(),
903+
Operand(zero_reg));
904904
// Advance current position after a zero-length match.
905905
Label advance;
906906
__ bind(&advance);

0 commit comments

Comments
 (0)