Commit Graph

73 Commits

Author SHA1 Message Date
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
Andreas Gal
3d8162cf14 Fall off trace if Number.toString() reports an error (522330, r=brendan). 2009-10-14 13:41:40 -07:00
Andreas Gal
1ffbadef09 Avoid malloc and JS_dtobasestr for single digit numbers base != 10 (522195, r=brendan). 2009-10-14 13:25:20 -07:00
Igor Bukanov
99ca32eed1 bug 515403 - fixing shutdown race when accessing scriptFilenameTable. r=brendan 2009-09-26 17:44:11 +04:00
Igor Bukanov
27c2d57074 bug 517749 - removal of weakRoots.newborn = null. r=mrbkap 2009-09-25 16:30:11 +04:00
Jeff Walden
f0654601f8 Bug 516623 - Followups to change signed-type overflow to unsigned-type overflow, because only the latter has defined behavior. r=mrbkap 2009-09-15 12:15:10 -07:00
Jeff Walden
9da7781747 Bug 516623 - jsnum.cpp:87: warning: integer overflow in expression. r=mrbkap 2009-09-14 23:00:15 -07:00
Nicholas Nethercote
79ded264a4 Bug 516298 - TM: fix three compiler warnings. r=brendan. 2009-09-14 14:17:45 +10:00
Jeff Walden
484c2f1212 Bug 504233 - Add SIZE_MAX, etc. #defines to SpiderMonkey. r=jimb 2009-07-15 15:59:25 -07:00
Graydon Hoare
8132680f0e Bug 515551 - FIX_FPU should depend on __i386__ not __i486__, r=brendan. 2009-09-09 20:09:50 -07:00
Brendan Eich
098462c563 Check (without regressing hot paths) where needed to avoid treating static JSStrings like gc-things in the heap (514819, r=gal). 2009-09-05 21:48:30 -07:00
gwagner@mozilla.com
baca785d37 Prefer unit strings over integer strings for [0..9] in NumberToString (514884, r=gal). 2009-09-05 20:24:42 -07:00
Igor Bukanov
6bfe4771cc bug 513190 - avoiding jsint tagging of the private slot data. r=jorendorff 2009-09-05 19:59:11 +04:00
Brendan Eich
2b439c7885 Use class statics for the unit and int string tables (513530 followup, r=gwagner). 2009-09-04 18:04:14 -07:00
Gregor Wagner
2e1104b40f Cache result of Number2String (bug 513530, r=brendan). 2009-09-04 16:28:30 -07:00
Luke Wagner
6bfe9f9329 Bug 460904 - rename/tweak JSTraceableFunction (take 2) 2009-09-04 13:44:31 -07:00
Luke Wagner
3087376a4d Backed out changeset 94da2f68afdb 2009-09-04 11:35:52 -07:00
Luke Wagner
52d822b6d2 Bug 460904 - rename/tweak JSTraceableFunction (r=jorendorff) 2009-09-03 11:57:14 -07:00
Andreas Gal
6424c04026 Inline js_DoubleToInteger (513436, r=sayrer). 2009-08-29 02:36:45 -07:00
Andreas Gal
7a4da2ecd3 Shortcut strncmp in string to number conversion path (513434, r=sayrer). 2009-08-29 02:28:00 -07:00
Graydon Hoare
72ae192dab Bug 496816 - Force x87 FPU to 64-bit mode on any x86-gcc platform, r=brendan. 2009-08-27 11:34:13 -07:00
Graydon Hoare
a4b6a75ae6 Bug 513063 - Followup to fix windows breakage, r=jorendorff. 2009-08-27 15:54:40 -07:00
Andreas Gal
d4c110a6b1 Avoid bit twiddling on double values (513063, r=brendan). 2009-08-27 13:59:19 -07:00
Andreas Gal
7644588864 Inline DoubleToECMAInt32 (512049, r=dmandelin). 2009-08-24 18:46:21 -07:00
Luke Wagner
3cf8a59c01 Bug 503952 - Use JSTempVector in scanner/parser; remove JSStringBuffer (r=brendan) 2009-08-14 16:10:59 -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
Saint Wesonga
6aeef52dac Bug 273467 - -"-0x1" results in 1 instead of NaN. r=brendan. 2009-08-14 15:03:10 -05:00
Jason Orendorff
9dc4a54a5d Bug 498488 - Change some JSObject macros to methods. r=Waldo. 2009-08-11 15:05:44 -05:00
Maks Verver
fce0a4a253 Simpler parseInt logic (bug 507993 followup, r=brendan,dvander). 2009-08-11 12:54:55 -07:00
David Anderson
7a7dbed77d Fixed parseInt handling negative numbers wrong in JIT'd code (bug 507993, r=brendan). 2009-08-10 18:09:51 -07:00
Luke Wagner
7470eaa57b Bug 503952 - JSStringBuffer/JSCharBuffer with JSTempVector, part 1. r=jwalden 2009-08-07 20:09:11 -07:00
Igor Bukanov
ef90f6f522 bug 493457 - uniform access to private slots. r=mrbkap, sr=jwalden 2009-08-04 23:06:55 +02:00
Andreas Gal
e7f2714ea1 When finalizing, deallocate memory in a separate thread (505612, r=bent,brendan,waldo). 2009-07-27 21:10:12 -07:00
Igor Bukanov
9534c3d315 bug 504033 - avoiding calling JSFinalizeStub. r=brendan 2009-07-22 18:23:21 +02: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
Jason Orendorff
52fe5a97ba Bug 497618 - Change JSString macros to methods. r=Waldo. 2009-06-10 20:29:44 -05:00
Andreas Gal
b43077c19f Optimize ECMA double to int32 conversion path (patch by mohammad.r.haghighat@intel.com, r=dvander). 2009-06-12 15:18:10 -07:00
Peter Weilbacher
3378176bc8 [OS/2] Bug 483539: fix build break in jsnum.cpp by defining the underscored float properties. r=jorendorff 2009-03-30 15:26:51 -07:00
Robert Sayre
150b7d8a28 Merge tracemonkey to mozilla-central. 2009-03-24 13:49:05 -04:00
Jim Blandy
875aee5e88 Bug 479258: Include "jsstdint.h" for <stdint.h> type use within SpiderMonkey. r=brendan 2009-03-18 11:38:16 -07:00
Ted Mielczarek
d0e46c0bc4 bug 480144 - fix spidermonkey to compile on mingw. r=bsmedberg,jorendorff 2009-03-11 11:56:58 -04:00
Jim Blandy
ede7e6d142 Bug 391488: Eliminate PTRDIFF macro; delete jssttddef.h. r=jimb
Delete jsstddef.h, since its only remaining purpose is to make certain
Win16-specific definitions; we don't support Win16 any more.  In
particular, we can just subtract pointers now, so the PTRDIFF macro is
unnecessary noise.

Most places get stddef.h via jstypes.h or some other header, so we can
just delete #inclusions of jstddef.h.  The exception is jskwgen.h, so
there we explicitly include <stddef.h> instead.
2009-02-18 09:14:51 -08: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
b7fb9bc849 Bug 460865 - Read barrier for cx->fp. r=mrbkap, r=dmandelin.
--HG--
extra : rebase_source : 19963188b2f9f96336ce6ca28dbaefccf3a639b7
2008-12-09 10:38:32 -06:00
Andreas Gal
c867e60dfc Merge. 2008-10-23 14:47:00 -07:00