Commit Graph

70 Commits

Author SHA1 Message Date
Luke Wagner
7c96945e3c Bug 613457 - clean up string interfaces (r=njn)
--HG--
extra : rebase_source : 3e77b67fa9fe2cc31312ad99951cf92258a98e64
2011-03-14 13:59:53 -07:00
Chris Leary
29a4e97a8f Bug 617935: Check string lengths using StringBuffer. (r=lw) 2011-01-12 15:28:58 -08:00
Luke Wagner
d8719356c0 Bug 609440, part 4 - make JSString::chars() fallible (r=waldo,dvander,igor,dwitte,njn) 2010-12-06 10:26:58 -08:00
Luke Wagner
fe37ac898b Bug 610848 - merge js::Int32ToString and js_IntToString (r=waldo) 2010-11-10 11:43:22 -08:00
Luke Wagner
91e9e4d5be Bug 608120 - optimize js_ValueToString on int32s (r=waldo) 2010-11-08 14:35:27 -08:00
Tom Schuster
b7057e3464 Bug 594233 - speed up js::DefaultValue on Number builtin with void hint (r=lw)
--HG--
extra : rebase_source : e06f43fe67eef83dd7c6d56417be8395184d40dd
2010-10-19 10:39:55 -07:00
Makoto Kato
65a42553b6 Bug 597814 - Optimize js_DoubleToECMAInt32 for MSVC and gcc x86_64. r=dvander 2010-09-24 20:19:43 -04:00
Nicholas Nethercote
837cae8aad Bug 590834 - Clean up number-to-string code. r=jwalden. 2010-09-13 13:08:25 -07:00
Jeff Walden
a38463c8a4 Bug 577536 - parseInt() uses radix 8 if the string starts with '0' but not 0x or 0X, and the digit string should be stringified before the radix is integerized. r=jorendorff 2010-07-23 02:29:44 -05:00
Luke Wagner
015cd3448d Bug 579647 - use canonical nan in js_dmod (r=dvander) 2010-07-19 11:28:13 -07:00
Luke Wagner
99411cc93d Bug 549143 - fatvals 2010-07-14 23:19:36 -07:00
Andreas Gal
2004c301c3 fast object iteration (558754, r=brendan, CLOSED TREE). 2010-05-07 17:52:52 -07:00
Jacob Bramley
1b4d13bc74 Optimize DoubleToECMAInt32 for ARM. [Bug 551837][r=vlad] 2010-04-27 08:31:36 +01:00
Nicholas Nethercote
4139494dcc Bug 559250 - encapsulate JSSLOT_{PRIMITIVE,DATE,REGEXP}_* within JSObject (take 2). r=brendan. 2010-04-14 18:57:30 -07:00
Nicholas Nethercote
00c793c05f Backed out changeset 681b0067e61b due to massive breakage 2010-04-14 17:09:17 -07:00
Nicholas Nethercote
e240c1f235 Bug 559250 - encapsulate JSSLOT_{PRIMITIVE,DATE,REGEXP}_* within JSObject. r=brendan. 2010-04-14 16:18:03 -07:00
Luke Wagner
b9f8c249e6 Bug 552574 - de-mystify js_ValueToNumber API (r=igor) 2010-04-07 13:18:50 -07:00
Boris Zbarsky
43090d95fb Bug 551118 followup. Need to conver spaces to 0, not NaN. r=jorendorff 2010-03-10 12:12:43 -05:00
Robert Sayre
5cf27a725e Merge tracemonkey to mozilla-central. 2010-03-26 15:53:14 -07:00
Boris Zbarsky
19a7e9b481 Bug 551118. Reuse string-to-number code and fix bug with negative hex in strings being treated as a negative integer. r=brendan 2010-03-09 17:21:32 -05:00
Ginn Chen
463fff12fa Bug 529846 check-3d-raytrace.js failed on Solaris x86 r=jimb 2010-03-23 14:41:52 +08:00
Igor Bukanov
0d38a472cc bug 524346 - using jsval, not jsdouble *, for nan and +-oo. r=brendan 2009-10-28 14:57:31 +03:00
Igor Bukanov
8785797ba7 Backed out changeset 14c76164f4c2 - patch for bug 524346 caused test fails 2009-10-27 19:21:47 +03:00
Igor Bukanov
ed4f6edf7f bug 524346 - using jsval, not jsdouble *, for nan and +-oo. r=brendan 2009-10-27 13:26:57 +03:00
Leon Sha
1f7b2525ab Bug 513208 - Tracemonkey build failed on solairs at jsnum.h. r=gal. Remove the space after copysign 2009-08-31 12:05:27 +08:00
Leon Sha
b432f885db Bug 513208 - Tracemonkey build failed on solairs at jsnum.h. r=gal 2009-08-31 11:21:51 +08:00
Andreas Gal
6424c04026 Inline js_DoubleToInteger (513436, r=sayrer). 2009-08-29 02:36:45 -07:00
Graydon Hoare
a4b6a75ae6 Bug 513063 - Followup to fix windows breakage, r=jorendorff. 2009-08-27 15:54:40 -07:00
Andreas Gal
8986edfd26 Build fix for 513063. 2009-08-27 15:34:20 -07:00
Andreas Gal
d4c110a6b1 Avoid bit twiddling on double values (513063, r=brendan). 2009-08-27 13:59:19 -07:00
Andreas Gal
58465e64d5 Another build fix for 512049. I wish DOM wouldn't poke into the guts of the JS engine. 2009-08-24 23:05:54 -07:00
Andreas Gal
59cc079901 Build fix for bug 512049. 2009-08-24 22:00:30 -07:00
Andreas Gal
7644588864 Inline DoubleToECMAInt32 (512049, r=dmandelin). 2009-08-24 18:46:21 -07:00
Luke Wagner
1f36a4f0c2 Bug 503952 - Use JSTempVector in jsstr.cpp (r=waldo)
--HG--
extra : rebase_source : ac955b5d784ca8fc9a61129e580c2751beb4109f
2009-08-14 16:10:59 -07:00
Luke Wagner
7470eaa57b Bug 503952 - JSStringBuffer/JSCharBuffer with JSTempVector, part 1. r=jwalden 2009-08-07 20:09:11 -07:00
Luke Wagner
145fbf91c2 Bug 200505 - Optimization of jsref array_join_sub() function. r=waldo 2009-06-30 20:19:42 -04:00
Robert Sayre
3f97d5e6f5 Backed out changeset b2256abf53c0 2009-06-30 12:14:09 -07:00
Luke Wagner
a6311cf8b5 Bug 200505 - Optimization of jsref array_join_sub() function. r=waldo 2009-06-30 11:29:43 -07:00
Jeff Walden
4230c8101b Bug 465980 - Some array methods don't work right on ginormous arrays. r=brendan 2009-01-12 13:07:48 -08:00
Jason Orendorff
cf74ec9191 Bug 471540 - TM: "Assertion failure: cp >= buf" at homicideReport.php. r=gal.
--HG--
extra : rebase_source : 7f3bc4e8db9ce307360792b889943d8609e8ff6e
2009-01-08 17:09:16 -06:00
Jason Orendorff
e0b7bce037 Bug 459266 - TM: Allow CALLINFO macros to specify linkage. r=brendan. 2008-10-16 14:24:10 -05:00
Andreas Gal
b4ee05c105 Trace Number.toString(base), not just Number.toString() (459772, r=brendan). 2008-10-13 19:07:30 -07:00
Jason Orendorff
a27d101dab Bug 458735 - Improve internal API for traceable natives (r=brendan, nanojit r=edwsmith) 2008-10-08 17:08:33 -05:00
Andreas Gal
a7b0f45c3f Export js_NaN. 2008-08-21 00:13:40 -07:00
Brendan Eich
2cbfd79ea0 Restore lost shaver rev 0e50c89c476b -- how did that get lost? 2008-08-11 20:27:47 -07:00
Brendan Eich
0ac70ec2cc Avoid JSUint64 (NSPR style), use uint64 (SpiderMonkey style). 2008-08-02 16:05:16 -07:00
Brendan Eich
1c627f62ca Backed out changeset 8421b003fb5f -- it broke string to number, demonstrated by running trace-test.js without the -j (jit) option (10 - "1.3" => NaN instead of 8.7).
/be
2008-08-01 21:07:17 -07:00
shaver@mozilla.org
bccb36ea81 give strtointeger a way to avoid octal, to streamline ValueToNumber a bit 2008-07-31 11:33:55 -07:00
shaver@mozilla.org
0180d69fd8 fix our aliasing idiocy by extending jsdpun, add Math.sqrt, add strict-aliasing to our Makefile.ref flags 2008-07-14 18:22:05 -04:00
igor@mir2.org
85f2f1318d bug=419632 r=brendan a1.9=blockin1.9 avoiding weak roots for doubles 2008-03-10 12:27:44 -07:00