Commit Graph

171 Commits

Author SHA1 Message Date
Jeff Walden
45c6642e41 Bug 847480 - Convert DeprecatedAbs overloads taking floating point (except for nscoord uses, when nscoord is optionally a floating point type) to Abs. r=Ms2ger 2013-03-05 15:43:44 -08:00
Jeff Walden
000d820503 Bug 847480 - Blindly convert all existing mozilla::Abs users to mozilla::DeprecatedAbs. Individualized conversions to the reformed mozilla::Abs will continue until mozilla::DeprecatedAbs is unused, at which point it will be removed. r=Ms2ger 2013-03-05 15:43:30 -08:00
Jeff Walden
72eca3f9c1 Bug 835542 - Implement mozilla::Abs. r=Ms2ger
--HG--
extra : rebase_source : a3e62ff76365d27cc4cb10e4fee942ddb8b10b79
2013-02-15 19:55:36 -08:00
Philipp Matthias Schäfer
2b1c72f15c Bug 815737 - Inline MathCache-reliant functions in IonMonkey. r=sstangl 2013-03-03 15:56:58 -08:00
Terrence Cole
da0189f754 Bug 706885 - Do not store singletons in the Nursery; r=bhackett
--HG--
extra : rebase_source : 0f6fe8fd6954c60a25b7180e503afd124956ec1c
2013-01-28 11:01:54 -08:00
Jason Orendorff
ca9e2f24e6 Bug 820180 - Isolate JS pseudorandom number generator state per compartment. r=luke. 2012-12-14 14:27:22 -06:00
James Kitchener
3689e848a7 Bug 818620 - Evaluate all arguments if NaN present in Math.{max, min}(). r=jwalden
--HG--
extra : rebase_source : 9f451ebf817c640428030d338368da4809aac69d
2012-12-18 20:05:43 -05:00
Jason Orendorff
b118eea739 Backout a567cc63a389 (bug 820180) due to red on Windows.
--HG--
extra : rebase_source : 83177da726fdd2945a3c3293b72c8c615ed7b25d
2012-12-14 15:29:02 -06:00
Jason Orendorff
0f7fe31744 Bug 820180 - Isolate JS pseudorandom number generator state per compartment. r=luke.
--HG--
extra : rebase_source : 966bf5fd222b342a3ede69c68cb95d97568d98b7
2012-12-14 14:27:22 -06:00
Tom Schuster
213a6ebc1f Bug 808148 -Implement experimental Math.imul. r=Waldo 2012-12-14 19:28:14 +01:00
David Anderson
03aa8e800a Turn PGO off for various functions (bug 791214, r=jandem). 2012-12-07 14:01:40 -08:00
Ms2ger
3b8a790da5 Bug 803520 - Don't use JSCList for JSRuntime::contextList; r=Waldo 2012-11-04 09:00:06 +01:00
Sean Stangl
23f5bfd011 Bug 797551 - Use callWithABI() for Math.random(). r=dvander 2012-10-05 12:05:21 -07:00
Nicholas Nethercote
002cc012eb Bug 793086 (part 1) - Convert JSClassInitializerOp parameter to HandleObject. r=sfink.
--HG--
extra : rebase_source : e8d20aad8abc0bf85df1f05e90be1ce46e8f0125
2012-09-20 22:17:49 -07:00
Jeff Walden
e281d53768 Bug 790349 - Convert all fooAtom uses to simply foo. r=jorendorff 2012-09-11 10:32:33 -07:00
Jeff Walden
a7ebfd3cfc Bug 789635 - Clean up JSAtomState so that all atom fields are macro-defined, and move the atoms set into JSRuntime directly. r=jorendorff
--HG--
extra : rebase_source : ed461a1092fde477a199499e4519885598be7079
2012-09-06 13:48:40 -07:00
Jeff Walden
9c845c1c0a Backed out changeset 17d36418f4d6, possible memory leak. r=graphserver
--HG--
extra : rebase_source : ce0a13c66211ad536eca08722cf15b2214e0d8da
2012-09-17 15:10:47 -07:00
Jeff Walden
fed8d27b8a Backed out changeset d3d8807c6c59, possible memory leak. r=graphserver
--HG--
extra : rebase_source : f1b208bb368083e8685619a5f0e11fb6c2ffd09b
2012-09-17 15:04:21 -07:00
Jeff Walden
bd4bb4ce3e Bug 790349 - Convert all fooAtom uses to simply foo. r=jorendorff
--HG--
extra : rebase_source : b0b255d242dbb8cef2df3c758bec82e88699ecdd
2012-09-11 10:32:33 -07:00
Jeff Walden
8da248cf92 Bug 789635 - Clean up JSAtomState so that all atom fields are macro-defined, and move the atoms set into JSRuntime directly. r=jorendorff
--HG--
extra : rebase_source : 83316d60be6a58b5a4b51058331068bf68ec0626
2012-09-06 13:48:40 -07:00
David Anderson
fd50a14c90 Merge from mozilla-central. 2012-08-22 16:09:24 -07:00
Brian Hackett
13132898c0 Make JSObject::doSomethingToThisObject methods static, bug 782646. r=terrence 2012-08-21 13:13:28 -06:00
David Anderson
9f806b608d Merge from mozilla-central. 2012-08-07 15:13:28 -07:00
David Anderson
e93ecd8468 Merge from mozilla-central. 2012-08-02 13:47:20 -07:00
Sean Stangl
40e57f73d7 Bug 772892 - Optimize Math.pow(). r=jandem,mjrosenb 2012-07-31 20:04:42 -07:00
Steve Fink
51a8c936bc Bug 777219 - Prepare SpiderMonkey for a fully rooted API; r=bhackett
--HG--
extra : rebase_source : a6a66d9e41932055e4529550d204d4098f32e37e
2012-07-23 13:37:31 -07:00
David Anderson
8769715833 Merge from mozilla-central. 2012-07-23 12:37:49 -07:00
Sergey Glushchenko
cc3eef8d15 Bug 776429: Unify scattered M_PI definitions into mfbt/Constants.h r=dRdR 2012-08-06 13:32:11 -07:00
Jan de Mooij
dc2913a534 Bug 775680 - Math.pow should use powi if the exponent is an integer-valued double. r=dvander 2012-07-19 20:43:32 +02:00
Jan de Mooij
ae378ad92b Bug 762480 - Specialize Math.{log, sin, cos, tan}. r=dvander,mjrosenb
--HG--
extra : rebase_source : 4807dc6b8e71d93ad294d5ea8d1d92740e580d08
2012-06-15 13:27:04 +02:00
Brian Hackett
f096dea33e Rename RootedVar to Rooted, bug 756823. r=billm 2012-05-24 16:05:18 -07:00
Gervase Markham
87620f5676 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Tom Schuster
a683829360 Bug 673499 - remove some trailing whitespace from js/src. r=jorendorff 2012-05-19 21:56:17 +02:00
Nicholas Nethercote
d3d3dcc4bc Bug 755581 (part 4) - Add "math-cache", "script-filenames" and "compartment-objects" reporters. r=luke.
--HG--
extra : rebase_source : cc1fc8ff91a7b63b8a1fd48aac3b5f37c7e84393
2012-05-15 19:30:28 -07:00
Brian Hackett
b9e5d87ac0 Disallow non-canonical jsids, bug 751331. r=luke 2012-05-06 13:45:19 -07:00
Gary Kwong
c86eee086b Bug 736746 - Remove js_IsMathFunction since it was only used in tracer and tracer is long gone. r=billm 2012-05-02 11:18:44 -04:00
Luke Wagner
68d492d13d Bug 720753 - hoist JaegerCompartment and MathCache from JSCompartment into JSRuntime (r=bhackett,njn) 2012-05-03 09:12:47 +02:00
Brian Hackett
49f87b254c Add most handles and stack rooters needed for exact scanning on shell benchmarks, bug 714647. r=billm 2012-04-12 09:23:51 -07:00
Jeff Walden
827586c908 Bug 714260 - Implement FloatingPoint.h to consolidate all IEEE-754 floating point operations in a single location. r=dmandelin for the js bits, r=Ms2ger for mfbt and the core bits 2012-01-23 03:43:16 -08:00
Matt Brubeck
3f73a423cd Back out e4c82a6b298c, 036194408a50, 39acc9f51df8 (bug 714647 and followups) because of test_finalizer.js crashes in Linux64 PGO builds 2012-04-12 22:07:43 -07:00
Brian Hackett
bf3e148c0a Add most handles and stack rooters needed for exact scanning on shell benchmarks, bug 714647. r=billm 2012-04-12 09:23:51 -07:00
David Mandelin
77d336e566 Bug 733260: remove typedef jsuint, r=luke
--HG--
extra : rebase_source : e8f576e1b5b189b47807c613c0cff79f5c8038e7
2012-03-05 18:43:45 -08:00
David Mandelin
5606b83eed Bug 732306: Remove typedef jsint, r=luke
--HG--
extra : rebase_source : 4d15a8514dbd698c114fa688461e533afab68ffa
2012-03-01 18:54:01 -08:00
David Mandelin
60e80d55b6 Bug 730511: remove obsolete typedefs intN, uintN, r=luke 2012-02-28 15:11:11 -08:00
David Mandelin
381d879c71 Bug 725550: remove obsolete typedef jsdouble, r=jwalden 2012-02-24 14:19:52 -08:00
Marco Bonardo
22d7a18fa5 Backout 4fc2f49371a8 (bug 725550) for build failures 2012-02-25 00:16:47 +01:00
David Mandelin
5be5dda12e Bug 725550: remove obsolete typedef jsdouble, r=jwalden
--HG--
extra : rebase_source : 772c2982184d7b3d1680737323395365e6b218da
2012-02-24 14:19:52 -08:00
Chris Leary
0b948a4184 Bug 700822: Randomize JIT VirtualAlloc location on win32, sans XP. (r=dmandelin)
--HG--
extra : rebase_source : 155b9cf9bb9fc6e70efd5ca4a2b20e76f3526fc5
2012-02-13 21:36:11 -08:00
Jeff Walden
2ca39644c4 Remove internal #includes of jsstdint.h, the functionality of which is now part of the JSAPI and need not be explicitly #included. No bug, r=evilpies, r=jorendorff, r=terrence, all over IRC
--HG--
extra : rebase_source : 073e357a4f7bcfe1af4de5e7370d10dae9a3a07d
2012-01-22 21:22:10 -08:00
Tom Schuster
af9ed84a89 Bug 622348 - JavaScript Math.round incorrect for (2^53)-1. r=Waldo
--HG--
extra : rebase_source : 51a780cf5ce9cbcc84c56d8a8dbe2c5d9867b36b
2011-12-25 15:16:12 +01:00