Commit Graph

23609 Commits

Author SHA1 Message Date
Hannes Verschore
fe2c0df0a9 Bug 819797: Don't use range information when range analysis is disabled, r=bhackett 2012-12-11 12:22:03 +01:00
Hannes Verschore
d75d66b99a Bug 813773: Increase speed of calls with unknown function target using IM to IM fastpath, r=nbp,sstangl 2012-11-27 22:03:37 +01:00
Hannes Verschore
cdfe72685c Bug 819299: Add handling of MagicValue(JS_IS_CONSTRUCTING) to MCreateThis, r=dvander 2012-12-09 22:57:01 +01:00
Till Schneidereit
fa7b8b7f31 Bug 819700 - Part 4: Followup for a bug introduced in Part 1. r=ms2ger
--HG--
extra : rebase_source : f2dc7ac7d6c2e74a8a3eb01e61541a7162ad8833
2012-12-11 10:40:25 +01:00
Till Schneidereit
7a588e2984 Bug 819700 - Part 3: Cleanup of intrinsics naming and arguments order of callFunction. r=shu 2012-12-11 09:48:42 +01:00
Till Schneidereit
b596355508 Bug 819700 - Part 2: Remove support for the "%FunName" syntax in self-hosted code. r=shu 2012-12-11 09:48:42 +01:00
Till Schneidereit
b0cc210f52 Bug 819700 - Part 1: Move all self-hosting code from jscntxt.cpp to vm/SelfHosting.cpp. r=luke 2012-12-11 00:58:42 +01:00
Nicholas Nethercote
0d84313efb Bug 717853 - Add a native version of DMD. r=jlebar,glandium.
--HG--
extra : rebase_source : 9b824556591abd63b42aa7ff823e9cd25976c162
2012-12-10 16:05:07 -08:00
Steve Fink
6e6bee80b5 Bug 817812 - Fix --enable-root-analysis compile. r=terrence
The recent jsgc.cpp splitup removed some functions that my rooting analysis optimization depended on. This patch exposes a simplified IsAddressableGCThing overload and uses it.

--HG--
extra : rebase_source : a9295ec574824462d3b8c0c9f7bca3a4baec1300
2012-11-30 16:04:42 -08:00
Blake Kaplan
16f5dc38bc Bug 820185 - Fix the copy constructor to not use uninitialized members. r=bent
--HG--
extra : rebase_source : bef21925492ded3580021e3546b6117bb8a6639e
2012-12-10 16:12:49 -08:00
Sean Stangl
0281a13d0d Bug 807464 - Increase Ion script size limit to 2000. r=dvander 2012-12-10 15:27:47 -08:00
Kannan Vijayan
bd0ecc3268 Bug 819611 - test case. r=gkw 2012-12-10 16:41:07 -05:00
Terrence Cole
ced5b24cdc Bug 820080 - Don't limit test count to be less than 10,000; r=sfink
Running jittests with --tbpl broke because of this limitation.

