Closed Bug 1416185 Opened 7 years ago Closed 7 years ago

js/src/jit/JitcodeMap.h:1371:18: error: private field 'count_' is not used [-Werror,-Wunused-private-field]

Categories

(Core :: JavaScript Engine: JIT, enhancement, P2)

enhancement

Tracking

()

RESOLVED FIXED
mozilla59
Tracking Status
firefox58 --- wontfix
firefox59 --- fixed

People

(Reporter: decoder, Assigned: jandem)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

I got this error with Clang current trunk (r317840):

https://treeherder.mozilla.org/logviewer.html#?job_id=143643775&repo=try&lineNumber=4913


jandem, can we fix this easily?
Flags: needinfo?(jdemooij)
Sure, patch in a minute.
Attached patch PatchSplinter Review
We can just #ifdef DEBUG the count_ field.
Assignee: nobody → jdemooij
Status: NEW → ASSIGNED
Flags: needinfo?(jdemooij)
Attachment #8927272 - Flags: review?(nicolas.b.pierron)
Priority: -- → P2
Attachment #8927272 - Flags: review?(nicolas.b.pierron) → review+
Pushed by jandemooij@gmail.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/815b8640da1e
Fix Clang warning about unused private field in ScriptPcIterator. r=nbp
https://hg.mozilla.org/mozilla-central/rev/815b8640da1e
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla59
Won't fix for 58. Feel free to nominate if you disagree.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: