Closed Bug 581356 Opened 14 years ago Closed 14 years ago

Silence two warnings in MSVC

Categories

(Core :: JavaScript Engine, defect)

Other Branch
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: jorendorff, Unassigned)

Details

(Whiteboard: [fixed-in-tracemonkey])

Attachments

(1 file)

Attached patch patchSplinter Review
The change in jsinterp.cpp moves a label that's only used #if JS_THREADED_INTERP into the #if block, so we avoid an unused label warning when JS_THREADED_INTERP is zero / not defined.

The change in jsscript.h avoids a warning about truncating a 32-bit value to 16 bits.
Attachment #459805 - Flags: review?(jwalden+bmo)
Attachment #459805 - Flags: review?(jwalden+bmo) → review+
Whiteboard: [fixed-in-tracemonkey]
http://hg.mozilla.org/mozilla-central/rev/8b41d1bc4dc6
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: