Closed Bug 1742573 Opened 3 years ago Closed 3 years ago

Permanent spidermonkey non-unified js/src/wasm/WasmBCMemory.cpp:337:20: error: unused function 'ToValidIndex' [-Werror,-Wunused-function] when Gecko 96 merges to Beta on 2021-12-06

Categories

(Core :: JavaScript: WebAssembly, defect, P2)

Other
Unspecified
defect

Tracking

()

VERIFIED FIXED
96 Branch
Tracking Status
firefox-esr91 --- unaffected
firefox94 --- unaffected
firefox95 --- unaffected
firefox96 + verified

People

(Reporter: aryx, Assigned: zhaojiazhong-hf)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

[task 2021-11-23T11:13:27.784Z]  2:22.15 /builds/worker/checkouts/gecko/js/src/wasm/WasmBCMemory.cpp:337:20: error: unused function 'ToValidIndex' [-Werror,-Wunused-function]
[task 2021-11-23T11:13:27.785Z]  2:22.15 static inline void ToValidIndex(MacroAssembler& masm, RegI64 ptr) {}
[task 2021-11-23T11:13:27.785Z]  2:22.15                    ^
[task 2021-11-23T11:13:27.785Z]  2:22.15 1 error generated.
Flags: needinfo?(lhansen)

Needs an ifdef MEMORY64 presumably. (But we really should fix the unused-static-inline-function warning, which is pretty absurd.)

Severity: -- → S4
Component: JavaScript Engine: JIT → Javascript: WebAssembly
Flags: needinfo?(lhansen)
Priority: -- → P3
Hardware: Unspecified → Other
Assignee: nobody → zhaojiazhong-hf
Status: NEW → ASSIGNED

Changing the priority to p2 as the bug is tracked by a release manager for the current nightly.
See What Do You Triage for more information

Priority: P3 → P2

I'm not sure how to run the test now, it seems like I need to setup a ssh key, is it accessible to every contributer?
Anyway, I think lth is right, we should define the function only when MEMORY64 is enabled, so I just fix it this way.

Pushed by lhansen@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/fbd1ffd74b54 Fix build issue caused by unused function 'ToValidIndex'. r=lth

(In reply to Sebastian Hengst [:aryx] (needinfo on intermittent or backout) from comment #6)

Every contributor can access the test ("Try") server. See

Thanks for your information, I just applied for the commit access.

Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 96 Branch

The patch is working just fine on beta simulation.

Has Regression Range: --- → yes
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: