[loong64][mips64] Remove the AbstractCode == InstructionStream case

Port commit 11c4c8e3d2

Bug: v8:13654
Change-Id: I78ee2b430b447877efe252f2e8ebb54c887cfc6a
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/4196758
Commit-Queue: Zhao Jiazhong <zhaojiazhong-hf@loongson.cn>
Auto-Submit: Liu Yu <liuyu@loongson.cn>
Reviewed-by: Zhao Jiazhong <zhaojiazhong-hf@loongson.cn>
Cr-Commit-Position: refs/heads/main@{#85533}
This commit is contained in:
Liu Yu 2023-01-29 16:57:04 +08:00 committed by V8 LUCI CQ
parent 8b7bbcb0c9
commit 19ae980ce1
2 changed files with 2 additions and 2 deletions

View File

@ -966,7 +966,7 @@ Handle<HeapObject> RegExpMacroAssemblerLOONG64::GetCode(Handle<String> source) {
.Build();
Handle<InstructionStream> istream(code->instruction_stream(), isolate());
LOG(masm_->isolate(),
RegExpCodeCreateEvent(Handle<AbstractCode>::cast(istream), source));
RegExpCodeCreateEvent(Handle<AbstractCode>::cast(code), source));
return Handle<HeapObject>::cast(istream);
}

View File

@ -1012,7 +1012,7 @@ Handle<HeapObject> RegExpMacroAssemblerMIPS::GetCode(Handle<String> source) {
.Build();
Handle<InstructionStream> istream(code->instruction_stream(), isolate());
LOG(masm_->isolate(),
RegExpCodeCreateEvent(Handle<AbstractCode>::cast(istream), source));
RegExpCodeCreateEvent(Handle<AbstractCode>::cast(code), source));
return Handle<HeapObject>::cast(istream);
}