commit c390eba46da784f544d496cda4a989dba5ab95dc
parent 59023469376c0c56bcd0b8d66bce8359bd427659
Author: Jan de Mooij <jdemooij@mozilla.com>
Date: Fri, 12 Dec 2025 10:35:55 +0000
Bug 2005479 part 7 - Use generate_lir: true for more call instructions. r=iain
Differential Revision: https://phabricator.services.mozilla.com/D276051
Diffstat:
2 files changed, 10 insertions(+), 38 deletions(-)
diff --git a/js/src/jit/LIROps.yaml b/js/src/jit/LIROps.yaml
@@ -374,14 +374,6 @@
mir_op: Rotate
defer_init: true
-- name: WasmStackSwitchToMain
- result_type: WordSized
- operands:
- suspender: WordSized
- fn: WordSized
- data: WordSized
- call_instruction: true
-
- name: WasmInterruptCheck
operands:
instance: WordSized
@@ -419,13 +411,6 @@
input: BoxedValue
mir_op: TypeOfIs
-- name: ToAsyncIter
- result_type: WordSized
- operands:
- iterator: WordSized
- nextMethod: BoxedValue
- call_instruction: true
-
# Allocate a new arguments object for the frame.
- name: CreateArgumentsObject
result_type: WordSized
@@ -2099,20 +2084,6 @@
- name: InlineArgumentsSlice
gen_boilerplate: false
-- name: ObjectKeys
- result_type: WordSized
- operands:
- object: WordSized
- num_temps: 0
- call_instruction: true
-
-- name: ObjectKeysLength
- result_type: WordSized
- operands:
- object: WordSized
- num_temps: 0
- call_instruction: true
-
- name: LoadUnboxedScalar
result_type: WordSized
operands:
@@ -4594,12 +4565,3 @@
num_temps: 2
mir_op: FuzzilliHashStore
#endif
-
-#ifdef ENABLE_EXPLICIT_RESOURCE_MANAGEMENT
-- name: CreateSuppressedError
- operands:
- error: BoxedValue
- suppressed: BoxedValue
- result_type: WordSized
- call_instruction: true
-#endif
diff --git a/js/src/jit/MIROps.yaml b/js/src/jit/MIROps.yaml
@@ -944,6 +944,8 @@
iterator: Object
nextMethod: Value
result_type: Object
+ possibly_calls: true
+ generate_lir: true
- name: ToPropertyKeyCache
operands:
@@ -2125,6 +2127,8 @@
resultShape: Shape*
result_type: Object
can_recover: custom
+ possibly_calls: true
+ generate_lir: true
- name: ObjectKeysFromIterator
operands:
@@ -2147,6 +2151,8 @@
congruent_to: if_operands_equal
alias_set: custom
clone: true
+ possibly_calls: true
+ generate_lir: true
- name: LoadUnboxedScalar
gen_boilerplate: false
@@ -4328,6 +4334,8 @@
data: WasmAnyRef
result_type: WasmAnyRef
type_policy: none
+ possibly_calls: true
+ generate_lir: true
- name: WasmStackSwitchToSuspendable
operands:
@@ -4493,4 +4501,6 @@
suppressed: Value
result_type: Object
alias_set: none
+ possibly_calls: true
+ generate_lir: true
#endif