Closed
Bug 1898572
Opened 1 year ago
Closed 1 year ago
`if (byteLength > LZ4MaxSize)` warning
Categories
(Core :: JavaScript: WebAssembly, enhancement, P3)
Core
JavaScript: WebAssembly
Tracking
()
RESOLVED
FIXED
136 Branch
| Tracking | Status | |
|---|---|---|
| firefox136 | --- | fixed |
People
(Reporter: yury, Assigned: rhunt)
References
Details
(Keywords: good-first-bug)
Attachments
(1 file)
On 32-bit systems, build complaints:
3:41.51 /home/yury/Work/mozilla-unified/js/src/shell/js.cpp:9049:18: warning: result of comparison 'size_t' (aka 'unsigned int') > 4294967295 is always false [-Wtautological-type-limit-compare]
3:41.51 9049 | if (byteLength > LZ4MaxSize) {
3:41.51 | ~~~~~~~~~~ ^ ~~~~~~~~~~
3:47.44 memory/build/test
which makes sense that on 32-bit ArrayBufferObject will never allocate array buffer more than LZ4MaxSize = UINT32_MAX.
It nice to hide this warning during the build.
| Reporter | ||
Updated•1 year ago
|
Keywords: good-first-bug
Updated•1 year ago
|
Severity: -- → N/A
Priority: -- → P3
| Assignee | ||
Comment 1•1 year ago
|
||
Updated•1 year ago
|
Assignee: nobody → rhunt
Status: NEW → ASSIGNED
Pushed by rhunt@eqrion.net:
https://hg.mozilla.org/integration/autoland/rev/bb40aa8815f3
wasm: Fix warning. r=yury
Comment 3•1 year ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
status-firefox136:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 136 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•