Commit Graph

23243 Commits

Author SHA1 Message Date
Till Schneidereit
17a8390a83 Bug 814729 - Add getSelfHostedValue function to JS shell. r=shu 2012-11-24 16:06:06 +01:00
Brian Hackett
a84cff7a7d Add type specialized paths for instanceof to Ion, bug 814861. r=pierron 2012-11-25 11:04:21 -05:00
Brian Hackett
fd3d211964 Add symbolic range analysis for loop induction variables, bug 766592. r=mjrosenb 2012-11-23 23:23:03 -05:00
Brian Hackett
c0353ffd5e Count instruction and spill code bytes in Ion basic blocks, bug 814489. r=pierron 2012-11-23 23:18:59 -05:00
Ryan VanderMeulen
9891e3e945 Backed out changeset 68b3734f36e3 (bug 814489) for build failures. 2012-11-23 19:48:45 -05:00
Brian Hackett
ac3884fcb6 Count instruction and spill code bytes in Ion basic blocks, bug 814489. r=pierron 2012-11-23 19:13:56 -05:00
Brian Hackett
f547f24244 Ensure off thread compilations are properly canceled on new type barriers or monitored bytecodes, bug 813559. r=dvander 2012-11-23 18:26:34 -05:00
Brian Hackett
d549a634ba Remove bogus assert, bug 813029. r=dvander 2012-11-23 12:25:06 -05:00
Niko Matsakis
29bd82203a Bug 814233 - Make things build when threadsafe/nspr are not present. r=bhackett 2012-11-21 21:09:39 -05:00
Ryan VanderMeulen
93ddecf3d5 Backed out changeset 0a197ef0840c (bug 766592) for talos crashes. 2012-11-23 10:04:14 -05:00
Brian Hackett
0432d75c26 Add symbolic range analysis for loop induction variables, bug 766592. r=mjrosenb 2012-11-23 08:54:41 -05:00
Mike Hommey
8e58185635 Bug 799295 - Work around gcc 4.5 miscompilation of CanEncodeInfoInHeader by always inlining it 2012-11-23 07:44:30 +01:00
Nicolas B. Pierron
aff0934a21 Bug 810253 - Correctly dump arguments. r=dvander 2012-11-22 18:12:51 -08:00
Nicolas B. Pierron
eab785c1e8 Bug 799185 part 4 - Add tests for ReconstructPCStack. r=the-toad 2012-11-22 16:50:29 -08:00
Nicolas B. Pierron
8436f50500 Bug 799185 part 3 - Improve debug utilities within NoGCScope. r=terrence 2012-11-22 16:50:28 -08:00
Nicolas B. Pierron
0f2e186bdb Bug 799185 part 2 - Add comments to ReconstructPCStack. r=jorendorff 2012-11-22 16:50:18 -08:00
Kannan Vijayan
f526a9f66b Bug 814472 - Add jump(Register) method to Ion macro assembler. r=jandem 2012-11-22 13:13:29 -05:00
Brian Hackett
081efde748 Add --thread-count=N to shell, use at most one core for off thread compilation, disallow off thread compilation during IGC, bug 813559. r=dvander 2012-11-22 10:02:18 -05:00
Peter Van der Beken
a428926b2d Fix for bug 812333 (Replace Node quickstubs with new binding methods) - part 2: install Node's binding methods on the XPConnect proto. r=bz. 2012-11-22 12:09:41 +01:00
Peter Van der Beken
243151f563 Fix for bug 814022 (Make instanceof for new DOM bindings work across scopes). r=bz. 2012-11-19 11:59:13 +01:00
Paul Adenot
fd3313aa46 Bug 779997 - Backout e35029dcac2d to enable libsoundtouch again. 2012-11-22 11:38:28 +01:00
Boris Zbarsky
467ac3a5cf Bug 812392. Make sure we don't allow descendant protoss to confuse whether a proto corresponds to a DOM type. r=bhackett,peterv 2012-11-21 11:19:26 -05:00
Bobby Holley
d9bcd00b8c Bug 812415 - Use wrapperSubsumes rather than isChrome in XPCNativeWrapper.unwrap. r=mrbkap
The current behavior breaks same-origin Xrays in sandboxes. This makes it match
the check we do in XrayWrapper.cpp for the .wrappedJSObject property.
2012-11-21 17:55:58 -08:00
Till Schneidereit
cac6f16698 Bug 791850 - Cleanup of lazy script handling. r=bhackett
--HG--
extra : rebase_source : eb676d1a38675f0c556e2f367465a726085eefcc
2012-11-21 17:42:27 +01:00
Till Schneidereit
c96c2d1ee4 Bug 784294 - Convert some array extras to self-hosted js implementations. r=Waldo
The following methods are converted:
- lastIndexOf
- indexOf
- forEach
- some
- every
- reduce
- reduceRight

