Commit Graph

170 Commits

Author SHA1 Message Date
Andreas Gal
18afa9f743 Setters/getters can be callable objects (547912, r=brendan). 2010-02-22 22:25:09 -08:00
Andreas Gal
7fc1c8efb0 Introduce ObjectOps for typeOf and make trace a mandatory ObjectOp (547314, r=brendan). 2010-02-22 16:30:22 -08:00
Brendan Eich
493977bbcb s/pushAtom/AppendAtom/ name style police raid. 2010-02-22 13:26:57 -08: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
David Anderson
69279e0a58 Fixed charCodeAt inparam being aggressively, and incorrectly, specialized (bug 536445, r=bz). 2009-12-22 15:53:28 -08:00
Boris Zbarsky
b346e737a5 Bug 530240 followup. Can't assume vp[1] is an object here, in fact. Fixes orange. 2009-12-03 23:35:36 -05:00
Boris Zbarsky
8365d1cfcb Bug 530240. Faster NormalizeThis for String objects. r=brendan 2009-12-03 14:39:55 -05: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
Robert Sayre
4ea539c658 Relanding: Bye-bye middle-deletes and their O(n^2) worst case complexity; hello dictionary-mode scopes (473228, r=jorendorff). Backed out changeset ee7bfc1923ad 2009-12-01 15:49:15 -05:00
Robert Sayre
8be5b171b9 Backed out changeset c03ebf340688. Bye-bye middle-deletes and their O(n^2) worst case complexity; hello dictionary-mode scopes (473228, r=jorendorff). 2009-12-01 09:56:16 -05:00
Brendan Eich
c731045c51 Bye-bye middle-deletes and their O(n^2) worst case complexity; hello dictionary-mode scopes (473228, r=jorendorff). 2009-11-20 16:14:42 -08:00
Luke Wagner
1d78e70efe Bug 526348 - pick higher pattern-length threshold for using BMH (r=waldo) 2009-11-19 10:34:28 -08:00
Jason Orendorff
cd32782f94 Bug 505523 - Property cache can skip JSClass::resolve or JSClass::addProperty hooks. r=graydon, r=brendan.
--HG--
extra : rebase_source : a77b0e81203010aabe07b92b639762dce83200c0
2009-11-18 14:29:58 -06:00
Luke Wagner
2c29b03b23 Bug 526173 - 3.5x regression in indexOf performance (r=waldo) 2009-11-17 22:40:50 -08:00
Luke Wagner
a6f59b2bb2 Quiet ye requires-stack static analysis 2009-10-28 17:28:28 -07:00
Luke Wagner
4bf92850d5 Bug 524867 - hoist js_AllocStack out of inner String.replace loop (r=waldo) 2009-10-28 09:53:33 -07: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
Masahiro Yamada
5782aa9714 Bug 511859 - Reject overlong UTF-8 encodings of code points rather than converting them to U+FFFD or the code point they supposedly describe. r=jwalden
--HG--
extra : rebase_source : 9f53f810c42023e03ccc2dbe39dd2ea82d341b0b
2009-10-01 17:10:14 -07:00
Igor Bukanov
79b9eab8cb bug 520046 - eliminating "uintN flags" parameter from js_NewSomeGCThing functions. r=brendan 2009-10-02 12:21:19 +04:00
Igor Bukanov
3fa86d4157 Backed out changeset 19b4c1cacdb8 - everything related to bug 517199. 2009-10-01 16:10:42 +04:00
Igor Bukanov
fed9242625 bug 517199 - typed GC free lsists - newborn refactoring. r=brendan 2009-10-01 08:13:04 +04:00
Igor Bukanov
27c2d57074 bug 517749 - removal of weakRoots.newborn = null. r=mrbkap 2009-09-25 16:30:11 +04:00
David Mandelin
99fb23d064 Bug 511695: Fix JS warnings in MSVC8, r=brendan 2009-09-23 11:16:30 -07: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
Leon Sha
4e128c3edd Bug 515586 - Tracemonkey build failed with Sun Studio at jsstr.cpp. r=gal 2009-09-10 15:29:20 +08: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
Andreas Gal
c14bc4a8fc Use align attribute since GCC seems to ignore the pack pragma on ARM (515248, r=brendan). 2009-09-08 14:55:30 -07:00
Brendan Eich
551a7b73b6 Use pragma pack for static strings (trying to clear orange; r=gal). 2009-09-08 13:18:59 -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
0becd3863d dvander missed part of the patch (bug 513530). 2009-09-04 16:43:28 -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
Luke Wagner
cdd6b54ff9 Fix bustage: switch uintN to size_t 2009-09-01 16:41:32 -07:00
Luke Wagner
17f41ec26d Bug 460904 - refactor jsstr regexp ops (r=waldo) 2009-08-12 13:01:34 -07:00
Andreas Gal
c85b53a42a Backout bug 512617. 2009-08-29 18:46:27 -07:00
Andreas Gal
64328a8e94 Consolidate object creation on trace (512617, r=jorendorff). 2009-08-29 12:36:00 -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
Jason Orendorff
dafc9b5d2a Bug 508685 - Remove last parameter of defineProperty op. r=brendan. 2009-08-26 14:28:36 -07:00