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)
Tracking
()
RESOLVED
FIXED
mozilla61
| Tracking | Status | |
|---|---|---|
| firefox61 | --- | fixed |
People
(Reporter: RyanVM, Assigned: RyanVM)
Details
Attachments
(1 file)
|
5.38 KB,
patch
|
Waldo
:
review+
jandem
:
review+
|
Details | Diff | Splinter Review |
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.
| Assignee | ||
Comment 1•8 years ago
|
||
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 2•8 years ago
|
||
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 3•8 years ago
|
||
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
Updated•8 years ago
|
Priority: -- → P3
Comment 5•8 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox61:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla61
You need to log in
before you can comment on or make changes to this bug.
Description
•