[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:
parent
8b7bbcb0c9
commit
19ae980ce1
@ -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);
|
||||
}
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user