Closed Bug 934173 Opened 6 years ago Closed 6 years ago

Mark debugMode() as JS_UNLIKELY

Categories

(Core :: JavaScript Engine, enhancement)

enhancement
Not set

Tracking

()

RESOLVED FIXED
mozilla28

People

(Reporter: sunfish, Assigned: sunfish)

Details

(Whiteboard: [qa-])

Attachments

(1 file)

This patch wraps tests of debugMode() in JS_UNLIKELY, to optimize for the non-debug-mode case.
Attachment #826364 - Flags: review?(luke)
Attachment #826364 - Flags: review?(luke) → review+
https://hg.mozilla.org/mozilla-central/rev/64dfd7bc59f9
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla28
Whiteboard: [qa-]
You need to log in before you can comment on or make changes to this bug.