--HG--
rename : layout/reftests/backgrounds/background-referrer-ref.html => image/test/reftest/generic/accept-image-catchall-ref.html
rename : layout/reftests/backgrounds/background-referrer.html => image/test/reftest/generic/accept-image-catchall.html
rename : layout/reftests/backgrounds/background-referrer.sjs => image/test/reftest/generic/check-header.sjs
rename : layout/reftests/backgrounds/background-referrer-image.png => image/test/reftest/generic/green.png
rename : toolkit/components/places/tests/browser/favicon-normal16.png => toolkit/components/places/tests/favicons/favicon-normal16.png
rename : toolkit/components/places/tests/browser/browser_favicon_setAndFetchFaviconForPage_failures.js => toolkit/components/places/tests/favicons/test_setAndFetchFaviconForPage_failures.js
extra : rebase_source : e5d099dc930b865014441e1dff06f3d75f1aef88
2012-12-10 13:11:04 -08:00
Kannan Vijayan
d48d1f6a7d Bug 819611 - Dont attach scall-StrictPropertyOp-setter stubs for SetProps on non-writable properties. r=dvander 2012-12-10 15:48:54 -05:00
Brian Hackett
7d1ac71bab Bug 815258 - add missing cloneTypeSet(), r=dvander 2012-12-10 12:08:09 -07:00
Brian Hackett
bacc5d530d Remove bytecode uses analysis, keep track of SSA values that were folded away when building MIR, bug 818869. r=jandem 2012-12-10 12:02:31 -07:00
Ryan VanderMeulen
7235f1bb84 Backed out changeset 51f84c093747 (bug 805121) for test failures. 2012-12-10 11:07:18 -05:00
Jeff Walden
705ffec92b Bug 805121 - Be more careful checking math to avoid incorrect behaviors. r=terrence 2012-10-31 15:07:59 -07:00
Ralph Giles
a2d849874c Bug 815931 - Fix up valgrind stack-scan annotations. r=terrence
Conditionalize on MOZ_VALGRIND instead of aliasing it to JS_VALGRIND, and add includes for the memcheck macros. The memcheck header is removed from jsgc.cpp, where is is no longer necessary.
2012-12-06 13:19:58 -08:00
Brian Hackett
44ff0d6f9c Improve loading elements from arrays with holes on x86, bug 727857. r=sstangl 2012-12-10 06:18:43 -07:00
Makoto Kato
e478224aa6 Bug 817960 - cannot build AssemblerBufferWithConstantPool.h using clang 3.1 in NDK r8c. r=mrosenberg 2012-12-10 14:05:45 +09:00
Hannes Verschore
776376531d Backed out changeset f1a9592618ec due to orange 2012-12-10 00:48:59 +01:00
Hannes Verschore
e9c221edf3 Backed out changeset 82e13120f8b9 due to orange 2012-12-10 00:46:43 +01:00
Hannes Verschore
0c7b909240 Bug 813773: Enable IM to IM fastpath for constructing calls, r=nbp,sstangl 2012-11-27 22:03:37 +01:00
Hannes Verschore
d9768d1f83 Bug 819299: Add handling of MagicValue(JS_IS_CONSTRUCTING) to MCreateThis, r=dvander 2012-12-09 22:57:01 +01:00
Ehsan Akhgari
6a8d44025c Merge mozilla-central into mozilla-inbound 2012-12-09 12:40:04 -05:00
Saurabh Anand
c9e3659e16 Bug 818817 - Fix some compiler warnings, r=Ms2ger 2012-12-09 22:53:19 +05:30
Mike Hommey
ec5aefdc0a Bug 818903 - Link with --build-id when available. r=ted 2012-12-09 09:34:01 +01:00
Nicolas B. Pierron
68850f3566 Bug 807443 - IonMonkey, Compile named lambdas. r=dvander 2012-12-08 18:28:47 -08:00
Brian Hackett
dc306f9d2a Tweak locations where compiled chunks begin/end, bug 808481. r=dvander 2012-12-08 16:14:15 -07:00
Saurabh Anand
2eaca62ca5 Bug 814562 - Implement clear() on WeakMaps 2012-12-09 04:27:58 +05:30
Brian Hackett
102ffc76e9 Improve check that code will not be preserved in mjitChunkLimit(), bug 808349. r=dvander 2012-12-08 12:16:44 -07:00
Marty Rosenberg
35c0a9b4a5 Attempt to fix the issues by disabling IM when we run into a corner case, rev 3, looks good on try (bug 805299, r=dvander) 2012-12-02 22:21:57 -05:00
Terrence Cole
a98057a10f Backout 4356739a6f44 for breakage. 2012-12-07 17:15:57 -08:00
Terrence Cole
6704d9eebf Bug 819118 - Use accessor rather than direct script access; r=billm
This abstracts the requirement to manually cast from HeapPtr to Unrooted.

