Commit Graph

111 Commits

Author SHA1 Message Date
Brian Hackett
c401cdd9f8 OOL fast path for string comparison, bug 579479. r=dvander 2010-09-14 20:07:11 -07:00
Brendan Eich
790ddc9e99 Merge JSScope into JSObject and JSScopeProperty (now js::Shape; bug 558451, r=jorendorff). 2010-08-29 11:57:08 -07:00
Chris Leary
e0e2085e45 Bug 587366: regexp failure for flat text replace. (r=lw) 2010-08-24 14:46:19 -07:00
Ginn Chen
d074752fb6 Bug 585559 Fix alignment for length2StringTable and hundredStringTable with Sun Studio r=lw 2010-08-19 15:58:52 +08:00
Chris Leary
e0ace5bc86 Bug 564953: Port YARR! Lands macroassembler. (r=gal) 2010-08-11 13:30:07 -07:00
Brian Hackett
16873a1fb8 Bug 579471 - fast constructors (r=dmandelin,lw) 2010-08-10 16:38:08 -07:00
Robert Sayre
ca10e5d657 Merge mozilla-central to tracemonkey. 2010-08-06 15:41:41 -07:00
Andreas Gal
9bfcb05899 Optimize string[idx] on trace (584499, r=lw). 2010-08-05 22:54:34 -07:00
Robert Sayre
250c59eece Reland: Bug 577648 - arguments.callee.caller does not work in FF 4 under certain circumstances. 2010-08-01 09:58:03 -07:00
Robert Sayre
9bae5e1079 Backout changeset 80382d88b92c. (Bug 577648 - arguments.callee.caller does not work in FF 4 under certain circumstances). The patch is righteous, but MSVC's behavior with a mere 3GB of addressable memory is not. Will reland soon. 2010-07-31 14:01:26 -07:00
Alan Pierce
c34904d121 Bug 578171 - Keep a static table of all length-2 strings (r=lw) 2010-07-27 21:14:31 -07:00
Gregor Wagner
97974d7867 Bug 582424 - TM: JSRopeNodeIterator warning (r=apierce) 2010-07-27 18:39:47 -07:00
Brendan Eich
794e678554 Arguments.callee.caller does not work in FF 4 under certain circumstances (577648, r=jwalden). 2010-07-23 14:41:56 -07:00
Alan Pierce
879d3e777d Bug 578205 - Keep string characters inline for small strings (r=gal) 2010-07-24 20:26:34 -07:00
Alan Pierce
e951ce56be Bug 578189 - Add the invariant that dependent strings must have a flat string as the base (r=gal) 2010-07-24 20:22:35 -07:00
Jeff Walden
496e7515a9 Bug 581067 - U+FEFF should be a WhiteSpace character (change in ES5 from ES3). r=cdleary
--HG--
extra : rebase_source : 38947caa8d4f21d0867137d0933495061a88d052
2010-07-22 22:28:33 -05:00
Brendan Eich
1813531fe8 Back out patch for bug 577648, need to fix a leak. 2010-07-23 14:21:50 -07:00
Brendan Eich
72e638d9ef arguments.callee.caller does not work in FF 4 under certain circumstances (577648, r=jwalden). 2010-07-10 11:48:00 -07:00
Alan Pierce
76244684a9 Bug 579173 - Use ropes to avoid large copies in simple string replace cases (r=lw) 2010-07-22 17:54:39 -07:00
Luke Wagner
de91418c20 Mark some inline JSString members as JS_ALWAYS_INLINE 2010-07-20 19:31:55 -07:00
Alan Pierce
52ba5c3616 Bug 571579 - Implement ropes (r=gal) 2010-07-16 17:41:22 -07:00
Luke Wagner
99411cc93d Bug 549143 - fatvals 2010-07-14 23:19:36 -07:00
Alan Pierce
0c38ca9fee Fix alignment issue causing Bug 583779 - 8/2 Android Nightly Build does not open on start-up. r=vlad (CLOSED TREE) 2010-08-03 20:31:48 -07:00
Igor Bukanov
443327bdc3 bug 563326 - HashMap::relookupOrAdd as a safe alternative to the add method in presence of map mutations. r=lw 2010-05-11 08:27:53 +02: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
Dan Witte
feaa2c7898 Bug 538324 - Move ctypes into js/src. Part 3: Split out low-level JS 16-bit <--> 8-bit string conversion functions. r=jorendorff 2010-04-02 13:05:30 -07:00
Jeff Walden
adaaad82af Back out 38cb39bc6744, 400097fb04e7, and 1dca6e135a1e for great orangeness. 2010-03-22 22:39:29 -07:00
Andreas Gal
372cc56c27 Allocate short strings in the GC heap, avoiding malloc + free (553541, r=igor). 2010-03-22 20:02:07 -07:00
Igor Bukanov
90d5fa7237 bug 519476 - replacing JSSTRING_DEFLATED with scanning of the deflated cache. r=jwalden,dmandelin 2010-03-16 21:28:33 +03:00
Vladimir Vukicevic
77502e8e24 Backed out changeset 0b28c109c213; r=waldo,dmandelin 2010-03-15 16:03:57 -07:00
Igor Bukanov
6d3a27abc3 bug 519476 - replacing JSSTRING_DEFLATED with scanning of the deflated cache. r=jwalden,dmandelin 2010-03-13 10:01:09 +03:00
Luke Wagner
2645ecd2da Bug 541452 - put jstracer.cpp in namespace js (r=jorendorff) 2010-01-22 14:49:18 -08:00
Gregor Wagner
470074111f Gregor Wagner <anygregor@gmail.com> Bug 533450: js_GetStringBytes ignore js_CStringsAreUTF8 when JSString::isUnitString r=brendan 2010-01-15 15:58:33 -08:00
Gregor Wagner
689d4154a4 inline several string functions r=gal, bug #507531 2009-12-14 22:12:42 -08:00
Boris Zbarsky
6af77f03b5 Bug 533148. Go back to the MAX_LENGTH we used to have. r=brendan 2009-12-08 21:56:54 -08:00
Boris Zbarsky
2e2e3eeb0c Bug 521423. Make JSString 4 words instead of 2; make substring() and company never have to copy. r=brendan 2009-12-03 14:39:42 -05:00
David Anderson
88369259e6 Fixed string flag bugs on VC++ x64 (bug 512866, r=waldo). 2009-11-18 13:24:24 -05:00
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