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
Jason Orendorff
68a5dcca96
Bug 460157 - Yet more macros for defining builtins. r=brendan
2008-10-21 17:58:06 -05:00
Robert Sayre
dfdc67476d
Bug 460333. Implement toJSON for primitive wrapper classes. r=crowder
2008-10-17 14:57:34 -04: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
3204ec178a
Bug 459085 - TM: Number.toString traceable native is broken (r=gal)
2008-10-08 17:19:15 -05: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
Jim Blandy
90bf6a2d1e
Bug 97954: Give jsconfig.h a better name, and make room for the new js-config.h. r=bsmedberg
...
We'd like the SpiderMonkey configure script to generate a header file
named js-config.h to hold #definitions chosen at configure time that
affect the SpiderMonkey API, like JS_THREADSAFE. However, that name
is very similar to that of an existing header file, jsconfig.h. This
patch renames the existing header file, and updates all references to
it.
--HG--
rename : js/src/jsconfig.h => js/src/jsversion.h
2008-09-05 10:19:17 -07:00
Brendan Eich
e326b78b55
Added knownNative for num_toString (bug 452340, r=dvander).
2008-08-26 20:00:11 -07:00
Andreas Gal
a7b0f45c3f
Export js_NaN.
2008-08-21 00:13:40 -07:00
Vladimir Vukicevic
61a89af8e6
b=450176; trace parseInt and parseFloat; r=gal
2008-08-14 15:13:39 -07:00