PPC/s390: Remove the AbstractCode == InstructionStream case
Port 11c4c8e3d2
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 <junyan@redhat.com>
Commit-Queue: Milad Farazmand <mfarazma@redhat.com>
Reviewed-by: Joran Siu <joransiu@ca.ibm.com>
Cr-Commit-Position: refs/heads/main@{#85446}
This commit is contained in:
parent
1e4b71d99f
commit
be42eb7139
@ -1063,7 +1063,7 @@ Handle<HeapObject> RegExpMacroAssemblerPPC::GetCode(Handle<String> source) {
|
||||
.Build();
|
||||
Handle<InstructionStream> istream(code->instruction_stream(), isolate());
|
||||
PROFILE(masm_->isolate(),
|
||||
RegExpCodeCreateEvent(Handle<AbstractCode>::cast(istream), source));
|
||||
RegExpCodeCreateEvent(Handle<AbstractCode>::cast(code), source));
|
||||
return Handle<HeapObject>::cast(istream);
|
||||
}
|
||||
|
||||
|
@ -1068,7 +1068,7 @@ Handle<HeapObject> RegExpMacroAssemblerS390::GetCode(Handle<String> source) {
|
||||
.Build();
|
||||
Handle<InstructionStream> istream(code->instruction_stream(), isolate());
|
||||
PROFILE(masm_->isolate(),
|
||||
RegExpCodeCreateEvent(Handle<AbstractCode>::cast(istream), source));
|
||||
RegExpCodeCreateEvent(Handle<AbstractCode>::cast(code), source));
|
||||
return Handle<HeapObject>::cast(istream);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user