Commit Graph

23504 Commits

Author SHA1 Message Date
Shu-yu Guo
ad78afc013 Bug 811566 - Compile INTRINSICNAME correctly in JaegerMonkey. (r=bhackett) 2012-12-03 13:10:19 -08:00
Benjamin Peterson
afc509df75 Bug 817724 - Change some fields from JSBool to bool. r=luke 2012-12-03 15:53:28 -05:00
Bill McCloskey
d060db30e9 Bug 817343 - Ensure that incremental GC validation happens (r=jonco)
--HG--
extra : rebase_source : 63096f25eec9f1008169662eb4011ff30045aed9
2012-12-03 12:17:23 -08:00
Jeff Walden
9da748ad60 Bug 815414 - Move the DST offset cache out of JSContext, and LocalTZA out of a process-wide static, into JSRuntime. r=jorendorff
--HG--
extra : rebase_source : 9c02de9c6db06cf70a89c9a57d65e94655803931
2012-11-27 15:12:20 -08:00
Brian Hackett
0fd89bf51e Don't use GetIonContext()->cx in ARM assembler, bug 817509. r=mjrosenb 2012-12-03 13:04:58 -07:00
Bill McCloskey
c0f807b818 Bug 817218 - Followup to fix compile error (r=red) 2012-12-03 11:35:22 -08:00
Bill McCloskey
d4e498b887 Bug 817218 - Move UnmarkGray to the JS engine (r=mccr8) 2012-12-03 11:19:23 -08:00
Bill McCloskey
a367da58d4 Bug 803019 - Fix case where atoms compartment is only compartment marked in a GC (r=jonco) 2012-12-03 11:10:29 -08:00
Kannan Vijayan
8e3fef82ec Bug 816701 - Fix branchTestObjShape to use input condition instead of hardcoding Assembler::NotEqual. r=mjrosenb 2012-12-03 13:30:39 -05:00
Brian Hackett
027df0b6f5 Fix test for incremental GC when triggering off thread compilation, bug 817635. r=billm 2012-12-03 11:11:34 -07:00
Jon Coppeard
98b772bfc1 Bug 816054 - Assert wrappers are sensible when added to compartment map r=billm
--HG--
extra : rebase_source : 1089ac35de6ac4394e0ac9578257647e9bf25b92
2012-11-30 17:41:30 +00:00
Jon Coppeard
96c58ac7d3 Bug 815999 - Sweep debugger and debugee objects in same group and improve black->gray pointer detection r=billm
--HG--
rename : browser/base/content/test/browser_save_private_link_perwindowpb.js => browser/base/content/test/browser_save_private_link.js
rename : browser/components/sessionstore/test/browser_354894_perwindowpb.js => browser/components/sessionstore/test/browser_354894.js
extra : rebase_source : 06ec307cad3794113af99b67a28713152368cea2
2012-12-03 16:52:07 +00:00
Chris Peterson
ee72ed1ac3 Bug 817419 - Fix warning about DebugScopes forward-declaration as struct. r=jcoppeard 2012-12-01 00:57:44 -08:00
Andrew McCreight
abb6f0af3a Bug 812380 - optimize less aggressively in TraceWeakMapping. r=billm 2012-12-03 09:02:57 -08:00
Ed Morley
5518156de0 Backout a592d7dfb470 for Android crashes 2012-12-03 11:17:49 +00:00
Marty Rosenberg
c64858581d Add in extra function to build on non-arm platforms (no bug, r=glandium) 2012-12-03 04:32:59 -05:00
Marty Rosenberg
7d10373d79 If we attempt to make calls compile -> compile -> jitted code -> compile, we can accidentally attempt to enter jitted code without flushing the cache (bug 805421, r=dvander) 2012-11-14 16:25:52 -05:00
Marty Rosenberg
975ec5b5fa Attempt to fix the issues by disabling IM when we run into a corner case, now builds on non-arm platforms (bug 805299, r=dvander) 2012-12-02 22:21:57 -05:00
Nicolas B. Pierron
98a2cdd6e0 Bug 817475 - JM: Remove re-compilation loop. r=bhackett 2012-12-02 20:59:47 -08:00
Ehsan Akhgari
eb47c50f8f Backed out changeset 162e2608bd3c (bug 805299) for breaking debug builds 2012-12-02 23:47:36 -05:00
Marty Rosenberg
f5ca1db79d Implement inc64 on arm, since it hasn't been implemented yet. (bug 811349, r=bhackett, r=jbramley) 2012-12-02 22:21:59 -05:00
Marty Rosenberg
376941ee25 Attempt to fix the issues by disabling IM when we run into a corner case (bug 805299, r=dvander) 2012-12-02 22:21:57 -05:00
Jim Blandy
40e849e57c Bug 701393 - Add suffix stripping to PP_TARGETS generic preprocessor rule r=glandium 2012-12-02 16:49:32 -08:00
Hannes Verschore
aade0a7f3a Bug 816787: Remove negative zero check for truncated uses, r=mjrosenb 2012-12-03 00:09:56 +01:00
Ms2ger
739ae0477f Merge m-c to m-i. 2012-12-02 11:32:57 +01:00
Ms2ger
412cfbba34 Bug 810679 - Move rt->debuggerList to mozilla::LinkedList; r=Waldo 2012-12-02 09:59:39 +01:00
Ms2ger
f5bccafc02 Bug 802163 - Fix pyflakes warnings in bindings python; r=peterv 2012-12-02 09:59:08 +01:00
Brian Hackett
d447c65fbb Insert additional resume points after operations likely to kill values, bug 814997. r=dvander 2012-12-01 09:32:34 -07:00
Hannes Verschore
004c5a8f72 Bug 815161: Use caching getproperty to fetch prototype to create this, r=jandem 2012-12-01 16:23:23 +01:00
Jan de Mooij
482abc70f0 Bug 816924 - Add extractNonDoubleType to ValueOperations. r=jwalden 2012-12-01 09:42:18 +01:00
Brian Hackett
dfe86eab8b Factor computation of live ranges out of LSRA, bug 817213. r=jandem 2012-12-01 16:32:26 -07:00
Peter Van der Beken
f95d18d798 Fix for bug 814195 (Replace Element quickstubs with new binding methods). r=bz. 2012-11-22 12:09:43 +01:00
Boris Zbarsky
37b2e5d71b Bug 814195 prerequisite: fix tests that do gczeal stuff to not enumerate the window for the first time while gc-ing on every allocation. Otherwise our hang detector kicks in and kills us. rs=jorendorff 2012-12-01 00:47:24 -05:00
Shu-yu Guo
26cd833553 Bug 816805 - Style fixes for ThreadPool, ForkJoin, and Monitor (r=jwalden) 2012-11-30 15:15:20 -08:00
Brian Hackett
9673bbed0d Add analysis to eliminate dead resume point operands, bug 814997. r=dvander 2012-11-30 15:59:52 -07:00
Terrence Cole
b48e9de2f4 Bug 811168 - Implement Unrooted<T> protect BaseShape; r=billm
The new Unrooted<T> class adds static typing and dynamic debug-mode assertion to
better protect our GC invarients when writing performance-sensitve code.

