Ginn Chen
7cce950adf
Bug 516318 Multiple cases in trace-test failed on SPARC platform r=brendan
2009-10-20 14:05:05 +08:00
Boris Zbarsky
fb2c05cd4b
Bug 519492. Use more bits for offsets, fewer for length, for dependent strings. r=brendan
2009-10-07 20:53:39 -04:00
Luke Wagner
c1a69497a0
Bug 511777 - avoid regexp engine for flat strings (r=waldo)
...
--HG--
extra : rebase_source : bf121e6918f2174378babc72b3dbe1b2f4ffdbec
2009-09-23 08:54:50 -07:00
Luke Wagner
88b39718d0
Backed out changeset 20ee84099e38
2009-09-22 10:19:59 -07:00
Luke Wagner
ca5191b5f2
Bug 511777 - avoid regexp engine for flat strings
...
--HG--
extra : rebase_source : 81afb9a486643f4d88dff9bba6ec2cccd07b07f0
2009-09-16 18:23:27 -07:00
Leon Sha<leon.sha@sun.com>
136b94d6f4
Backout last change. Bug 516318 - [TraceMonkey] Multiple cases in trace-test failed on Sparc platform.
2009-09-22 15:55:25 +08:00
Leon Sha<leon.sha@sun.com>
2a166fa683
Bug 516318 - [TraceMonkey] Multiple cases in trace-test failed on Sparc platform. r=brendan.
2009-09-22 14:19:02 +08:00
David Anderson
647db183ee
Limit JSString length to 28 bits on 64-bit platforms (bug 513348, r=brendan).
2009-09-21 17:17:19 -07:00
Igor Bukanov
3c4beac4d9
bug 515199 - js_GetGCThingTraceKind must check for JSString::isStatic and return JSTRACE_STRING if so. r=brendan
2009-09-10 15:13:59 +04:00
Brendan Eich
e1ca08f794
Avoid wildman storage-punning hacks for non-unit static strings (515273, r=gal/gwagner).
2009-09-08 17:46:02 -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
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
Luke Wagner
28a6837fd4
Build fix for bug 513530, trailing enum comma.
2009-09-04 16:52:20 -07:00
Gregor Wagner
2e1104b40f
Cache result of Number2String (bug 513530, r=brendan).
2009-09-04 16:28:30 -07:00
Luke Wagner
17f41ec26d
Bug 460904 - refactor jsstr regexp ops (r=waldo)
2009-08-12 13:01:34 -07:00
Andreas Gal
2b1f1a8bf9
JS_ISSPACE has wrong space character check (513701, r=brendan).
2009-09-01 15:45:11 -07:00
Andreas Gal
25efe9f46a
Future proofing nit for bug 513379.
2009-08-29 14:19:44 -07:00
Andreas Gal
6424c04026
Inline js_DoubleToInteger (513436, r=sayrer).
2009-08-29 02:36:45 -07:00
Andreas Gal
3ffdadab9b
Fast path for is/is not space character classification (513379, r=sayrer).
2009-08-29 02:17:10 -07:00
Andreas Gal
7d3f588878
Inline GetUnitString fast path (513373, r=sayrer).
2009-08-28 16:30:41 -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
Makoto Kato
7cd16a8284
Bug 501324 - Bug 497618 causes crashes while building with MSVC++ on Win x64. r=jwalden
2009-08-14 11:28:24 -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
0c16520e8b
Bug 406271: add quantifier support for regexp->native compiler, r=dmandelin
2009-07-16 17:17:35 -07:00
Brendan Eich
b1cf17d802
Bug 501230 - TM: fast path for String.toString (r=gal).
2009-07-15 17:36:24 -07:00
Andreas Gal
427ece476a
Make sure js_FinalizeStringRT can be inlined into js_GC() (503462, r=dmandelin).
2009-07-12 07:41:20 -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
Jason Orendorff
52fe5a97ba
Bug 497618 - Change JSString macros to methods. r=Waldo.
2009-06-10 20:29:44 -05:00
David Mandelin
e57983f598
Bug 488808: crash due to JSString INIT macros stomping deflated flag, r=brendan
2009-04-17 19:30:26 -07:00
David Mandelin
803163441c
Bug 487546: Fix shell bustage, r=brendan
2009-04-16 17:23:43 -07:00
David Mandelin
874ab2823f
Bug 487546: avoid unnecessary js_PurgeDeflatedStringCache calls, additional patch to address igor's review issues, r=igor
2009-04-16 16:23:46 -07:00
David Mandelin
beb147a958
Bug 487546: call expensive JSString finalizers only if needed, r=brendan
2009-04-16 15:00:13 -07:00
Andreas Gal
0002d84879
Support String(v) -- String constructor called as a converter (482349, r=jwalden).
2009-03-09 17:29:42 -07:00
Jason Orendorff
413e752410
Bug 453564 - TM: Assertion failure: JSVAL_IS_NULL(vp[0]) || (!JSVAL_IS_PRIMITIVE(vp[0]) && OBJ_IS_ARRAY(cx, JSVAL_TO_OBJECT(vp[0]))). r=gal.
...
--HG--
extra : rebase_source : be08d1a4ca8a3765523b992a5d4e469e67ba8811
2008-12-09 11:43:32 -06: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
Brendan Eich
48926ba363
Fix bool FASTCALL vs. Nanojit calling convention bug, also some non-bool whoppers caught in the process (453361, r=mrbkap).
2008-09-02 15:37:22 -07:00
Andreas Gal
113ad8babe
Add builtins for toLowerCase, toUpperCase and replace(str,str) (452885, r=mrbkap).
2008-08-29 17:35:00 -07:00
Brendan Eich
fd148818e1
Add split built-in, also sort knownNatives for my own sanity (should sort builtins.tbl and jsbuiltins.cpp by function while at it, but too tired).
2008-08-21 04:13:07 -07:00
Blake Kaplan
5aa5360905
bug 450529 - pass pc to String.prototype.match so we can avoid unnecessary object creation when tracing. r=brendan
2008-08-15 09:29:03 -07:00
Brendan Eich
967ec56341
- Add String match and three replace overloadings, and allow known native matching to continue in search of exact match (not best, and not abort on first mismatch).
...
- Add CallGetter built-in and use it for regexp class-getter-implemented prototype properties.
- Add BUILTIN5 support (this should be "it" ;-).
2008-08-12 18:52:28 -07:00
Brendan Eich
a56862bdff
Make js_ConcatStrings JS_FASTCALL and use directly as a built-in; remove gcflag param from it and from js_NewString.
2008-08-11 11:03:54 -07:00
Brendan Eich
2991c66416
- Avoid unnecessary FASTCALL builtin wrappers for existing js_* library-private or friend functions, which could be (and now are) fastcall (JS_FASTCALL). A couple of builtins avoid name collisions by using js_Fast instead of just js_ as their name prefix.
...
- Use GCF_DONT_BLOCK from fastcall builtins that call into the GC allocator (mostly; a few places need help still, or better: need to avoid allocation).
- Cope with C clients of jscntxt.h and its include files (these hacks should go away).
- Naming convention and function definition line-break style nit-picks.
2008-08-10 00:39:18 -07:00
shaver@mozilla.org
c274666457
Refactor js_GetUnitString to permit passing in a bare jschar, and use in js_str_fromCharCode.
2008-07-31 12:21:59 -07:00
brendan@mozilla.org
b5b5553389
Fix hang when GetPropertyTreeChild calls js_GenerateShape calls js_GC (424636, r=igor, a=beltzner).
2008-04-28 23:19:42 -07:00
brendan@mozilla.org
d04ec07f23
Fix regression from 419152 to test for 58274 (r/a=shaver).
2008-02-26 09:01:52 -08:00
igor@mir2.org
5732653d7d
Bug 412340: avois rehashing of alreday atomized strings. r,a=brendan
2008-01-23 05:17:47 -08:00
igor@mir2.org
28f999de16
Bug 413104: access to JSString is hidden behind macros even for a flat string.
2008-01-19 13:15:08 -08:00
reed@reedloden.com
34fb42c02c
Back out Igor's patch from bug 412340 due to consistent orange on fxdbug-win32-tb.
2008-01-19 00:06:45 -08:00