Closed Bug 1447763 Opened 8 years ago Closed 8 years ago

Revert MSVC workarounds in the JS engine that are no longer needed

Categories

(Core :: JavaScript Engine, enhancement, P3)

60 Branch
enhancement

Tracking

()

RESOLVED FIXED
mozilla61
Tracking Status
firefox61 --- fixed

People

(Reporter: RyanVM, Assigned: RyanVM)

Details

Attachments

(1 file)

I've been iterating on a patch to remove most of the MSVC-specific workarounds in JS code that no longer appear to be needed. I've been aggressively testing on Try and no obvious issues have appeared. https://treeherder.mozilla.org/#/jobs?repo=try&author=ryanvm@gmail.com&fromchange=32a392688c2b79e051959bdb2da0115cc435eee1&tochange=7b3b830e85eee21bdfb3abddc3e1d2ce94ca8757 Obviously a careful review would be good here, though. For the ones that had obvious bugs associated with them, I made sure to the best of my ability that those issues didn't re-appear.
Jan already gave an IRC blessing to the SharedIC.cpp and jsmath.cpp changes, but tagging him for review for posterity. Waldo, can you please look over the rest?
Attachment #8961074 - Flags: review?(jwalden+bmo)
Attachment #8961074 - Flags: review?(jdemooij)
Comment on attachment 8961074 [details] [diff] [review] remove crufty MSVC compiler workarounds Review of attachment 8961074 [details] [diff] [review]: ----------------------------------------------------------------- ::: js/src/jslibmath.h @@ +27,5 @@ > #else > #define js_copysign copysign > #endif > > /* Consistency wrapper for platform deviations in fmod() */ If this isn't the case any more, get rid of js_fmod entirely and use fmod at all two call sites of this, please.
Attachment #8961074 - Flags: review?(jwalden+bmo) → review+
Comment on attachment 8961074 [details] [diff] [review] remove crufty MSVC compiler workarounds Review of attachment 8961074 [details] [diff] [review]: ----------------------------------------------------------------- Thanks!
Attachment #8961074 - Flags: review?(jdemooij) → review+
Pushed by ryanvm@gmail.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/64276e10f596 Remove some MSVC workarounds in the JS engine that aren't needed anymore. r=Waldo, r=jandem
Priority: -- → P3
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla61
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: