Commit Graph

56163 Commits

Author SHA1 Message Date
Tom Schuster
5369c7af87 Bug 604971 - array.sort compare-function gets incorrect this. r=jwalden 2010-10-18 12:24:23 -07:00
Bill McCloskey
2ada2594a9 Bug 601395 - Add tests (r=cdleary) 2010-10-18 11:38:15 -07:00
Bill McCloskey
88e727ada5 Bug 601395 - Fix parent pointer tracking for block objects (r=cdleary) 2010-10-18 11:34:57 -07:00
David Anderson
d0aaf58043 Backed out changeset 45805d1b90d4. 2010-10-18 11:24:27 -07:00
David Anderson
f5a05c566e Refactor code related to ICs (bug 603779, r=dmandelin,sstangl).
* * *
Make Assembler derive from value-format assemblers (bug 603779 part 1, r=sstangl).
* * *
Refactor dense array load generation (bug 603779 part 2, r=dmandelin).
* * *
Add object class helpers to Assembler (bug 603779 part 3, r=dmandelin).
* * *
Refactor StateRemat and fix nearby IC bugs (bug 603779 part 4, r=dmandelin).
* * *
Refactor ValueRemat (bug 603779 part 5, r=dmandelin).
* * *
Factor out and rename some common IC structures (bug 603779 part 6, r=dmandelin).
2010-10-17 22:28:49 -07:00
Nicholas Nethercote
f88aff7fcf merge 2010-10-17 23:24:54 -07:00
Nicholas Nethercote
be2aa1d407 Backed out changeset c961a413660c 2010-10-17 23:24:26 -07:00
David Anderson
a8d25e6317 Backed out changeset 0c5ec2e90378 2010-10-17 23:10:11 -07:00
David Anderson
c687e54f5e Refactor code related to ICs (bug 603779, r=dmandelin,sstangl).
* * *
Make Assembler derive from value-format assemblers (bug 603779 part 1, r=sstangl).
* * *
Refactor dense array load generation (bug 603779 part 2, r=dmandelin).
* * *
Add object class helpers to Assembler (bug 603779 part 3, r=dmandelin).
* * *
Refactor StateRemat and fix nearby IC bugs (bug 603779 part 4, r=dmandelin).
* * *
Refactor ValueRemat (bug 603779 part 5, r=dmandelin).
* * *
Factor out and rename some common IC structures (bug 603779 part 6, r=dmandelin).
2010-10-17 22:28:49 -07:00
Nicholas Nethercote
e48a2774f0 Bug 584279 - TM: improve alias analysis by adding many more access regions. r=bhackett. 2010-10-17 18:42:58 -07:00
Nicholas Nethercote
3bd89f9f68 Bug 604297 - TM: don't allow non-conditions to be passed to TraceRecorder::guard(). r=dmandelin. 2010-10-17 15:53:27 -07:00
Blake Kaplan
81e28f8cec Bug 604368 - Share some code so that bug fixes fix both parts. r=peterv a=blocking beta7 2010-10-16 15:26:14 -07:00
Peter Van der Beken
9c40aad72a Fix for bug 604362 (Don't rewrap XPCWrappedNatives that don't have classinfo). r=mrbkap. 2010-10-16 01:43:53 -07:00
Blake Kaplan
4e14d8e983 Bug 604476 - Do a full property resolve when enumerating. r=gal
--HG--
extra : rebase_source : be6ee618aebfed864e737d341208e854061671ee
2010-10-15 18:27:42 -07:00
Blake Kaplan
677d1719d6 Bug 604797 - Wrap values in nsJSCID::CreateInstance. r=peterv
--HG--
extra : rebase_source : 013a2f6a7056bb50673b5328d31fd069cb05f5ec
2010-10-15 18:27:29 -07:00
Blake Kaplan
4c0461f1ad Fix bug 593602. r=gal
--HG--
extra : rebase_source : d0f105abd26702cd95c6b530ed6d1b1c76c82d52
2010-10-15 14:15:53 -07:00
David Mandelin
b921204b94 Bug 603077: OOM safety for JM assembler buffer, r=dvander 2010-10-14 16:33:49 -07:00
Sean Stangl
47aced3e61 Avoid convertValueToType() in PunboxAssembler. b=604448, r=dvander. 2010-10-15 19:17:35 -04:00
David Mandelin
1d856b8741 Bug 604799: allocate 64K code memory chunks on Windows, r=dvander 2010-10-15 15:42:56 -07:00
David Anderson
d54dd1cc18 Merge backout. 2010-10-15 15:30:17 -07:00
David Anderson
0c625a8d1a Backed out changeset 8ea3083a9787 2010-10-15 15:29:57 -07:00
David Anderson
e0dffc93d5 Merge backout. 2010-10-15 15:29:31 -07:00
David Anderson
61f242f7aa Backed out changeset 2bdf648e7015 2010-10-15 15:21:51 -07:00
David Anderson
a130b5b67b Backed out changeset cf1d774f7f73 2010-10-15 15:21:20 -07:00
David Anderson
cdeea159b6 Fix JSD build bustage, JSOP_BEGIN removal fallout. 2010-10-15 14:20:02 -07:00
David Anderson
3c809907f5 Merge backout. 2010-10-15 14:19:06 -07:00
David Anderson
cae2e1860d Bumped JSD uuid. 2010-10-15 14:18:13 -07:00
David Anderson
c7c5f82ff4 Backed out changeset 1998fa240434 2010-10-15 14:13:59 -07:00
David Anderson
3b03a237fa Remove JSOP_BEGIN and fix tracer integration issues (bug 603044, r=luke+dmandelin). 2010-10-15 11:36:56 -07:00
Jason Orendorff
5665c4ce1c Avoid MSVC mumbo-jumbo in static assertion. Following up on suggestions in bug 604276 comment 6 and bug 598055 comment 1. no_r=me.
--HG--
extra : rebase_source : 313d2b0dba84c9417ab7e2691d6f9c43c52c5a06
2010-10-15 09:31:07 -05:00
Igor Bukanov
d300dba85e bug 602534 - simpler scheduling of the last ditch GC. r=anygregor 2010-10-07 22:43:52 +02:00
Makoto Kato
033888d30a Bug 604323 - Bug 514570 causes bustage Win64 debug build. r=jwalden 2010-10-15 10:28:30 +09:00
Paul Biggar
464c5195d7 Bug 590486: Remove snarl now that eval is fast again.
In bug 578158, we needed to run entire benchmarks through eval(), but some
benchmark features erroneously prevented the tracer from running. Snarl() was
added to be an eval() without that limitation. Once that limitation was fixed, in
bug 580529, eval() could be used again and so Snarl() wasn't needed.