--HG--
extra : rebase_source : 600a9bba7c9a3871b10936f89b2e8c6fbee6d769
2012-08-28 14:35:15 +02:00
Terrence Cole
c7695a08b7 Bug 811911 - Allow UTF-8 output from the SpiderMonkey shell; r=Norbert 2012-11-16 18:14:51 -08:00
Bobby Holley
bd8a491a86 Bug 813394 - Test both |window.location| and |location| in navigated-away-from frame. r=bz 2012-11-21 13:20:05 -08:00
Bobby Holley
c28cb10555 Bug 808608 - Fix test_bug802557. r=bz
There are a number of fixes to this important tests, so this warrants a separate
patch.

First of all, the boundTo machinery goes away, because we no longer have same-
compartment Xrays giving us the weird bound methods.

Furthermore, now that the sensitive methods are just regular old methods
off the prototype. They'll fail correctly when used on a same-scope object,
but not for cross-scope XOWs they'll just fail in the
GetWrappedNativeOfJSObject rat's nest (when they can't unwrap the security
wrapper), so we'll just get a generic XPConnect error instead of a security
exception. I want to fix this soon, so I changed the skipMessageCheck stuff
to use todo_is.

However, _that_ caused an UNEXPECTED-PASS for the DefaultValue test (which
was the only one of the array of tests that was throwing a security exception
in step 2). So I added an annotation for that in item[2].
2012-11-21 13:20:05 -08:00
Bobby Holley
8fdea45364 Bug 808608 - Remove Xray shadowing protection infrastructure. r=mrbkap
This is now unused.
2012-11-21 13:20:05 -08:00
Bobby Holley
7d7d751a1e Bug 808608 - Fix up tests to work with new behavior. r=bz,me 2012-11-21 13:20:05 -08:00
Bobby Holley
ba7fe4f990 Bug 808608 - Remove special testing for Location in test_bug505915. r=me
Removing test coverage isn't great. But the only reason this test is doing all
this funny stuff with Location is that it thinks that it's always wrapped in
an Xray wrapper and that we always do a dynamic security check, which is no
longer true. Moreover, it checks for very specific error messages, which are
kind of in flux right now as I'm fixing up GWNOJO. The calls are never going
to actually succeed (since location isn't a Node), so it's not really clear
how to fix up this test to do something uniquely useful in a readable way.
I've added enough Location test coverage recently that I'm comfortable removing
this part.
2012-11-21 13:20:05 -08:00
Bobby Holley
f56e3f9249 Bug 808608 - Remove specialized Location security wrappers. r=mrbkap 2012-11-21 13:20:05 -08:00
Bobby Holley
760ce581ed Bug 808608 - Remove unnecessary outparam. r=mrbkap 2012-11-21 13:20:05 -08:00
Bobby Holley
c8e250c45a Bug 808608 - Implement shadowing protection in nsDOMClassInfo. r=mrbkap
This allows us to remove the same-compartment Location wrappers. This can
go away when we move Location to the new bindings and get access to
[Unforgeable].
2012-11-21 13:20:05 -08:00
Bobby Holley
71708ef37a Bug 808608 - Rescue expando sharing tests. r=mrbkap
We have a very nice and robust infrastructure for per-origin expando sharing
for Xrays. Unfortunately, the only way to currently exercise it is with
Location objects, since those are the only objects with same-origin Xrays
(cross-origin Xrays don't allow expandos at all). Sandbox wantXrays would
almost work here, but we actually make an explicit exception for sandboxes
so that they never share expandos (the 'exlusive global' stuff).

I think the infrastructure is nice and that we may want it in the future, so
I don't really want to back it out. But I also don't want to leave it in the
tree untested. So I'm adding an explicit Cu API to force DOM compartments to
use same-origin Xrays. This allows us to keep testing this stuff, which I think
is important.
2012-11-21 13:20:04 -08:00
Brian Hackett
e0509378c9 Show generated assembly in Ion PC count information, bug 811349. r=pierron 2012-11-21 13:53:18 -05:00
Shu-yu Guo
105cfeb4ac Bug 791850 - Followup: fix computing caller stack formal position. (r=jorendorff) 2012-11-21 10:50:01 -08:00
Niko Matsakis
b3f6811350 Bug 801087 - Implement parallel workers threadpool in preparation for Rivertrail. r=dmandelin 2012-11-21 13:31:57 -05:00
Daniel Holbert
0db2b629d3 Bug 811057: Make DeferredFinalizeFunction take a uint32 instead of an int32 as its "slice" parameter. r=peterv 2012-11-21 10:20:32 -08:00
Ryan VanderMeulen
47710276d9 Backed out changesets 1a8b11ae0f4b, e02a02fd1208 (bug 776443), 86a3edf2960d (bug 812392), 26c59f23fd8f, and 288c74d7f87d (bug 812744) for mochitest orange.
CLOSED TREE
2012-11-21 12:47:40 -05:00
Boris Zbarsky
7a7599bc24 Bug 812392. Make sure we don't allow descendant protoss to confuse whether a proto corresponds to a DOM type. r=bhackett,peterv 2012-11-21 11:19:26 -05:00
Till Schneidereit
e829272307 Bug 791850 - Lazily clone self-hosted methods installed via js_DefineFunction. r=luke,jwalden,bhackett 2012-09-18 22:11:37 +02:00
Shu-yu Guo
9f2c624430 Bug 791850 - Add intrinsic function %_DecompileArg to self-hosting environment. r=jwalden 2012-11-19 20:17:00 +01:00
Shu-yu Guo
a39758fcb0 Bug 812906 - Part 2: No type transform for self-hosted 'this' in TI. (r=bhackett) 2012-11-20 14:55:00 +01:00
Till Schneidereit
f43a8c5bdf Bug 812906 - Statically initialize GetIntrinsicValueInfo in IM. r=nicolas.b.pierron 2012-11-18 22:00:37 +01:00
Till Schneidereit
744ae80efb Bug 791759 - Fix jit-tests default jitflags. r=dmandelin
--HG--
extra : rebase_source : c1106b9936d7deb15e03ccb322abb75f1e19b3c6
2012-11-21 02:53:27 +01:00
Ryan VanderMeulen
9c9fa33efb Merge m-c to inbound. 2012-11-20 20:28:29 -05:00
Olli Pettay
94c52fd7e6 Bug 794158, Remove over-complicated AutoWrapperChanger, r=peterv 2012-11-20 23:01:28 +02:00
Ed Morley
c294c445f8 Backout 9f8721399b14 (bug 812218) for Win PGO bustage 2012-11-20 10:57:43 +00:00
Jon Coppeard
dda307f536 Bug 813007 - Remove ExecutableAllocatorSymbian.cpp r=billm 2012-11-20 10:03:09 +00:00