--HG--
extra : rebase_source : 13c3c2b8a98f3c013cd1c7c0a0d2bb408e815a2b
2012-11-14 16:06:27 -08:00
Bill McCloskey
209e95fac1 Backout a6b604916694 (bug 747066) because it's broken 2012-11-30 12:20:24 -08:00
Brian Hackett
d846360898 Reconstruct operands when bailing out from add/sub overflows, bug 773666. r=jandem 2012-11-30 12:46:03 -07:00
Ehsan Akhgari
a5b3b70fce Backed out changeset fc50a2127738 (bug 815999) because of crashes in unit tests 2012-11-30 14:41:35 -05:00
Brian Hackett
0ad77461cc Make removal of negative zero checks independent from resume point locations, bug 816786. r=h4writer 2012-11-30 11:24:36 -07:00
Jon Coppeard
73dd8b38ef Bug 815999 - Sweep debugger and debugee objects in same group and improve black->gray pointer detection r=billm
--HG--
rename : toolkit/components/downloads/test/browser/browser_private_resume.js => toolkit/components/downloads/test/unit/test_private_resume.js
extra : rebase_source : 20f695d717ea78ee55f3a9ed395ba17315479ee3
2012-11-29 11:36:23 +00:00
Hannes Verschore
f90f1daf06 Bug 815579: Increment usecount faster on MI to interpreter calls, r=dvander 2012-11-30 14:18:28 +01:00
Hannes Verschore
83653f13a8 Bug 815249: Add printf function to debug IM compiled code, r=jandem 2012-11-30 13:09:58 +01:00
Jan de Mooij
ec3d1fbd28 Bug 816104 part 2 - rm defineReturn and rename defineVMReturn to defineReturn. r=dvander 2012-11-30 10:32:37 +01:00
Bill McCloskey
d301af36be Bug 747066 - Inline xpc_UnmarkGray (r=terrence) 2012-11-28 17:03:54 -08:00
Bill McCloskey
465c1134c9 Bug 816805 - Style fixes for RiverTrail code (r=shu)
--HG--
rename : js/src/vm/forkjoininlines.h => js/src/vm/ForkJoin-inl.h
rename : js/src/vm/forkjoin.cpp => js/src/vm/ForkJoin.cpp
rename : js/src/vm/forkjoin.h => js/src/vm/ForkJoin.h
rename : js/src/vm/monitor.cpp => js/src/vm/Monitor.cpp
rename : js/src/vm/monitor.h => js/src/vm/Monitor.h
rename : js/src/vm/threadpool.cpp => js/src/vm/ThreadPool.cpp
rename : js/src/vm/threadpool.h => js/src/vm/ThreadPool.h
2012-11-29 18:00:19 -08:00
Bill McCloskey
942dce3caf Bug 769015 - Make sure we GC on shutdown even with deterministicgc() (r=mccr8) 2012-11-29 17:21:12 -08:00
Steve Fink
f53070ddb9 Bug 813381 - Further CheckStackRoots optimization - suppress repeated checks of the same stack configuration. r=terrence
--HG--
extra : rebase_source : fc20ace165efae464503ae99a2bc52b3cefe9f4c
2012-11-27 12:24:52 -08:00
Steve Fink
a1159ef4cb Bug 813381 - Optimize CheckStackRoots. r=terrence
--HG--
extra : rebase_source : ab270ef84358a9fcb958d0fc821d16920fc19a59
2012-11-19 14:20:12 -08:00
Bill McCloskey
ade755940d Bug 801195 - Delay changing generator state (r=luke) 2012-11-19 11:44:16 -08:00
Jan de Mooij
6b3704e498 Bug 816015 - Make ARM's second scratch register configurable. r=mjrosenb 2012-11-29 15:50:14 +01:00
Jan de Mooij
096701a379 Bug 816493 - Fix IsAboutToBeFinalized(ReadBarriered<IonCode>..) to call IsIonCodeAboutToBeFinalized. r=jonco 2012-11-29 15:48:48 +01:00
Jon Coppeard
a02a99a37a Bug 816046 - Intermittent "Assertion failure: key.kind != CrossCompartmentKey::StringWrapper r=billm
--HG--
extra : rebase_source : e57dc40bbd5648cabcaf2805b984e921577989f5
2012-11-28 17:39:12 +00:00
Ed Morley
6235b77c71 Backout 67e95e421678 (bug 814195) for Windows debug jsreftest failures on a CLOSED TREE 2012-11-29 11:17:11 +00:00
Jan de Mooij
915f1f7e31 Bug 816104 - Assert define/defineBox are not used with call instructions. r=dvander 2012-11-29 10:15:40 +01:00
Makoto Kato
f409f7fc8c Bug 800785 - unnecessary PGO for js shell. r=ted 2012-10-23 16:42:19 +09:00
Hubert Figuière
6c11e4dddf Bug 816378 - Backout 5158d648702e (Bug 813773). a=bustage,Waldo
--HG--
rename : mobile/android/config/tooltool-manifests/android-x86/android/releng.manifest => mobile/android/config/tooltool-manifests/android/releng.manifest
extra : rebase_source : c2cb0190de4ad637dc3cd35a1876e9f06c16bcba
2012-11-28 23:00:56 -05:00
Bill McCloskey
f5bffd6ef5 Backout 4a88d1080c08 (bug 747066) for orange 2012-11-28 16:59:17 -08:00
Bill McCloskey
43f7ea5481 Bug 815931 - Move write barrier verifier to its own file (r=terrence) 2012-11-28 13:46:46 -08:00
Bill McCloskey
a38bb07956 Bug 815931 - Use GC auto classes in write barrier verifiers (r=terrence) 2012-11-27 18:16:16 -08:00
Bill McCloskey
7cf1ac5146 Bug 815931 - Move GC heap iteration to separate file (r=jonco) 2012-11-27 18:13:31 -08:00
Bill McCloskey
b50a344367 Bug 815931 - Move GC auto classes to header (r=jonco) 2012-11-27 18:12:58 -08:00
Bill McCloskey
dd7fa27d87 Bug 815931 - Move GC root marking to a separate file (r=terrence) 2012-11-27 17:59:10 -08:00
Brian Smith
d935774988 Bug 813241: Update config/system-headers and make wrapping of NSPR & NSS headers more robust, r=glandium
--HG--
extra : rebase_source : 5ba0a83110268ff489df7b3e0a8a9219711247b1
2012-11-22 11:15:01 -08:00
Bill McCloskey
d2d5904213 Bug 747066 - Inline xpc_UnmarkGray (r=terrence)
--HG--
extra : rebase_source : 9a5fe3cdcac2e3352407031c969ed705b0458dab
2012-11-19 10:59:01 -08:00
Jeff Walden
5e3b3f0509 Fix testFindSCCs warnings. No bug, rs=billm, r=themaid 2012-11-28 13:54:32 -08:00
Jeff Walden
1db9a40533 Various warning fixes. No bug, r=themaid 2012-11-27 15:53:46 -08:00
Eric Faust
0aeb5b8833 Bug 747289 - Part 2/2 - Update IonMonkey to use known DOM constants. r=sstangl 2012-11-28 16:28:36 -05:00
Peter Van der Beken
147e2bb1eb Fix for bug 814195 (Replace Element quickstubs with new binding methods). r=bz.
--HG--
extra : rebase_source : 360b2ee1bc678265781991149185a1c1d262642e
2012-11-22 12:09:43 +01:00
Ehsan Akhgari
88689f2f34 Merge mozilla-central into mozilla-inbound 2012-11-28 09:43:30 -05:00
Olli Pettay
d0b7012d35 Bug 811206, Fix JSHolder drop handling, part 2 (assert), r=mccr8
--HG--
extra : rebase_source : e7731c7d1f81e250ea6992e4a15c3dc52bb136d0
2012-11-28 02:56:06 +02:00
Olli Pettay
3a7f9cf922 Bug 811206, Fix JSHolder drop handling, part 1 (base), r=mccr8
--HG--
extra : rebase_source : 0ea98d9e542ebade36653661fe4e941a03b87781
2012-11-28 01:54:15 +02:00
Peter Van der Beken
44aba20f63 Fix for bug 814821 (Dromaeo dom-traverse regression from bug 812333) - part 4: inline xpc_qsUnwrapObj. r=bz.
--HG--
extra : rebase_source : 712ff5573098f9d29fce555fb8cd548c5900d60e
2012-11-27 10:20:05 +01:00
Peter Van der Beken
16f77d369b Fix for bug 814821 (Dromaeo dom-traverse regression from bug 812333) - part 3: reorder castNativeFromWrapper. r=bz.
--HG--
extra : rebase_source : 6f5e0593219f5f664791c1cd0c976f43fb96609e
2012-11-27 10:20:05 +01:00
Brian Hackett
24781f1011 Assert that GC things are only marked on the main thread, bug 815906. r=billm 2012-11-27 21:07:34 -08:00
Geoff Brown
927ee7925e Bug 815699 - Check for null mGREDir in xpcshell dir provider; r=jimm 2012-11-27 11:44:24 -07:00
Jon Coppeard
b78b6fd296 Bug 790338 - Handle nuked wrappers in list of incoming gray pointers r=billm
--HG--
extra : rebase_source : 869b862af6ce9035f8bd8ccc247d3e4d453a4f9f
2012-11-16 15:52:09 +00:00
Jon Coppeard
c71c449d4a Bug 790338 - Mark weak references in the current compartment group only rather than for all collecting compartments r=billm
--HG--
extra : rebase_source : 46d236a1f70a2f8fa80ef7d0b1eb8f73ccdd7c34
2012-11-06 16:01:18 +00:00
Jon Coppeard
33e1b47edf Bug 790338 - Improve debugger find edges code r=billm
--HG--
extra : rebase_source : 25574a7ca88533ce78ab06e18c4b1625df0fa70d
2012-11-06 17:45:58 +00:00
Jon Coppeard
8d898ef7c3 Bug 790338 - Make weakmap list per-compartment rather than per-runtime r=billm
--HG--
extra : rebase_source : 3f3ceee949ae9fc2a0ac232038e3858ff838c193
2012-11-02 18:03:59 +00:00
Jon Coppeard
394bdcc8e7 Bug 790338 - Make debug scopes object part of compartment not runtime r=billm
--HG--
extra : rebase_source : 61e87a7b79541b70cf9d46451b69aef7368436fc
2012-11-02 18:02:25 +00:00
Jon Coppeard
57f32137f0 Bug 790338 - Store the list of arraybufs per compartment rather than on the runtime r=billm
--HG--
extra : rebase_source : 38ba69d144983afbc2dc1e3996c21ca20f7f9c30
2012-10-31 17:59:22 +00:00
Jon Coppeard
4198468b8f Bug 790338 - Update GC stats with time spent marking in the sweep phase and add more detail to sweep tables phase r=billm
--HG--
extra : rebase_source : 1e05d780ec815320985e031250e378a38ce8ab36
2012-10-24 13:08:09 -07:00
Jon Coppeard
be07e20611 Bug 790338 - Sweep debugger objects in the same group as their debugees r=billm
--HG--
extra : rebase_source : a97bb6aefa4291496a40b643887b4f712bc18119
2012-10-16 12:28:32 +01:00
Jon Coppeard
751b79f578 Bug 790338 - Fix issues with gray marking r=billm
--HG--
extra : rebase_source : 3bf292670ecc2f314404d02d25c2357dadd682e4
2012-10-12 15:26:07 +01:00
Jon Coppeard
601b47ec0f Bug 790338 - Sweep compartments in groups r=billm
--HG--
extra : rebase_source : 7831452ee66ae9e10d83e77279e68b463748691c
2012-11-16 15:34:22 +00:00
Jon Coppeard
cd78b635df Bug 790338 - Split up xpconnect finalization callback r=billm
--HG--
extra : rebase_source : 2b70376622af8104d829c23b0014cbd7d8d73a87
2012-10-12 10:45:30 +01:00
Jon Coppeard
ffbe886600 Bug 790338 - Add Is*AboutToBeFinalized functions r=billm
--HG--
extra : rebase_source : 629c81772d673eb4f4c7ce45db57f6111468689c
2012-10-12 10:45:30 +01:00
Jon Coppeard
c93d854a54 Bug 790338 - Implement Tarjan's algorithm to find the stongly connected components of the compartment graph r=billm
--HG--
rename : accessible/src/windows/sdn/sdnAccessible.cpp => accessible/src/msaa/nsAccessNodeWrap.cpp
rename : accessible/src/windows/sdn/sdnAccessible.h => accessible/src/msaa/nsAccessNodeWrap.h
extra : rebase_source : f529480202322726c55c23e40529c81092c5b6c3
2012-10-12 10:45:29 +01:00
Nicolas B. Pierron
34bb8ea86d Bug 814177 - Use a callVM for generic InstanceOf cases. r=dvander 2012-11-26 19:09:52 -08:00
Boris Zbarsky
909d2e8440 Bug 815460. Always inline JS_THIS so that we don't run into performance issues if the compiler decides not to inline it. r=waldo 2012-11-26 21:16:05 -05:00
Jim Blandy
19a6d304d6 Bug 815044: Make js_DecompileScript, and js_DecompileFunction static to jsopcode.cpp. Delete js_DecompileFunctionBody; it is unused. r=jorendorff 2012-11-26 16:47:59 -08:00
Marty Rosenberg
3921e89df1 Finally fix the second stack alignment check (second half of 3136d5ea2399) (bug 810996, bug 807156, r=djvj) 2012-11-26 19:06:41 -05:00
David Anderson
ee22d30cca Add incremental barriers to addprop ICs (bug 811058, r=billm).
--HG--
extra : rebase_source : 518dcb987ddd2967ffd24e79afcee203d9d83820
2012-11-26 13:57:46 -08:00
Kyle Huey
7ba6475e09 Bug 814102: Make the 'this' object used when compartment sharing a FakeBackstagePass. r=mrbkap 2012-11-26 14:41:59 -08:00
Kyle Huey
e5a7452bf5 Bug 811784: Account for subscripts when figuring out what object to stick properties on. r=mrbkap 2012-11-26 14:41:55 -08:00
Brian Hackett
398a07a15c Clone type sets to avoid races when compiling off thread, bug 815258. r=dvander 2012-11-26 16:32:45 -05:00
Brian Hackett
4e0efb87f1 Add config option for off thread compilation, bug 815199. r=dvander 2012-11-26 16:30:37 -05:00
Brian Hackett
dd27307a94 Factor common register allocation code and add integrity checker to RegisterAllocator.h, add baseline StupidAllocator, bug 812945. r=jandem 2012-11-26 12:27:05 -05:00
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
Jeff Gilbert
8c13f0684f Bug 813278 - Overload JSAutoCompartment for TimeZoneSettingObserver - r=luke 2012-11-20 01:39:26 -08:00
Jason Orendorff
0f80db877d Bug 812314 part 2 - User fewer namespace js {...} blocks in .cpp files in js/src/gc. r=terrence.
--HG--
extra : rebase_source : 821757d2ac77c66ce42c3db42d9dcaa99e6ae637
2012-11-16 16:00:02 -06:00
Jason Orendorff
963f9258c3 Bug 812314 part 1 - Use fewer namespace js {...} blocks in .cpp files in js/src, js/src/builtin, js/src/vm. r=luke.
--HG--
rename : browser/components/privatebrowsing/test/browser/perwindow/browser_privatebrowsing_localStorage_before_after.js => browser/components/privatebrowsing/test/browser/global/browser_privatebrowsing_localStorage_before_after.js
rename : browser/components/privatebrowsing/test/browser/perwindow/browser_privatebrowsing_localStorage_before_after_page.html => browser/components/privatebrowsing/test/browser/global/browser_privatebrowsing_localStorage_before_after_page.html
rename : browser/components/privatebrowsing/test/browser/perwindow/browser_privatebrowsing_localStorage_before_after_page2.html => browser/components/privatebrowsing/test/browser/global/browser_privatebrowsing_localStorage_before_after_page2.html
rename : browser/components/privatebrowsing/test/browser/perwindow/browser_privatebrowsing_placestitle.js => browser/components/privatebrowsing/test/browser/global/browser_privatebrowsing_placestitle.js
rename : browser/components/privatebrowsing/test/browser/perwindow/title.sjs => browser/components/privatebrowsing/test/browser/global/title.sjs
extra : rebase_source : d1d1c39b490ae33fb9e8417ed72c2b77ee631416
2012-11-16 15:59:26 -06:00
Bill McCloskey
dcc622c54b Backout 2ee20348ae59 (bug 747066) for Win64 crashes 2012-11-20 10:45:43 -08:00
Benjamin Peterson
682af1e5b6 Bug 795104 - Sources with a custom charset can't be lazily loaded. r=bz 2012-11-20 11:30:03 -06:00
Benjamin Peterson
151faf7a36 Bug 795104 - Load source if needed in JS_DecompileScript. r=jorendorff 2012-11-20 11:29:53 -06:00
Benjamin Peterson
6194cd565d Bug 795104 - Don't abort compression, which isn't happening. r=jorendorff 2012-11-20 11:29:42 -06:00
Boris Zbarsky
f956455475 Bug 813423. A bit more inlining for stuff that should really be inline. r=peterv 2012-11-20 11:36:06 -05:00
Boris Zbarsky
4479610b88 Bug 813419. Add a non-null-checking version of xpc_UnmarkGrayObject. r=mccr8 2012-11-20 11:36:06 -05:00
Jan de Mooij
d302af1b37 Bug 772830 - Add some regalloc asserts. r=dvander 2012-11-20 14:08:59 +01:00
Bill McCloskey
1acddfd761 Bug 815652 - Remove accidental temporary rooting object (r=bhackett) 2012-11-27 13:59:13 -08:00
Ryan VanderMeulen
d579f8cccb Backed out changesets fff6b88d59c4 and 1c53e57a11ba (no bug) for OSX 10.8 bc crashes. 2012-11-27 16:44:37 -05:00
Ehsan Akhgari
7d0b7e0454 Backed out 6 changesets (bug 814821, bug 815158, bug 814195) for test failures
Backed out changeset 0c2011091748 (bug 815158)
Backed out changeset 9d70b4460508 (bug 814195)
Backed out changeset bf8746658a72 (bug 814821)
Backed out changeset e73366b088d7 (bug 814821)
Backed out changeset 49fc6d535c41 (bug 814821)
Backed out changeset 987aea26a43a (bug 814821)
2012-11-27 16:30:39 -05:00
Ehsan Akhgari
b4de8e9c4a Backed out 2 changesets (bug 813381) for build bustage
Backed out changeset fb86e02eb420 (bug 813381)
Backed out changeset 415cbab797d5 (bug 813381)
2012-11-27 16:28:51 -05:00
Steve Fink
654b189445 Bug 813381 - Further CheckStackRoots optimization - suppress repeated checks of the same stack configuration. r=terrence
--HG--
extra : rebase_source : 7d811e399652e92bbdf5a27d7e5dd688aba7f6a6
2012-11-27 12:24:52 -08:00
Steve Fink
7efd18ffb2 Bug 813381 - Optimize CheckStackRoots. r=terrence
--HG--
extra : rebase_source : 8d2e89895237d07788bd5e65ee15af55529f72fb
2012-11-19 14:20:12 -08:00
Hannes Verschore
7ae9ed3fd6 Bug 813773: Enable IM to IM fastpath for constructing calls, r=nbp,sstangl 2012-11-27 22:03:37 +01:00
Peter Van der Beken
9ac91a75ad Fix for bug 814195 (Replace Element quickstubs with new binding methods). r=bz.
--HG--
extra : rebase_source : 349ceea8412f4133e1b9de4e2859d7663da27fa5
2012-11-22 12:09:43 +01:00
Peter Van der Beken
e27790ae3f Fix for bug 814821 (Dromaeo dom-traverse regression from bug 812333) - part 4: inline xpc_qsUnwrapObj. r=bz.
--HG--
extra : rebase_source : 8506cc86db7ebfe8832ed5696aeb45c79364af1f
2012-11-27 10:20:05 +01:00
Peter Van der Beken
7327a3dd07 Fix for bug 814821 (Dromaeo dom-traverse regression from bug 812333) - part 3: reorder castNativeFromWrapper. r=bz.
--HG--
extra : rebase_source : ad4c96a240140f56b1b451df3b57a4d5c47ee3ee
2012-11-27 10:20:05 +01:00
Bill McCloskey
5184159e98 No bug - Fix compile error in jsgc.cpp 2012-11-27 12:04:22 -08:00
Bill McCloskey
3fc39dbdc8 No bug - Fix macro warning in jsgc.cpp (rs=Waldo) 2012-11-27 12:00:26 -08:00
Nicolas B. Pierron
b4a74f1cc8 Bug 810062 - Toggle JSOPTIONs before the compartment creation. r=bhackett 2012-11-19 18:07:20 -08:00
Kannan Vijayan
948ea28912 Bug 813328 - Add initialize() method to IonCompartment. r=dvander 2012-11-19 17:43:13 -05:00
Steve Fink
dd7fbfde9d Bug 809977 - Allow output with progress bar. r=terrence
--HG--
extra : rebase_source : 6a87e7a24189769876e5638a60770dd95d48a921
2012-11-19 14:19:01 -08:00
Steve Fink
d0103da4ab Bug 809975 - --failed-only should ignore expected failures. r=terrence
--HG--
extra : rebase_source : 778596de5033dc7ff19ea074e4f660eb1f9f4fd0
2012-11-19 14:18:48 -08:00
Ehsan Akhgari
afc5d542fa Merge mozilla-central into mozilla-inbound 2012-11-19 17:07:53 -05:00
Alex Keybl
98c4160eda Merging in version bump NO BUG 2012-11-19 12:03:27 -08:00
Nicholas Nethercote
bf0e02fe87 Bug 789398 - Rework the type inference memory reporters. r=bhackett.
--HG--
extra : rebase_source : 945c35907d0d4a62b904664da7b5f2b35a182034
2012-11-18 14:40:01 -08:00
Tom Schuster
fa3189ca91 Bug 802869 - IonMonkey: Fast path for the |in| operation with int32 and dense arrays. r=jandem 2012-11-18 22:14:18 +01:00
Jim Mathies
8c2cb167a1 Bug 810810 - Add support for 'APluginsDL' to the xpcshell directory service provider and return the GRE folder when queried. r=bsmedberg, glandium 2012-11-17 14:35:16 -06:00
Ehsan Akhgari
400a738411 Backed out changeset a8832e8df0c8 (bug 811349) because of busted b2g debug builds 2012-11-17 10:59:39 -05:00
Brian Hackett
e5af081771 Show generated assembly in Ion PC count information, bug 811349. r=pierron 2012-11-17 07:08:43 -08:00
Jan de Mooij
6d6d94a637 Bug 812537 - Move GetDenseArrayShape to jsarray. r=bhackett 2012-11-17 11:54:21 +01:00
Jonathan Griffin
49b10d35d6 Backed out a94288026ea5 (Bug 811784) for turning all b2g emulator tests red 2012-11-16 18:30:22 -08:00
Jeff Walden
b771c66978 Bug 812218 - Move user-supplied CFLAGS/CXXFLAGS to the end of commandline, so that they can't interfere with the setting of defaults. r=khuey
--HG--
extra : rebase_source : e74249194de8b5060ccf429719b9b082d2e6b9c7
2012-11-14 16:59:30 -08:00
David Anderson
41ddfe3144 Remove yarr/TypeTraits.h (bug 812678, r=luke). 2012-11-16 16:52:18 -08:00
David Anderson
94211ed072 Ensure that frames are cleaned up if we run out of stack space. (bug 812341, r=jandem). 2012-11-16 16:49:18 -08:00
Eddy Bruel
13f72bb365 Bug 811343 - proxy parent to cx->global() by default; r=bholley 2012-11-17 00:36:02 +01:00
Kyle Huey
0797f155da Bug 811784: Account for subscripts when figuring out what object to stick properties on. r=mrbkap
--HG--
extra : rebase_source : 6da8a33c512b2e5758094f4a2108e5c342c7c28c
2012-11-16 08:54:58 -08:00
Bill McCloskey
bc41cc980a Bug 747066 - Inline xpc_UnmarkGray (r=terrence) 2012-11-19 10:59:01 -08:00
Paul Adenot
5123e13926 Bug 779997 - Disable build and linking of libsoundtouch as it is not used for now. r=glandium 2012-11-19 16:36:06 +00:00
Brian Hackett
b4fa83d9c5 Pass runtime instead of bogus compartment to MarkFromIon, bug 812235. r=dvander 2012-11-16 12:28:27 -08:00
Bill McCloskey
5f26a9fcb1 Bug 812393 - Sweep strings and scripts incrementally (r=jonco)
--HG--
extra : rebase_source : 301b3029444d378bcb90e7140b508f6f35187425
2012-11-16 11:08:32 -08:00
Brian Hackett
aa13f3b2ad Don't discard JM code after off thread Ion compilation until the Ion code can be entered, bug 785494. r=jandem 2012-11-16 10:38:28 -08:00
Ed Morley
a52e6ce1aa Backout 4bc502c08da4 (bug 811784) for xpcshell failures 2012-11-16 18:16:33 +00:00
Shu-yu Guo
34d91f71c3 Bug 808949 - Remove clearParent and clearType from {Clone,XDR}InterpretedFunction. (r=bhackett) 2012-11-16 09:24:24 -08:00
Brian Hackett
8e50ee30d1 Add profiling of basic block hit counts for IonMonkey and expose to addons, bug 811349. r=pierron 2012-11-16 09:14:06 -08:00
Kyle Huey
5cc8b7c1e2 Bug 811784: Account for subscripts when figuring out what object to stick properties on. r=mrbkap 2012-11-16 08:54:58 -08:00
Marty Rosenberg
d5052d50c3 Rather than just infinite looping, or abort compilation on would-be iloops (bug 803470, r=dvander) 2012-11-16 09:12:49 -05:00
Jan de Mooij
920299add9 Bug 812280 - Remove move32/movePtr overloads that take an Address. r=dvander 2012-11-16 12:05:55 +01:00