--HG--
extra : rebase_source : 0f77190acb0756d067ac9f998c5187c931483e1f
2010-10-14 17:49:49 -07:00
Blake Kaplan
e1d2f6f844 Bug 604368 - Protect against the this translator returning a this object from another domain. r=peterv
--HG--
extra : rebase_source : cf6f17e100d0b2fc1cef483e3480757f636d877a
2010-10-14 16:57:56 -07:00
Blake Kaplan
7961434bd1 Bug 604368 - Successfully get principals off of sandboxes too. r=peterv
--HG--
extra : rebase_source : 78252e0d3a702d3fdbe2221e8649bf59896b47d4
2010-10-14 16:57:27 -07:00
Jason Orendorff
7062d1174d Silence the few noisiest MSVC warnings. Bug 604276, r=luke.
--HG--
extra : rebase_source : 10874d0c67e080a7143c5a57066a3fd3db6209cb
2010-10-14 18:47:24 -05:00
Sean Stangl
c92d9ddfdd Detect some OOM conditions. b=602935, r=jorendorff. 2010-10-14 19:24:09 -04:00
Blake Kaplan
fd4258f7a7 Fix more orange. a=orange 2010-10-14 16:00:55 -07:00
Blake Kaplan
cfbcf1b6ef Fix bustage. a=orange
--HG--
extra : transplant_source : %CA%90%83%CA%B8%EF%94%24%D8b%FE%8F%E0-%86%B6%BB%0A%8E%EE
2010-10-14 15:53:23 -07:00
Blake Kaplan
2705deadbc Bug 604363 - Don't create Xray wrappers for chrome objects in sandboxes. r=peterv
--HG--
extra : rebase_source : 417edb2b843c0f3d8c4f5cb28d1872d901b3081d
2010-10-14 14:56:31 -07:00
Dave Herman
d78d204bb8 bug 602940, r=brendan: remove narcissus from hg tree 2010-10-14 14:36:17 -07:00
Jeff Walden
9f83aeddb8 Revert 782a44082ed2, which was a somewhat-too-optimistic removal of code that's not dead yet (and is not getting better). r=orange 2010-10-14 14:20:59 -07:00
Andreas Gal
3417abf36c Don't try to waive Xray wrapper for primitives (604361, r=mrbkap). 2010-10-14 13:41:52 -07:00
Jeff Walden
f8640c1804 Fix old comment referring to eval cache code being in obj_eval. r=waylon
--HG--
extra : rebase_source : d16f94910568917291fb0b28b124e1632c1f02af
2010-10-11 11:49:29 -07:00
Jeff Walden
c2c3186f83 Bug 602441 - Remove nigh-unreachable property-cache-testing code (modulo MT objects, nearing complete removal from SpiderMonkey) in the property-setting codepath. r=brendan
--HG--
extra : rebase_source : 38ed65e2dde3b80086be6da4a75120d24759df81
2010-10-07 13:59:23 -07:00
Jeff Walden
4500a1845e Bug 602441 - JM: Botched extensibility checking when attempting to add a new property to an object. r=dmandelin
--HG--
extra : rebase_source : 1676262c875cd2d283f63c28ae86c9230b7b942a
2010-10-07 12:30:13 -07:00
Jeff Walden
ec6a82be0d Add a test for (eval)(code) being direct eval; also add tests for (1,eval)(code), (a?b:eval)(code), and so on (constant-folding expressions, at least before bug 537673) being indirect. r=lumpy
--HG--
extra : rebase_source : cfed63291a05d936ab76909fe68a0c92ee90d9cd
2010-10-08 20:27:19 -07:00
Jeff Walden
516e962572 Remove declaration for the never-defined js_GetWrappedObject method (obj->wrappedObject(cx) was the long-ago replacement). r=sparky
--HG--
extra : rebase_source : d50bcf859e415469494e53426ba51d0e4304e676
2010-10-07 16:37:38 -07:00
Sean Stangl
7db1c7a596 Eliminate ImmutableSync on x64. b=601066, r=dvander. 2010-10-12 20:08:40 -04:00
Sean Stangl
99e40b8a29 Faster x64 Syncing. b=598839, r=dvander. 2010-10-12 17:39:30 -04:00