--HG--
rename : browser/components/tabview/test/browser_tabview_privatebrowsing_perwindowpb.js => browser/components/tabview/test/browser_tabview_privatebrowsing.js
rename : layout/reftests/backgrounds/background-referrer-ref.html => image/test/reftest/generic/accept-image-catchall-ref.html
rename : layout/reftests/backgrounds/background-referrer.html => image/test/reftest/generic/accept-image-catchall.html
rename : layout/reftests/backgrounds/background-referrer.sjs => image/test/reftest/generic/check-header.sjs
rename : layout/reftests/backgrounds/background-referrer-image.png => image/test/reftest/generic/green.png
extra : rebase_source : 5a04a709fa1042509d1d2aa3cbd0cf8f2a0b012b
2012-12-05 14:21:44 -08:00
Terrence Cole
07a8807f72 Bug 819553 - Remove unused JS_UndependString getCharsZ user; r=luke 2012-12-07 12:33:19 -08:00
Bobby Holley
2db9f70258 Bug 813901 - Validate __exposedProps__. r=mrbkap
This also involves modifying test_cows to deep clone in getCOW.
2012-12-07 14:49:11 -08:00
Bobby Holley
12044005c7 Bug 813901 - Throw COW exceptions in the wrapper's scope. r=mrbkap 2012-12-07 14:49:11 -08:00
David Anderson
9d6bdb756f Turn PGO off for various functions (bug 791214, r=jandem). 2012-12-07 14:01:40 -08:00
Jason Orendorff
78e9d780b0 Fix some comments about JSRuntime::gcLock. No bug#, rs=billm over IRC. 2012-12-07 12:51:02 -06:00
Kannan Vijayan
7c5434bd42 Bug 819393 - Refactor BoxNonStrictThis. r=jorendorff 2012-12-07 13:02:04 -05:00
Marty Rosenberg
b92fbcf202 Port IM to armhf (bug 802358, r=jbramley) 2012-12-07 11:12:18 -05:00
Marty Rosenberg
0c71491d98 Don't hoist typeguards that are guaranteed to bail. (bug 818791, r=dvander) (also fix a comment for mrbkap) 2012-12-07 11:12:16 -05:00
Nicholas D. Matsakis
92b19b1f77 Bug 818247: Modify thread pool to (1) not spawn threads if useHelperThreads()
is false and (2) spawn threads lazilly. r=billm
2012-12-07 05:27:57 -08:00
Mike Hommey
95d176978d Bug 804303 part 1 - Cleanup how the mozjemalloc/jemalloc3 glue is set up, attempting to make it clearer. r=jlebar,r=khuey
--HG--
rename : memory/build/extraMallocFuncs.c => memory/build/jemalloc_config.c
rename : memory/mozjemalloc/jemalloc.h => memory/build/mozmemory.h
rename : memory/build/extraMallocFuncs.c => memory/build/mozmemory_wrap.c
2012-12-07 09:32:24 +01:00
Steve Fink
7596fd6977 Bug 811050 - Intialize stolen ArrayBuffer data. r=billm 2012-11-13 16:20:43 -08:00
Jeff Walden
d70294271f GC some sharp-variable js.msg entries that have probably been unused since sharp variables were removed. No bug, rs=lumpy, salting the ground
--HG--
extra : rebase_source : 29b522e6debcee7d6009d585f138a0e2d89e7ed2
2012-12-03 16:12:12 -08:00
Jeff Walden
5b328e2898 Back out 75e0d521bc2b, breaks standalone JS builds on Linux, at the very least. No bug, r=bustage
--HG--
extra : rebase_source : bbc50bca64c951f22e5b31d06717de5581d24b58
2012-12-06 17:08:01 -08:00
Bill McCloskey
09086dd412 Bug 747066 - Add vtable assertion (r=bz)
--HG--
extra : rebase_source : e989536ee950152925c353c26ead9a56adea2baa
2012-12-06 17:11:45 -08:00
Ehsan Akhgari
33068537f7 Backed out changeset 747b04228fa6 (bug 807443) because of crashes on a website when scrolling 2012-12-06 19:58:21 -05:00
Bill McCloskey
417249e590 Bug 747066 - Inline xpc_UnmarkGray (r=terrence)
--HG--
extra : rebase_source : 260e28983e892928daee5e661f52a66d7e6cd30a
2012-11-28 17:03:54 -08:00
Ian Stakenvicius
efd606d6fe Bug 809430 - Add symbol-versions to libxul and libmozjs for linux. r=glandium 2012-12-06 16:21:02 -05:00
Peter Van der Beken
a5de435427 Fix for bug 818219 (Replace HTMLElement quickstubs with new binding methods). r=bz.
--HG--
rename : layout/reftests/backgrounds/background-referrer-ref.html => image/test/reftest/generic/accept-image-catchall-ref.html
rename : layout/reftests/backgrounds/background-referrer.html => image/test/reftest/generic/accept-image-catchall.html
rename : layout/reftests/backgrounds/background-referrer.sjs => image/test/reftest/generic/check-header.sjs
rename : layout/reftests/backgrounds/background-referrer-image.png => image/test/reftest/generic/green.png
rename : toolkit/components/places/tests/browser/browser_favicon_setAndFetchFaviconForPage.js => toolkit/components/places/tests/favicons/test_setAndFetchFaviconForPage.js
extra : rebase_source : 45715d6abe3155a6bcd1d21e5cc3f7b048180eb6
2012-11-26 15:19:02 +01:00
Jim Blandy
a43ba24aea Bug 815045: Delete JOF_TYPE_IS_EXTENDED_JUMP; it is unused. Fix comment in js::frontend::AddToSrcNoteDelta. r=luke 2012-12-06 13:00:55 -08:00
Jim Blandy
bd52abcd05 Bug 815468: BaseProxyHandler::iteratorNext is never used; delete it. r=luke 2012-12-06 13:00:55 -08:00
Boris Zbarsky
d1c8d3b88e Bug 815803. Now that JSSLOT_PROXY_PRIVATE == 0, simplify binding code that had to deal with different slot indices on proxy and non-proxy objects. r=peterv 2012-12-06 15:21:19 -05:00
Boris Zbarsky
c3afd4c569 Bug 803606. Reverse the order of JSSLOT_PROXY_HANDLER and JSSLOT_PROXY_PRIVATE. r=waldo 2012-12-06 15:21:19 -05:00
Boris Zbarsky
f6e486d716 Bug 816842. Clean up jsval return values in quickstubs a bit. r=bholley 2012-12-06 15:21:18 -05:00
Bill McCloskey
c48589384d Bug 810169 - Extra marking for JSContext::global() (r=luke)
--HG--
extra : rebase_source : 573ec5d6efb8ba5e5b4ecb0c459ab6160543d1bc
2012-12-05 17:44:49 -08:00
Terrence Cole
11bdd71483 Bug 818944 - Share progressbar code between js test suites; r=sfink 2012-12-06 09:48:08 -08:00
Ehsan Akhgari
4e4ec52654 Merge mozilla-central into mozilla-inbound 2012-12-06 13:13:33 -05:00
Mike Hommey
097fa29aa1 Bug 818092 - Properly use CC/CXX from mozconfig on non-cross-compile Mac builds. r=ted 2012-12-06 17:06:37 +01:00
Terrence Cole
a742e2bb8f Bug 817091 - Merge Unrooted<T> and Return<T>; r=billm
After Bug 811168, Unrooted<T> and Return<T> perform the same assertions and
allow the same implicit casts. Given this and the performance impact of keeping
Return<T> as a struct, it would be better to just merge these two classes.

