mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-27 01:27:30 +09:00
Issue #3049 - Add minimal LoongArch JS proof-of-concept JIT
This commit is contained in:
parent
cfe830413b
commit
a8fb4b8710
1 changed files with 3 additions and 0 deletions
|
|
@ -401,6 +401,9 @@ js::RunScript(JSContext* cx, RunState& state)
|
||||||
if (jit::TryEnterLoongArchMinimalJit(cx, state))
|
if (jit::TryEnterLoongArchMinimalJit(cx, state))
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
|
if (jit::TryEnterLoongArchMinimalJit(cx, state))
|
||||||
|
return true;
|
||||||
|
|
||||||
if (jit::IsIonEnabled(cx)) {
|
if (jit::IsIonEnabled(cx)) {
|
||||||
jit::MethodStatus status = jit::CanEnter(cx, state);
|
jit::MethodStatus status = jit::CanEnter(cx, state);
|
||||||
if (status == jit::Method_Error)
|
if (status == jit::Method_Error)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue