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
Jason Orendorff
17deb16433
Add assertions in JSScript::NewScript against offset overflow. Bug 604387, r=dvander.
2010-10-14 14:58:01 -05:00
Jim Blandy
36fbfed7cc
Bug 586917: Properly parse JSOP_TABLESWITCHX instructions in the tracer. r=jorendorff
2010-10-13 18:22:46 -07:00
Blake Kaplan
29e85b9844
Merge mozilla-central into tracemonkey
2010-10-13 17:54:54 -07:00
Blake Kaplan
d4014d272a
Add a test for bug 604087. r=gal
2010-10-13 16:54:13 -07:00
Jason Orendorff
fd0c6b2d5c
Bug 604087 - Minor tweaks to JS_TransplantWrapper and JSAutoEnterCompartment. r=mrbkap
2010-10-13 17:26:40 -07:00
Blake Kaplan
355a7fed18
Bug 604087 - Deal with GC happening during JS_TransplantWrappers. r=jst/gal
2010-10-13 17:21:00 -07:00
Nicholas Nethercote
1c23e0dd04
Bug 603825 - Fix a bunch of warnings. r=jwalden.
2010-10-13 16:49:53 -07:00
Nicholas Nethercote
ddd0fb50cd
Bug 600779 - TM: allow for branches that are always taken. r=dmandelin.
2010-10-13 16:39:20 -07:00
Brian Hackett
78a4b0dad2
Fix memory leak, change uint to unsigned, bug 584917 followup. r=brendan,njn
2010-10-13 16:10:15 -07:00
Brian Hackett
869a6640ac
Fix use of uninitialized variable, bug 584917 followup. r=mrbkap
2010-10-13 15:41:53 -07:00
Brian Hackett
f9cf7a5b7d
Flexible length JSObject, bug 584917. r=brendan,igor
2010-10-13 11:49:22 -07:00
Blake Kaplan
fd87098d25
Bug 603845 - Protect ourselves against compartments that have null principals. r=gal
2010-10-13 11:37:25 -07:00
Blake Kaplan
49a6e89f74
Bug 604108 - Grab the right compartment to check if we're finalizing the functionNamespaceObject. r=peterv
2010-10-13 11:17:21 -07:00
Johnny Stenback
78e3992901
Merge backout.
2010-10-13 11:18:00 -07:00
Johnny Stenback
33d1b6d31f
Backed out changeset 08970767d83d per request from sayrer due to a trace malloc alloc regression.
2010-10-13 11:17:51 -07:00
Johnny Stenback
323f4a2a01
Merge backout.
2010-10-13 11:17:22 -07:00
Johnny Stenback
8bf4363aa7
Backed out changeset ad0c80eacba7 per request from sayrer due to a trace malloc alloc regression.
2010-10-13 11:17:13 -07:00
Johnny Stenback
886679794e
Merge backout.
2010-10-13 11:16:38 -07:00
Johnny Stenback
76bb5be13d
Backed out changeset a63b6fa0229c per request from sayrer due to a trace malloc alloc regression.
2010-10-13 11:16:20 -07:00
Sean Stangl
d5c09a23f0
Fix typo in ensureTypeSynced(), fixing assert. b=598839.
2010-10-12 20:34:15 -04:00
Sean Stangl
357a3ae283
Eliminate ImmutableSync on x64. b=601066, r=dvander.
2010-10-12 20:08:40 -04:00
Sean Stangl
d96bb05817
Faster x64 Syncing. b=598839, r=dvander.
2010-10-12 17:39:30 -04:00
Luke Wagner
844de3126b
Bug 603017 - speed up js::DefaultValue on String builtin with void hint (r=brendan)
2010-10-12 13:41:40 -07:00
Gregor Wagner
34dd1159af
Bug 603433 - TM: various GC cleanups, r=igor
2010-10-13 09:22:05 -07:00
David Mandelin
e45bcfe30a
Bug 603558: add -m option to turn on method jit for xpcshell, r=dvander, a=shaver
...
--HG--
extra : rebase_source : 9374b3ab212fa8cd41d33b3887e678b9888be972
2010-10-12 17:25:37 -07:00
Blake Kaplan
7c9de80f1f
Revert unintended changes.
2010-10-12 17:44:34 -07:00
Blake Kaplan
03450c5470
Bug 603816 - Don't assume that target->data is non-null. r=peterv
...
--HG--
extra : rebase_source : 6a3e949376465cc9eac3d4ffa6b7fc3ba501c502
2010-10-12 16:28:22 -07:00
Nicholas Nethercote
39f5c14292
Update nanojit-import-rev stamp.
2010-10-12 12:53:29 -07:00