--HG--
extra : rebase_source : 173ab623c21b3da9b693b56a33f72aa8efef7b87
2012-12-04 11:10:53 -08:00
Tom Schuster
86e9485ee7 Bug 818138 - On x64 optimize push with small pointer immediates. r=jandem 2012-12-06 16:33:35 +01:00
Tom Schuster
643f882ee6 Bug 818414 - CodeGenerator::visitValueToInt32 generates suboptimal code. r=jandem 2012-12-06 16:33:30 +01:00
Peter Van der Beken
e2dae3625c Back out 79fc9d732bf7 (bug 818219) for orange.
--HG--
extra : rebase_source : 862b4c446f9b454c4c72e7536e73b9d9ede9feb6
2012-12-06 16:09:55 +01:00
Peter Van der Beken
56e664510b Fix for bug 818219 (Replace HTMLElement quickstubs with new binding methods). r=bz.
--HG--
extra : rebase_source : ddbedbaea030272ce8fc1ac7245175f7fd3edaa4
2012-11-26 15:19:02 +01:00
Jon Coppeard
81d4577b37 Bug 817614 GC: Fix minor issue with GC zeal mode and add tests r=billm
--HG--
extra : rebase_source : c5e87721d98c66b84d15d083a68bb0233f513192
2012-12-03 17:35:10 +00:00
Jon Coppeard
95a68422ba Bug 817002 - Crash [@ js::shadow::Object::numFixedSlots] or "Assertion failure: (l.asBits & 0x8000000000000000LL) == 0," or "Assertion failure: JSVAL_IS_DOUBLE_IMPL(data)," r=sfink
--HG--
extra : rebase_source : cea1838a5196dc414cb2f944e151d14e7527d515
2012-12-04 17:30:30 +00:00
Nicolas B. Pierron
92421f7e34 Bug 811111 - Ensure that no GC happen during bailouts. r=terrence 2012-12-05 16:26:47 -08:00
Brian Smith
8b3350f6d2 Bug 772365, Part 1: Implement JARSignatureVerification, r=honzab, parts r=ehsan
* * *
Bug 772365, Part 2.1: Generate test cases for signed app signature verification
* * *
Bug 772365, Part 2.2: Test JAR signature verification

