From be42eb7139853e672f0a3189245b4d4cdd52344a Mon Sep 17 00:00:00 2001 From: Milad Fa Date: Mon, 23 Jan 2023 14:45:35 -0500 Subject: [PATCH] PPC/s390: Remove the AbstractCode == InstructionStream case Port 11c4c8e3d258d63991a43871e9fa727c405412ac Original Commit Message: .. and only keep BytecodeArray || Code. This is part of the effort to reduce the number of InstructionStream references. R=jgruber@chromium.org, joransiu@ca.ibm.com, junyan@redhat.com, midawson@redhat.com BUG= LOG=N Change-Id: Ie8606c96c62b2b36f76d16ebcdc35faf7d541a54 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/4188897 Reviewed-by: Junliang Yan Commit-Queue: Milad Farazmand Reviewed-by: Joran Siu Cr-Commit-Position: refs/heads/main@{#85446} --- src/regexp/ppc/regexp-macro-assembler-ppc.cc | 2 +- src/regexp/s390/regexp-macro-assembler-s390.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/regexp/ppc/regexp-macro-assembler-ppc.cc b/src/regexp/ppc/regexp-macro-assembler-ppc.cc index 93bb4e0386..55e448dd97 100644 --- a/src/regexp/ppc/regexp-macro-assembler-ppc.cc +++ b/src/regexp/ppc/regexp-macro-assembler-ppc.cc @@ -1063,7 +1063,7 @@ Handle RegExpMacroAssemblerPPC::GetCode(Handle source) { .Build(); Handle istream(code->instruction_stream(), isolate()); PROFILE(masm_->isolate(), - RegExpCodeCreateEvent(Handle::cast(istream), source)); + RegExpCodeCreateEvent(Handle::cast(code), source)); return Handle::cast(istream); } diff --git a/src/regexp/s390/regexp-macro-assembler-s390.cc b/src/regexp/s390/regexp-macro-assembler-s390.cc index b38e2abe88..a003d73c46 100644 --- a/src/regexp/s390/regexp-macro-assembler-s390.cc +++ b/src/regexp/s390/regexp-macro-assembler-s390.cc @@ -1068,7 +1068,7 @@ Handle RegExpMacroAssemblerS390::GetCode(Handle source) { .Build(); Handle istream(code->instruction_stream(), isolate()); PROFILE(masm_->isolate(), - RegExpCodeCreateEvent(Handle::cast(istream), source)); + RegExpCodeCreateEvent(Handle::cast(code), source)); return Handle::cast(istream); }