Marty Rosenberg
b38977d5ab
Port IM to armhf (bug 802358, r=jbramley)
2012-12-07 11:12:18 -05:00
Marty Rosenberg
506b801311
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
71e21ee260
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
d5e3887cb4
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
debd043722
Bug 811050 - Intialize stolen ArrayBuffer data. r=billm
2012-11-13 16:20:43 -08:00
Jeff Walden
533a135cb5
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
11e8213ee9
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
d7f6754dc4
Bug 747066 - Add vtable assertion (r=bz)
...
--HG--
extra : rebase_source : e989536ee950152925c353c26ead9a56adea2baa
2012-12-06 17:11:45 -08:00
Ehsan Akhgari
5ae45ef9f3
Backed out changeset 747b04228fa6 (bug 807443) because of crashes on a website when scrolling
2012-12-06 19:58:21 -05:00
Bill McCloskey
99cc862ea6
Bug 747066 - Inline xpc_UnmarkGray (r=terrence)
...
--HG--
extra : rebase_source : 260e28983e892928daee5e661f52a66d7e6cd30a
2012-11-28 17:03:54 -08:00
Ian Stakenvicius
7be222064c
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
3939a9cb7b
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
a5622a9859
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
7f263401d8
Bug 815468: BaseProxyHandler::iteratorNext is never used; delete it. r=luke
2012-12-06 13:00:55 -08:00
Boris Zbarsky
fa853f8a85
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
e698116013
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
a4f96fba76
Bug 816842. Clean up jsval return values in quickstubs a bit. r=bholley
2012-12-06 15:21:18 -05:00
Bill McCloskey
6c89f3ea6c
Bug 810169 - Extra marking for JSContext::global() (r=luke)
...
--HG--
extra : rebase_source : 573ec5d6efb8ba5e5b4ecb0c459ab6160543d1bc
2012-12-05 17:44:49 -08:00
Terrence Cole
58a57b8af5
Bug 818944 - Share progressbar code between js test suites; r=sfink
2012-12-06 09:48:08 -08:00
Ehsan Akhgari
709d864bdd
Merge mozilla-central into mozilla-inbound
2012-12-06 13:13:33 -05:00
Mike Hommey
c50c70fc80
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
69e8d6270f
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
252d483b90
Bug 818138 - On x64 optimize push with small pointer immediates. r=jandem
2012-12-06 16:33:35 +01:00
Tom Schuster
4a5f707dbb
Bug 818414 - CodeGenerator::visitValueToInt32 generates suboptimal code. r=jandem
2012-12-06 16:33:30 +01:00
Peter Van der Beken
f693a39872
Back out 79fc9d732bf7 (bug 818219) for orange.
...
--HG--
extra : rebase_source : 862b4c446f9b454c4c72e7536e73b9d9ede9feb6
2012-12-06 16:09:55 +01:00
Peter Van der Beken
8ca0ac01c9
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
c7da6296ec
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
44d9f729ef
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
82c5aee951
Bug 811111 - Ensure that no GC happen during bailouts. r=terrence
2012-12-05 16:26:47 -08:00
Brian Smith
4031b71173
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
9c95d177f0
Bug 807443 - IonMonkey, Compile named lambdas. r=dvander
2012-12-05 22:51:52 -08:00
Jim Mathies
b1a8bc33ae
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
0bec073606
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
3ca44d4747
Bug 817493 - Address review comments (r=jonco)
2012-12-05 13:21:00 -08:00
Brian Hackett
afc97dbcf9
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
29191df9e0
SpiderMonkey: Cancel GCC compilation noise. no bug r=jandem
2012-12-05 01:56:17 -08:00
Nicolas B. Pierron
c8b47e407c
Bug 807461 - IonMonkey: Support JSOP_CONDSWITCH. r=h4writer
2012-12-05 00:14:44 -08:00
Bill McCloskey
025b4686f4
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
8e805e4167
Bug 817341 - Differentiate marking and sweep-marking in GC stats (r=jonco)
2012-12-04 18:29:45 -08:00
Benjamin Peterson
962931f97b
No bug - Remove extra comma which gcc dislikes. r=me
2012-12-05 00:09:27 -05:00
Benjamin Peterson
d838ae5bc8
Bug 817452 - Remove AutoRelease[Nullable]Ptr. r=njn
2012-12-05 00:09:15 -05:00
Nicolas B. Pierron
8fc4a45e29
Bug 810253 - Add tests and comments. r=dvander
2012-12-04 18:10:05 -08:00
Chris Peterson
c3c3ba9f0e
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
3014115f7e
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
dff7674ef3
(no bug): Fix js/src/gdb/README. DONTBUILD
2012-12-04 11:38:33 -08:00
Rafael Ávila de Espíndola
a6c9cd08a8
Bug 803184 - Remove .cfi_sections .debug_frame. r=ted.
2012-12-04 15:15:05 -05:00
Andrew McCreight
2fa5d0a9d8
Bug 792861 - Make HoldJSObjects/DropJSObjects infallible. r=smaug
2012-11-12 17:15:00 -08:00
Tom Schuster
a14d9f078c
Bug 797970 - Use stdint types in IonMonkey. r=jandem
2012-12-04 19:10:23 +01:00
Jim Blandy
846be8349c
Bug 506717: GDB pretty-printing support for SpiderMonkey. r=sfink,ted
2012-12-04 08:47:57 -08:00
Jason Orendorff
7fca1ab91e
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
520aa9862b
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
e0271f028d
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
e52b5b7a9a
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
6be3b9ce2a
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
77c003ac34
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
9107592531
Bug 817714 - IonMonkey: Check allocation result in LookupSwitch. r=djvj
2012-12-03 18:58:26 -08:00
Vicamo Yang
be687e70b2
Bug 778093 - Part 3/9: complete onreceived event handling, r=mounir,hsinyi,bent
2012-12-04 10:40:47 +08:00
Bill McCloskey
c653b8d62e
Bug 815999 - Mark gray globals black before returning them to the debugger (r=mccr8)
2012-12-03 17:59:46 -08:00
Jim Blandy
2112386f54
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
a0d9a5fb0e
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
bc04b68f8a
Add generic priority queue implementation, bug 817769. r=luke
2012-12-03 15:25:26 -07:00
Jan de Mooij
07f502c333
Bug 817626 - Move JSOpToCondition to IonMacroAssembler.h r=djvj
2012-12-03 23:08:27 +01:00
Jan de Mooij
4e9e51351d
Bug 817515 - Move JSOP_NEG implementation to NegOperation. r=djvj
2012-12-03 23:06:07 +01:00
Bill McCloskey
fba1edbad6
Backout ad1ee5f59a6e (bug 817343) for orange
2012-12-03 14:01:05 -08:00
Shu-yu Guo
3892352b87
Bug 811566 - Compile INTRINSICNAME correctly in JaegerMonkey. (r=bhackett)
2012-12-03 13:10:19 -08:00
Benjamin Peterson
8934751db4
Bug 817724 - Change some fields from JSBool to bool. r=luke
2012-12-03 15:53:28 -05:00
Bill McCloskey
d355423782
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
31ee32cb0b
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
b0bfb3eda4
Don't use GetIonContext()->cx in ARM assembler, bug 817509. r=mjrosenb
2012-12-03 13:04:58 -07:00
Bill McCloskey
fbe3efe4af
Bug 817218 - Followup to fix compile error (r=red)
2012-12-03 11:35:22 -08:00
Bill McCloskey
04efb729ae
Bug 817218 - Move UnmarkGray to the JS engine (r=mccr8)
2012-12-03 11:19:23 -08:00
Bill McCloskey
4c74d19ad5
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
0ca5d1ea2e
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
518d1e1fa2
Fix test for incremental GC when triggering off thread compilation, bug 817635. r=billm
2012-12-03 11:11:34 -07:00
Jon Coppeard
85815b4b1d
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
8ece79cdf0
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
f52d71b6c7
Bug 817419 - Fix warning about DebugScopes forward-declaration as struct. r=jcoppeard
2012-12-01 00:57:44 -08:00
Andrew McCreight
be02b50ec7
Bug 812380 - optimize less aggressively in TraceWeakMapping. r=billm
2012-12-03 09:02:57 -08:00
Ed Morley
56d3fa6294
Backout a592d7dfb470 for Android crashes
2012-12-03 11:17:49 +00:00
Marty Rosenberg
dd2259b03a
Add in extra function to build on non-arm platforms (no bug, r=glandium)
2012-12-03 04:32:59 -05:00
Marty Rosenberg
e8b7274ca5
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
bb33e9dd59
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
c96cc244fa
Bug 817475 - JM: Remove re-compilation loop. r=bhackett
2012-12-02 20:59:47 -08:00
Ehsan Akhgari
5283101fb6
Backed out changeset 162e2608bd3c (bug 805299) for breaking debug builds
2012-12-02 23:47:36 -05:00
Marty Rosenberg
3e1deb6622
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
eeea3726f7
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
0f963fc03b
Bug 701393 - Add suffix stripping to PP_TARGETS generic preprocessor rule r=glandium
2012-12-02 16:49:32 -08:00
Hannes Verschore
f94fe21d95
Bug 816787: Remove negative zero check for truncated uses, r=mjrosenb
2012-12-03 00:09:56 +01:00
Ms2ger
418bdd93ec
Merge m-c to m-i.
2012-12-02 11:32:57 +01:00
Ms2ger
0b9b4c8d66
Bug 810679 - Move rt->debuggerList to mozilla::LinkedList; r=Waldo
2012-12-02 09:59:39 +01:00
Ms2ger
9cbcd4aa7a
Bug 802163 - Fix pyflakes warnings in bindings python; r=peterv
2012-12-02 09:59:08 +01:00
Brian Hackett
e390e896e4
Insert additional resume points after operations likely to kill values, bug 814997. r=dvander
2012-12-01 09:32:34 -07:00
Hannes Verschore
10fb474dce
Bug 815161: Use caching getproperty to fetch prototype to create this, r=jandem
2012-12-01 16:23:23 +01:00
Jan de Mooij
70e13f567f
Bug 816924 - Add extractNonDoubleType to ValueOperations. r=jwalden
2012-12-01 09:42:18 +01:00
Brian Hackett
13aafb6637
Factor computation of live ranges out of LSRA, bug 817213. r=jandem
2012-12-01 16:32:26 -07:00
Peter Van der Beken
567c46a640
Fix for bug 814195 (Replace Element quickstubs with new binding methods). r=bz.
2012-11-22 12:09:43 +01:00
Boris Zbarsky
bce83c24d3
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
2f12817f48
Bug 816805 - Style fixes for ThreadPool, ForkJoin, and Monitor (r=jwalden)
2012-11-30 15:15:20 -08:00
Brian Hackett
d7a47a58b2
Add analysis to eliminate dead resume point operands, bug 814997. r=dvander
2012-11-30 15:59:52 -07:00
Terrence Cole
07481a4a31
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
2c2aedaef4
Backout a6b604916694 (bug 747066) because it's broken
2012-11-30 12:20:24 -08:00
Brian Hackett
d2aaf85c59
Reconstruct operands when bailing out from add/sub overflows, bug 773666. r=jandem
2012-11-30 12:46:03 -07:00
Ehsan Akhgari
75fe0529db
Backed out changeset fc50a2127738 (bug 815999) because of crashes in unit tests
2012-11-30 14:41:35 -05:00
Brian Hackett
ac12dd9809
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
ba18a60f1e
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
7be12af932
Bug 815579: Increment usecount faster on MI to interpreter calls, r=dvander
2012-11-30 14:18:28 +01:00
Hannes Verschore
79eee021cd
Bug 815249: Add printf function to debug IM compiled code, r=jandem
2012-11-30 13:09:58 +01:00
Jan de Mooij
8664c391b0
Bug 816104 part 2 - rm defineReturn and rename defineVMReturn to defineReturn. r=dvander
2012-11-30 10:32:37 +01:00
Bill McCloskey
294e3ae917
Bug 747066 - Inline xpc_UnmarkGray (r=terrence)
2012-11-28 17:03:54 -08:00
Bill McCloskey
f05d1d234d
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
59cfdf5b74
Bug 769015 - Make sure we GC on shutdown even with deterministicgc() (r=mccr8)
2012-11-29 17:21:12 -08:00
Steve Fink
52cdd2b1b1
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
02cbbdc365
Bug 813381 - Optimize CheckStackRoots. r=terrence
...
--HG--
extra : rebase_source : ab270ef84358a9fcb958d0fc821d16920fc19a59
2012-11-19 14:20:12 -08:00
Bill McCloskey
cbc0e4f525
Bug 801195 - Delay changing generator state (r=luke)
2012-11-19 11:44:16 -08:00
Jan de Mooij
1d7ca1e865
Bug 816015 - Make ARM's second scratch register configurable. r=mjrosenb
2012-11-29 15:50:14 +01:00
Jan de Mooij
f2d048f862
Bug 816493 - Fix IsAboutToBeFinalized(ReadBarriered<IonCode>..) to call IsIonCodeAboutToBeFinalized. r=jonco
2012-11-29 15:48:48 +01:00
Jon Coppeard
e0b573304b
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
e19c72f00c
Backout 67e95e421678 (bug 814195) for Windows debug jsreftest failures on a CLOSED TREE
2012-11-29 11:17:11 +00:00
Jan de Mooij
22cb211fc5
Bug 816104 - Assert define/defineBox are not used with call instructions. r=dvander
2012-11-29 10:15:40 +01:00
Makoto Kato
43152978e1
Bug 800785 - unnecessary PGO for js shell. r=ted
2012-10-23 16:42:19 +09:00
Hubert Figuière
e03fccd6ba
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
7602f97f4d
Backout 4a88d1080c08 (bug 747066) for orange
2012-11-28 16:59:17 -08:00
Bill McCloskey
5cd46fa26e
Bug 815931 - Move write barrier verifier to its own file (r=terrence)
2012-11-28 13:46:46 -08:00
Bill McCloskey
3296461356
Bug 815931 - Use GC auto classes in write barrier verifiers (r=terrence)
2012-11-27 18:16:16 -08:00
Bill McCloskey
83c0cb40dc
Bug 815931 - Move GC heap iteration to separate file (r=jonco)
2012-11-27 18:13:31 -08:00
Bill McCloskey
45896c6b3e
Bug 815931 - Move GC auto classes to header (r=jonco)
2012-11-27 18:12:58 -08:00
Bill McCloskey
ce0c1b38fd
Bug 815931 - Move GC root marking to a separate file (r=terrence)
2012-11-27 17:59:10 -08:00
Brian Smith
be0d41bee2
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
87e444edff
Bug 747066 - Inline xpc_UnmarkGray (r=terrence)
...
--HG--
extra : rebase_source : 9a5fe3cdcac2e3352407031c969ed705b0458dab
2012-11-19 10:59:01 -08:00
Jeff Walden
25cc34acbe
Fix testFindSCCs warnings. No bug, rs=billm, r=themaid
2012-11-28 13:54:32 -08:00
Jeff Walden
0290372c0a
Various warning fixes. No bug, r=themaid
2012-11-27 15:53:46 -08:00
Eric Faust
2a21e1ae3e
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
f19a710259
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
a7a98ebf22
Merge mozilla-central into mozilla-inbound
2012-11-28 09:43:30 -05:00
Olli Pettay
79b3761656
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
9ade992793
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
85985b93de
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
26802bf1cf
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
6076b77198
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
cdc96a13ff
Bug 815699 - Check for null mGREDir in xpcshell dir provider; r=jimm
2012-11-27 11:44:24 -07:00
Jon Coppeard
952e57a03d
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
da8963fba4
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
8a17d3a28e
Bug 790338 - Improve debugger find edges code r=billm
...
--HG--
extra : rebase_source : 25574a7ca88533ce78ab06e18c4b1625df0fa70d
2012-11-06 17:45:58 +00:00
Jon Coppeard
f25680a30b
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
a52108c50b
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
c09b80afa6
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
2d06d43721
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
408bcb946b
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
80dcd52a99
Bug 790338 - Fix issues with gray marking r=billm
...
--HG--
extra : rebase_source : 3bf292670ecc2f314404d02d25c2357dadd682e4
2012-10-12 15:26:07 +01:00
Jon Coppeard
ba7270512c
Bug 790338 - Sweep compartments in groups r=billm
...
--HG--
extra : rebase_source : 7831452ee66ae9e10d83e77279e68b463748691c
2012-11-16 15:34:22 +00:00
Jon Coppeard
36ffac8ea8
Bug 790338 - Split up xpconnect finalization callback r=billm
...
--HG--
extra : rebase_source : 2b70376622af8104d829c23b0014cbd7d8d73a87
2012-10-12 10:45:30 +01:00
Jon Coppeard
0a133e0354
Bug 790338 - Add Is*AboutToBeFinalized functions r=billm
...
--HG--
extra : rebase_source : 629c81772d673eb4f4c7ce45db57f6111468689c
2012-10-12 10:45:30 +01:00
Jon Coppeard
7cff883a03
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
18bdbffa67
Bug 814177 - Use a callVM for generic InstanceOf cases. r=dvander
2012-11-26 19:09:52 -08:00
Boris Zbarsky
a9602fb558
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
109b52e995
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
6ad84efe62
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
c3c04cb395
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
531578ec07
Bug 814102: Make the 'this' object used when compartment sharing a FakeBackstagePass. r=mrbkap
2012-11-26 14:41:59 -08:00
Kyle Huey
9048d562b8
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
932c478b34
Clone type sets to avoid races when compiling off thread, bug 815258. r=dvander
2012-11-26 16:32:45 -05:00
Brian Hackett
04c672558f
Add config option for off thread compilation, bug 815199. r=dvander
2012-11-26 16:30:37 -05:00
Brian Hackett
e8335d9feb
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
03c985104e
Bug 814729 - Add getSelfHostedValue function to JS shell. r=shu
2012-11-24 16:06:06 +01:00
Brian Hackett
9d4f3c622a
Add type specialized paths for instanceof to Ion, bug 814861. r=pierron
2012-11-25 11:04:21 -05:00
Brian Hackett
dc4f919839
Add symbolic range analysis for loop induction variables, bug 766592. r=mjrosenb
2012-11-23 23:23:03 -05:00
Brian Hackett
229b6c663a
Count instruction and spill code bytes in Ion basic blocks, bug 814489. r=pierron
2012-11-23 23:18:59 -05:00
Ryan VanderMeulen
ec1e3c19e6
Backed out changeset 68b3734f36e3 (bug 814489) for build failures.
2012-11-23 19:48:45 -05:00
Brian Hackett
89b083b5ae
Count instruction and spill code bytes in Ion basic blocks, bug 814489. r=pierron
2012-11-23 19:13:56 -05:00
Brian Hackett
897d4409ee
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
1838654456
Remove bogus assert, bug 813029. r=dvander
2012-11-23 12:25:06 -05:00
Niko Matsakis
9ba397217b
Bug 814233 - Make things build when threadsafe/nspr are not present. r=bhackett
2012-11-21 21:09:39 -05:00
Ryan VanderMeulen
c817e39674
Backed out changeset 0a197ef0840c (bug 766592) for talos crashes.
2012-11-23 10:04:14 -05:00
Brian Hackett
c9ff6b1e5e
Add symbolic range analysis for loop induction variables, bug 766592. r=mjrosenb
2012-11-23 08:54:41 -05:00
Mike Hommey
0506649c45
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
883432ed4f
Bug 810253 - Correctly dump arguments. r=dvander
2012-11-22 18:12:51 -08:00
Nicolas B. Pierron
d0c3f5b577
Bug 799185 part 4 - Add tests for ReconstructPCStack. r=the-toad
2012-11-22 16:50:29 -08:00
Nicolas B. Pierron
6b879c0d6e
Bug 799185 part 3 - Improve debug utilities within NoGCScope. r=terrence
2012-11-22 16:50:28 -08:00
Nicolas B. Pierron
23477fed33
Bug 799185 part 2 - Add comments to ReconstructPCStack. r=jorendorff
2012-11-22 16:50:18 -08:00
Kannan Vijayan
f796e24b3c
Bug 814472 - Add jump(Register) method to Ion macro assembler. r=jandem
2012-11-22 13:13:29 -05:00
Brian Hackett
d47e1a36ee
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
b045a6d2b2
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
3fb06020ff
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
3c2724d53c
Bug 779997 - Backout e35029dcac2d to enable libsoundtouch again.
2012-11-22 11:38:28 +01:00
Boris Zbarsky
b389f53d5e
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
6d0cce4a71
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
40f7bb6875
Bug 791850 - Cleanup of lazy script handling. r=bhackett
...
--HG--
extra : rebase_source : eb676d1a38675f0c556e2f367465a726085eefcc
2012-11-21 17:42:27 +01:00
Till Schneidereit
3a75951e96
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
348c31f896
Bug 811911 - Allow UTF-8 output from the SpiderMonkey shell; r=Norbert
2012-11-16 18:14:51 -08:00
Bobby Holley
e01eac97a5
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
d889379068
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
4fb0eb55a2
Bug 808608 - Remove Xray shadowing protection infrastructure. r=mrbkap
...
This is now unused.
2012-11-21 13:20:05 -08:00
Bobby Holley
645bf15f18
Bug 808608 - Fix up tests to work with new behavior. r=bz,me
2012-11-21 13:20:05 -08:00
Bobby Holley
deb1246831
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
9081886d4a
Bug 808608 - Remove specialized Location security wrappers. r=mrbkap
2012-11-21 13:20:05 -08:00
Bobby Holley
de65cd77ed
Bug 808608 - Remove unnecessary outparam. r=mrbkap
2012-11-21 13:20:05 -08:00
Bobby Holley
aa8b4abfd6
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
52508e361a
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
748221ed7d
Show generated assembly in Ion PC count information, bug 811349. r=pierron
2012-11-21 13:53:18 -05:00
Shu-yu Guo
601262cf64
Bug 791850 - Followup: fix computing caller stack formal position. (r=jorendorff)
2012-11-21 10:50:01 -08:00