--HG--
extra : rebase_source : 198be789e8b1565dad418e15760fa6dc90da843f
2012-11-14 15:31:39 -08:00
Nicolas B. Pierron
4df310e2f0 Bug 807443 - IonMonkey, Compile named lambdas. r=dvander 2012-12-05 22:51:52 -08:00
Jim Mathies
4b5bd2fb0c Bug 817076 - Update package manifests to new service locations and key PREF_DIR location off DIST_SUBDIR. r=glandium 2012-12-05 16:36:15 -06:00
Jim Mathies
0c8f97af4e Bug 817076 - Update xpcshell's NS_APP_PREFS_DEFAULTS_DIR_LIST so that it returns the app dir if specified. r=glandium 2012-12-05 16:35:34 -06:00
Bill McCloskey
14126c37f3 Bug 817493 - Address review comments (r=jonco) 2012-12-05 13:21:00 -08:00
Brian Hackett
2aa9efa18a Fix test for incremental GC when triggering off thread compilation, bug 817635. r=billm 2012-12-05 09:54:57 -07:00
Nicolas B. Pierron
1e30c860c2 SpiderMonkey: Cancel GCC compilation noise. no bug r=jandem 2012-12-05 01:56:17 -08:00
Nicolas B. Pierron
37d3b0fa31 Bug 807461 - IonMonkey: Support JSOP_CONDSWITCH. r=h4writer 2012-12-05 00:14:44 -08:00
Bill McCloskey
aaa9a6c9d8 Bug 817493 - Use templates for compartment group finder (r=jonco)
--HG--
rename : js/src/gc/FindSCCs.cpp => js/src/gc/FindSCCs-inl.h
extra : rebase_source : 7e615cdbf19930171de3ae6ac7c960d4e59a46ec
2012-12-04 11:31:41 -08:00
Bill McCloskey
6bfd4379b9 Bug 817341 - Differentiate marking and sweep-marking in GC stats (r=jonco) 2012-12-04 18:29:45 -08:00
Benjamin Peterson
aa43825f66 No bug - Remove extra comma which gcc dislikes. r=me 2012-12-05 00:09:27 -05:00
Benjamin Peterson
b90a600d03 Bug 817452 - Remove AutoRelease[Nullable]Ptr. r=njn 2012-12-05 00:09:15 -05:00
Nicolas B. Pierron
7a071fabd7 Bug 810253 - Add tests and comments. r=dvander 2012-12-04 18:10:05 -08:00
Chris Peterson
6b00e891cd Bug 818245 - Part 2: Mark some functions as static and capitalize their names in Assembler-arm.cpp. r=dvander 2012-12-03 16:17:23 -08:00
Chris Peterson
4f91a7d146 Bug 818245 - Part 1: Fix "NULL used in arithmetic" warnings in Assembler-arm.cpp. r=dvander 2012-12-03 16:07:15 -08:00
Jim Blandy
4be2be38bd (no bug): Fix js/src/gdb/README. DONTBUILD 2012-12-04 11:38:33 -08:00
Rafael Ávila de Espíndola
86e6f515d8 Bug 803184 - Remove .cfi_sections .debug_frame. r=ted. 2012-12-04 15:15:05 -05:00
Andrew McCreight
bf4449f2b7 Bug 792861 - Make HoldJSObjects/DropJSObjects infallible. r=smaug 2012-11-12 17:15:00 -08:00
Tom Schuster
688299e293 Bug 797970 - Use stdint types in IonMonkey. r=jandem 2012-12-04 19:10:23 +01:00
Jim Blandy
0a3912edfc Bug 506717: GDB pretty-printing support for SpiderMonkey. r=sfink,ted 2012-12-04 08:47:57 -08:00
Jason Orendorff
654db152e3 Bug 800586 - jsdbg2: Compartment assertion when calling direct eval from evalInGlobal code. r=jimb.
--HG--
extra : rebase_source : 520a13dcb9998dd24d65028f8c4613b7159b9961
2012-12-03 17:23:57 -06:00
Jason Orendorff
cdfd5d49e5 Bug 744730 - jsdbg2: Fix assertion when processing onPop hook for a frame which the Debugger has forced to return. r=jimb.
--HG--
extra : rebase_source : 880176173a76c611c8347fe958c682e155d43f53
2012-12-03 17:15:16 -06:00
Jason Orendorff
e1d78648ac Bug 800410 - Debugger.Object.prototype.defineProperty needs to check that getters/setters are actually callable objects. r=jimb.
--HG--
extra : rebase_source : 0845908055e337ec1e5fa6dfca9a479ca78d514a
2012-12-03 14:51:59 -06:00
Constellation
79c0e51c74 Bug 802155 - Reflect.parse: Add "of" field to comprehension block. r=jorendorff.
--HG--
extra : rebase_source : 72e925e62c102ffcd094a5e5f92bfd28f16f3a0b
2012-11-01 12:53:08 +09:00
Jason Orendorff
98b1d3fcab Bug 816638 - Add nondeterministicGetWeakMapKeys to the JS shell. r=jcoppeard.
--HG--
extra : rebase_source : a4ee020dee963c73e26c5924e20c1e2210ce7645
2012-11-30 16:46:24 -06:00
Christian Holler
bc01553001 Bug 811756: Handle NaN in IsLeapYear and fix a double/int issue. rs=Waldo 2012-12-04 13:24:45 +01:00
Nicolas B. Pierron
a7ebd76a90 Bug 817714 - IonMonkey: Check allocation result in LookupSwitch. r=djvj 2012-12-03 18:58:26 -08:00
Vicamo Yang
fbfbc03f2c Bug 778093 - Part 3/9: complete onreceived event handling, r=mounir,hsinyi,bent 2012-12-04 10:40:47 +08:00
Bill McCloskey
690ea30784 Bug 815999 - Mark gray globals black before returning them to the debugger (r=mccr8) 2012-12-03 17:59:46 -08:00
Jim Blandy
c3f3ffd1e9 Bug 756581: Correctly handle out-of-memory in JS decompiler's PopOffPrec function. r=jorendorff 2012-12-03 14:37:48 -08:00
Jim Blandy
aa356d1c39 Bug 756581: Correctly track out-of-memory conditions in decompiler's Sprinter type. r=jorendorff 2012-12-03 14:37:48 -08:00
Brian Hackett
4bbfb41c7f Add generic priority queue implementation, bug 817769. r=luke 2012-12-03 15:25:26 -07:00
Jan de Mooij
415ee932dd Bug 817626 - Move JSOpToCondition to IonMacroAssembler.h r=djvj 2012-12-03 23:08:27 +01:00
Jan de Mooij
20ebf3954f Bug 817515 - Move JSOP_NEG implementation to NegOperation. r=djvj 2012-12-03 23:06:07 +01:00
Bill McCloskey
780d17f7e8 Backout ad1ee5f59a6e (bug 817343) for orange 2012-12-03 14:01:05 -08:00
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