From 19ae980ce1763367e2c1c918324fbc9ed15426de Mon Sep 17 00:00:00 2001 From: Liu Yu Date: Sun, 29 Jan 2023 16:57:04 +0800 Subject: [PATCH] [loong64][mips64] Remove the AbstractCode == InstructionStream case Port commit 11c4c8e3d258d63991a43871e9fa727c405412ac Bug: v8:13654 Change-Id: I78ee2b430b447877efe252f2e8ebb54c887cfc6a Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/4196758 Commit-Queue: Zhao Jiazhong Auto-Submit: Liu Yu Reviewed-by: Zhao Jiazhong Cr-Commit-Position: refs/heads/main@{#85533} --- src/regexp/loong64/regexp-macro-assembler-loong64.cc | 2 +- src/regexp/mips64/regexp-macro-assembler-mips64.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/regexp/loong64/regexp-macro-assembler-loong64.cc b/src/regexp/loong64/regexp-macro-assembler-loong64.cc index 3a6fb79168..534664d1b2 100644 --- a/src/regexp/loong64/regexp-macro-assembler-loong64.cc +++ b/src/regexp/loong64/regexp-macro-assembler-loong64.cc @@ -966,7 +966,7 @@ Handle RegExpMacroAssemblerLOONG64::GetCode(Handle source) { .Build(); Handle istream(code->instruction_stream(), isolate()); LOG(masm_->isolate(), - RegExpCodeCreateEvent(Handle::cast(istream), source)); + RegExpCodeCreateEvent(Handle::cast(code), source)); return Handle::cast(istream); } diff --git a/src/regexp/mips64/regexp-macro-assembler-mips64.cc b/src/regexp/mips64/regexp-macro-assembler-mips64.cc index d428847719..5fde4fc7c3 100644 --- a/src/regexp/mips64/regexp-macro-assembler-mips64.cc +++ b/src/regexp/mips64/regexp-macro-assembler-mips64.cc @@ -1012,7 +1012,7 @@ Handle RegExpMacroAssemblerMIPS::GetCode(Handle source) { .Build(); Handle istream(code->instruction_stream(), isolate()); LOG(masm_->isolate(), - RegExpCodeCreateEvent(Handle::cast(istream), source)); + RegExpCodeCreateEvent(Handle::cast(code), source)); return Handle::cast(istream); }