Kannan Vijayan
92f9be6104
Bug 754719 - Make folding of double-bitwise-not ensure that input is int32. (r=dvander)
2012-05-17 14:44:15 -04:00
Stephan Herhut
07930a3276
ParallelArray.prototype.length now returns a number as expected. (bug 743480, r=stephan.a.herhut).
2012-05-17 11:03:06 -07:00
David Anderson
2f775c590c
Only unlink cx->enumerators for JSITER_ENUMERATE iterators (bug 735869, r=jandem).
2012-05-17 11:01:22 -07:00
Kannan Vijayan
847714a8ce
Bug 729812 - Mark all arguments in exit frames. (r=pierron)
2012-05-17 13:27:23 -04:00
Jan de Mooij
1a3bb88293
Bug 760413 - Update in-tree V8 benchmark to v7. r=dvander
2012-06-01 13:54:54 +02:00
Bobby Holley
d0a6dee976
Bug 751995 - Handle orphaned wrappers. r=peterv
2012-06-04 10:13:18 +02:00
Nicholas Nethercote
0d58fdbb5f
Bug 759246 (part 4) - Don't share inForInit between Parser and BCE. r=jorendorff.
...
--HG--
extra : rebase_source : e96817e8d326a2f8f034e6166f70a05b86aaa49c
2012-05-28 21:57:36 -07:00
Nicholas Nethercote
669c9daf03
Bug 759246 (part 3) - Initialize more SharedContext stuff via the constructor. r=jorendorff.
...
--HG--
extra : rebase_source : 8ffdf29429f0606181bf04c00d57d13bbb650b8d
2012-05-28 21:50:52 -07:00
Nicholas Nethercote
d13e6401dd
Bug 759246 (part 2) - Move SharedContext::functionList to TreeContext. r=jorendorff.
...
--HG--
extra : rebase_source : 96ddd5d4e48ed55dfe546e923cfa9bbe48a38234
2012-05-28 20:46:03 -07:00
Nicholas Nethercote
1e48727087
Bug 759246 (part 1) - Replace bce.sc with &sc where suitable. r=jorendorff.
...
--HG--
extra : rebase_source : e84178183c695e15ebacfafb789fdc9487902718
2012-05-28 20:43:06 -07:00
Phil Ringnalda
d576312c34
Merge last PGO-green changeset from mozilla-inbound to mozilla-central
2012-06-03 12:04:40 -07:00
Jan Varga
6e3e5ab48b
Bug 726593 - Implement FileHandle. r=bent
2012-06-03 18:33:52 +02:00
Terrence Cole
373c2da2dd
Bug 760342 - Check explicitly for mis-use of HashTable::Enum; r=luke
...
If a user does removeFront or rekeyFront on an Enum, then continues to use it,
it will fail, potentially randomly. This patch makes the failure explicit in
debug builds.
2012-06-01 15:41:27 -07:00
Phil Ringnalda
a26e0375d1
Back out 19cfb43d77d3 (bug 751995) for Windows build bustage
2012-06-01 18:27:22 -07:00
Matt Brubeck
8f0eb7c918
Back out bug 760342 for Windows build error, bug 755070 for Android crashes, and bug 760458 because it depends on 755070
2012-06-01 17:45:02 -07:00
Terrence Cole
53b40ccbbb
Bug 760342 - Check explicitly for mis-use of HashTable::Enum; r=luke
...
If a user does removeFront or rekeyFront on an Enum, then continues to use it,
it will fail, potentially randomly. This patch makes the failure explicit in
debug builds.
2012-06-01 15:41:27 -07:00
Bobby Holley
e580a6cb4f
Bug 751995 - Handle orphaned wrappers. r=peterv
2012-06-02 00:24:22 +02:00
Joey Armstrong
4cbec42f85
bug 756443: Add mkdir_stem() to complement mkdir_deps. Strip extraneous slashes from given paths.
2012-06-01 17:26:50 -04:00
Chris Peterson
a37a36db1e
Bug 760335 - Suppress Android gcc 4.4 warnings about "mangling of 'va_list' has changed in GCC 4.4". r=vladimir
2012-05-31 17:43:01 -07:00
Terrence Cole
7130c13c89
Bug 759020 - Prevent jsreftest suite from swallowing crashes; r=dmandelin
...
--HG--
extra : rebase_source : fbbaec5c83e9ea5cbfba6833b96c73e7cfd8adf6
2012-05-31 16:34:40 -07:00
Jon Coppeard
df582c46e6
Bug 744053 - Check JITSCriptHandle is valid before attempting to destroy the script, r=bhackett
2012-06-01 10:14:13 -07:00
Boris Zbarsky
3f887fdbe1
Bug 748266. Switch the WebGL canvas context to new DOM bindings. r=peterv
2012-05-31 14:16:48 -04:00
Peter Van der Beken
beae628a30
Bustage fix for bug 759275 (Specialize unwrapping to HTML elements in dom bindings). r=bz.
...
--HG--
extra : rebase_source : 61cf7b76955aa08aa6509b77f0a85a35dd782a21
2012-06-01 18:35:09 +02:00
Eddy Bruel
2812b28407
Bug 703537 - Followup: fix conflicts.
2012-06-01 13:19:06 +02:00
Eddy Bruel
3a1af88d80
Bug 703537 - Rename Wrapper to DirectWrapper; r=bholley
2012-06-01 12:51:20 +02:00
Brian Hackett
383626552a
Watch for GC under getType, bug 746103. r=dvander
2012-06-02 20:25:05 -07:00
Benjamin Peterson
2cbd830416
Bug 749818: add Number.isNaN, r=jwalden
...
--HG--
extra : rebase_source : f3faa700eb75c6106b0ebb421d53080e293b714a
2012-06-02 20:16:24 +02:00
Benjamin Peterson
85eb6e1455
Bug 759498: fix defaults when arguments are bound as functions, r=jorendorff
...
--HG--
extra : rebase_source : 6671517779bbaaf7cf1fd6410255823f877345ad
2012-06-02 20:16:24 +02:00
Benjamin Peterson
1e9de6b1f5
Bug 757676: implement default parameters in JaegerMonkey, r=bhackett
...
--HG--
extra : rebase_source : f5220941d9502d49b0c230081c265f845396a251
2012-06-02 20:16:24 +02:00
Tom Schuster
e932326aaf
Bug 752226 - Remove JSVAL_IS_OBJECT from the jsapi. r=dmandelin
...
--HG--
extra : rebase_source : 0943efd64ddf199a4cef12072239302408e5aae5
2012-06-02 20:15:38 +02:00
Nicolas Pierron
e19229d228
Revert "Recover overflow of arguments from the stack. (Bug 754720, r=)"
...
This reverts commit b97b7034c9a9f222672601ac6245a887de5e5add.
2012-05-16 22:07:33 -07:00
Nicolas Pierron
9707b77da3
Revert "Oops, Apply review nits. (Bug 754720, r=dvander)"
...
This reverts commit ad9df12a563a8e248b734f25c8cc851c219fd0b7.
2012-05-16 22:05:33 -07:00
Nicolas Pierron
08e5d99f60
Oops, Apply review nits. (Bug 754720, r=dvander)
2012-05-16 18:55:45 -07:00
Nicolas Pierron
fec471564a
Recover overflow of arguments from the stack. (Bug 754720, r=)
2012-05-16 18:14:29 -07:00
David Anderson
49c81656ca
Merge from mozilla-central.
...
--HG--
rename : xpcom/ds/CheckedInt.h => mfbt/CheckedInt.h
2012-05-16 15:39:10 -07:00
Kannan Vijayan
c84488d0e8
Bug 737737 - handle not-int32-nor-double input types for binary arithmetic instructions (r=jandem).
2012-05-16 16:48:13 -04:00
David Anderson
3ce68df9cb
Trace invalidated IonScripts during incremental marking (bug 754712, r=billm).
2012-05-16 13:20:02 -07:00
Jan de Mooij
70aeec3a1d
Bug 754713 - Only eliminate phis that are not used by any bytecode instructions. r=dvander
2012-05-16 22:12:37 +02:00
Jan de Mooij
e097cf3543
Bug 755768 - Use JM only for scripts Ion cannot compile, patch based on bug 724751. r=dvander
2012-05-16 20:30:29 +02:00
Ed Morley
d055880ec8
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-05-16 10:06:15 +01:00
Nicolas Pierron
70a3007392
Fix compilation. (no bug, r=red)
2012-05-15 21:50:24 -07:00
Till Schneidereit
7d942b379c
Bug 754299 - Update gcMaxMallocBytes of existing compartments in JSRuntime::setGCMaxMallocBytes. r=billm
2012-05-15 18:30:15 -04:00
David Anderson
3e37155250
Check for C-stack recursion before entering Ion (bug 743119, r=sstangl).
2012-05-15 15:14:52 -07:00
David Anderson
e325a2f35f
Fix incorrect pcOffset computation in CloseLiveIterators (bug 746370, r=pierron).
2012-05-15 15:13:39 -07:00
David Anderson
b7398ec84b
Bustage fix.
2012-05-15 13:54:56 -07:00
David Anderson
c2db30d4dc
Follow-up fixes for bug 749226.
2012-05-15 13:23:17 -07:00
Jan de Mooij
e9ef3850d5
Bug 759626 - Cache the result of InferSpewColorable to avoid a ton of getenv calls. r=bhackett
...
--HG--
extra : rebase_source : bcf1055b9f401561c1bbc33a4757177df1b81d60
2012-05-30 20:24:04 +02:00
Ed Morley
da18754c01
Merge mozilla-central to mozilla-inbound
2012-05-30 18:24:56 +01:00
Gervase Markham
d4eb7d5782
Bug 759095 - upgrade license to MPL 2, and other licensing cleanups.
...
--HG--
extra : rebase_source : da55a4937383eda2baf7c9a362501da8ee664146
2012-05-29 16:52:43 +01:00
Peter Van der Beken
8839249ab0
Fix for bug 759275 (Specialize unwrapping to HTML elements in dom bindings). r=bz.
...
--HG--
extra : rebase_source : f676440e468c23e6c1e9458f6d75a615b9a6b8d7
2012-05-21 23:29:58 +02:00
Jan de Mooij
d5ef014643
Bug 756632 - Handle OOM in methodjit jsop_getgname/jsop_setgname methods. r=bhackett
2012-05-30 10:16:20 +02:00
Jan de Mooij
6a44e7c6e3
Bug 756610 - Handle OOM in js_CopyErrorObject. r=bhackett
2012-05-30 10:06:49 +02:00
Nicholas Nethercote
f587587628
Bug 754181 - Don't store the strict mode code flag twice (attempt 2). r=jwalden,luke.
...
--HG--
extra : rebase_source : 449cd51da93c261aa38e7de6b5b6a9c0ac8c7a71
2012-05-21 20:06:43 -07:00
David Anderson
d4b633a1fa
Change bailout/OSR loops to be iterative rather than recursive (bug 749226, r=pierron).
...
--HG--
extra : rebase_source : c907ab37d42224aadd0b4064214654679a104f4c
2012-05-15 11:40:52 -07:00
Jan de Mooij
868428fe30
Bug 732845 - Call relookupOrAdd instead of add in generateVMWrapper. r=dvander
2012-05-15 20:25:47 +02:00
David Anderson
95e5988f43
Merge from mozilla-central.
2012-05-15 10:22:19 -07:00
Nicolas Pierron
c4bd390c64
Fix typo, which use a bad template. (Bug 755157, r=dvander)
2012-05-14 22:51:07 -07:00
Nicholas Nethercote
3588797929
Bug 753249 (part 6) - Remove TCF_GENEXP_LAMBDA from TreeContextFlags. r=luke.
...
--HG--
extra : rebase_source : 30b9e049999e66dae1409022adc8973efd7d2254
2012-05-14 21:38:42 -07:00
Nicholas Nethercote
99c5195886
Bug 753249 (part 5) - Simplify use of TCF_GENEXP_LAMBDA in FoldConstants. r=luke.
...
--HG--
extra : rebase_source : 8cdce721b1bdfdea8fca8f98de8a0c8fc30e0b9d
2012-05-14 21:38:41 -07:00
Nicholas Nethercote
9a8bca4991
Bug 753249 (part 4) - Remove TCF_HAS_SINGLETONS from TreeContextFlags. r=luke.
...
--HG--
extra : rebase_source : 873e79b43fc901057cf1ad79636077f5923a83c0
2012-05-14 21:38:39 -07:00
Nicholas Nethercote
5a3bd5d1c3
Bug 753249 (part 3) - Remove TCF_IN_WITH from TreeContextFlags. r=luke.
...
--HG--
extra : rebase_source : c88cc07d9a3868ec756daa1da0a0cbe875d3c144
2012-05-14 21:38:37 -07:00
Nicholas Nethercote
bc9a1185fb
Bug 753249 (part 2) - Remove TCF_IN_FOR_INIT from TreeContextFlags. r=luke.
...
--HG--
extra : rebase_source : f70060e47de0130c558c798a572d83c9184f82c5
2012-05-14 21:38:36 -07:00
Nicholas Nethercote
c24d1e93db
Bug 753249 (part 1) - Remove TCF_IN_FUNCTION from TreeContextFlags. r=luke.
...
--HG--
extra : rebase_source : 00d0bc1cdead33084b56d629868009f8280c7988
2012-05-14 21:38:35 -07:00
Mike Hommey
5d398e5cd1
Bug 754557 - Fix building with --enable-methodjit-spew without --enable-debug. r=dmandelin
2012-05-15 07:44:58 +02:00
Mike Hommey
e1c1bf2c5a
Bug 748001 - Use explicit targets for object files. r=ted
2012-05-15 07:44:32 +02:00
David Anderson
e1cd630bad
Fix safepoint registers spilling in the wrong order (bug 754718, r=pierron).
2012-05-14 18:27:21 -07:00
Till Schneidereit
721ddcf010
Change nsXPConnect::CheckForDebugMode to trigger one multi-compartment GC instead of individual GCs for all compartments, to fix GC pauses when switching tabs with Firebug. Bug 754201, r=jorendorff, r=sfink.
2012-05-14 18:46:51 -05:00
Sean Stangl
d2ff145fa5
Bug 746376 - GCThings stored during compilation must be rooted. r=billm,dvander
2012-05-14 14:24:21 -07:00
Nicolas Pierron
6443afdd1e
Enable eager compilation (Bug 742136, r=dvander)
2012-05-14 14:06:00 -07:00
David Anderson
cbcd19dd5d
Merge from mozilla-central.
2012-05-14 12:10:12 -07:00
Kannan Vijayan
70e7c4170e
Bug 754446 - C1Spewer::spewIntervals not checking for null lir() on MBasicBlock. r=terrence.
2012-05-14 13:17:38 -04:00
Mike Hommey
1f46768cf3
Bug 754625 - Use idl-parser from $(LIBXUL_DIST)/sdk/bin and only remove lex and yacc files in header.py --regen. r=khuey
2012-05-14 17:19:39 +02:00
Nicolas Pierron
d7350357c1
Mark native function arguments from the exit frame. (Bug 754491, r=dvander)
2012-05-11 22:14:16 -07:00
Nicolas Pierron
17706b77d1
Add support for native frames. (Bug 748188, r=dvander)
2012-05-11 22:14:16 -07:00
Nicolas Pierron
2fb4c0c4d2
Mark VM wrapper arguments. (Bug 748986, r=dvander)
...
Clean-up the exit frame footer and how it is manipulated.
Add an extra field for the VMFunction pointer. This pointer
is used to mark the VM wrapper arguments while marking the
exit frame.
2012-05-11 22:14:16 -07:00
David Anderson
5f0d99e87b
Disable C1/JSON visualization spew in browser builds (bug 752121, r=sstangl).
2012-05-11 17:27:42 -07:00
David Anderson
6dfffa2f4b
Merge from mozilla-central.
2012-05-11 14:35:58 -07:00
Kannan Vijayan
83dbbe4042
Bug 754155 - Fix RPO issue in LookupSwitch compilation. (r=dvander)
2012-05-11 15:41:43 -04:00
Tom Schuster
fb630ae705
Bug 752226 - Remove any use of JSVAL_IS_OBJECT. r=luke,Ms2ger
2012-05-11 17:46:26 +02:00
Nicolas Pierron
139766ee08
Fix merge issue, remove argumentPadding. (no bug, r=red-arm)
2012-05-10 19:03:26 -07:00
Nicolas Pierron
aeffd515d0
Mark spilled registers. (Bug 743094 part 2, r=dvander)
2012-05-10 18:37:43 -07:00
Nicolas Pierron
f913f8bfee
Remove stack alignments of OOL VM calls. (Bug 743094 part 1, r=dvander)
2012-05-10 18:37:43 -07:00
David Anderson
bb9ee25a0b
Merge.
2012-05-10 18:01:53 -07:00
David Anderson
e34943fc89
Don't access StackIter::fp directly when building a stack trace (bug 753579, r=pierron).
2012-05-10 17:42:45 -07:00
Marty Rosenberg
71f1c724c6
Fix a couple of cases from yesterday's gc patch that I forgot on ARM (no bug, r=dvander)
2012-05-10 15:21:03 -07:00
David Anderson
1d0465946b
Merge from mozilla-central.
2012-05-10 13:44:10 -07:00
Sean Stangl
c1f2c082c5
Bug 743640 - Distinguish errors/aborts from inlineNativeCall(). r=jandem
2012-05-10 12:24:54 -07:00
Nicolas Pierron
74bcde81ad
Fix shifted lookup for VM wrapper arguments. (no bug, r=bloody-arm)
2012-05-10 09:57:42 -07:00
Marty Rosenberg
fc13a52cc4
Fix dvander's nits that I'd forgotten about (bug 750925, r=dvander)
2012-05-09 14:42:43 -07:00
David Anderson
7de62edd2f
Merge from mozilla-central.
2012-05-09 12:31:01 -07:00
Bill McCloskey
9d2414d8d7
Bug 754242 - Reset incremental GC upon TOO_MUCH_MALLOC GC requests (r=terrence)
2012-05-11 21:07:54 -07:00
Matt Brubeck
eebd9c8f2a
Back out 6a7bfd84596e (bug 736501) because it broke the build on some versions of GCC (bug 754198)
2012-05-11 20:15:47 -07:00
Terrence Cole
a0e0ea194e
Bug 744579 - Implement a relocatable version of HeapPtr; r=billm
...
We cannot store HeapPtrs in memory that may be realloced outside of the GC.
Instead we should use the RelocatablePtr, which is more expensive, but is able
to handle being moved, or EncapsulatedPtr which requires external barriers.
--HG--
extra : rebase_source : 949c71cfdab8005339aea49437922f7f00a6f73a
2012-05-15 17:21:23 -07:00
Kevin Locke
437fdb60bf
Bug 752357 - Include compartment location (sandbox name) in compartment name when it differs from the principal name. r=nnethercote.
...
--HG--
extra : rebase_source : f82959649a377c4f3806043d83506e3aa48b5915
2012-05-08 19:02:37 -07:00
Jim Blandy
0c7b3827b0
(No bug): Remove comment referring to deleted functions. r=luke on IRC
2012-05-08 18:05:37 -07:00
Marty Rosenberg
e9af6b95a3
Fix a rare gc bug by pushing the current IonCode onto the stack right after we link in an exit frame. (bug 750925, r=dvander)
2012-05-08 17:51:47 -07:00
David Anderson
e36855a8db
Fix merge bustage.
2012-05-08 17:50:43 -07:00
David Anderson
87cf33f6a7
Merge from mozilla-central.
2012-05-08 17:34:07 -07:00
Kannan Vijayan
97a11d1ecd
Bug 701963 - IonMonkey: Compile JSOP_LOOKUPSWITCH. [Test case generator and generated test cases].
2012-05-08 18:10:34 -04:00
Kannan Vijayan
b403210ee6
Bug 701963 - IonMonkey: Compile JSOP_LOOKUPSWITCH. (r=jandem)
2012-05-08 18:07:02 -04:00
Terrence Cole
af0c9c9b0f
Bug 753101 - Re-enable gc-zeal in the shell; r=billm
...
GCZeal got disabled by accident in Bug 742570. This patch re-enables it using
the environment and removes the depricated help option.
--HG--
extra : rebase_source : c2553c3f325afbbe1234fbf8fe59c47df936b8b2
2012-05-08 17:33:58 -07:00
Kannan Vijayan
5c0a6e233b
Bug 743129 - Clear ionReturnOverride in HandleException. (r=dvander)
2012-05-08 10:47:31 -04:00
Nicolas Pierron
3cfbb5ce82
Fix OS X compilation (no bug, r=red)
2012-05-07 19:14:54 -07:00
Nicolas Pierron
a1e94e5d9e
Create unexpected argument object from StackIter (Bug 751635, r=dvander)
2012-05-07 18:33:09 -07:00
Ryan VanderMeulen
28b376aae8
Merge m-c to inbound
2012-05-07 20:29:19 -04:00
Bill McCloskey
cdfac41e5a
Bug 752098 - Fix script filename marking with incremental GC (r=luke)
2012-05-07 16:56:57 -07:00
Sean Stangl
0ae9096594
Bugless - Indent JSON spew so we can open large files with a text editor. r=mjrosenb
2012-05-07 15:46:58 -07:00
Marty Rosenberg
dfef3666bd
Bug 745362, part 3/3 - Implement rounding correctly on ARM. r=sstangl
2012-05-07 14:18:16 -07:00
Marty Rosenberg
1016d111c3
Bug 745362, part 2/3 - Fix floor on ARM. r=jbramley
2012-05-07 14:18:16 -07:00
Sean Stangl
76b9cc7d3b
Bug 745362, part 1/3 - Implement Math.floor() and Math.round() for x86/x64. r=pierron
2012-05-07 14:18:16 -07:00
Nicholas Nethercote
de5ab7a0de
Bug 752381 - Merge System Principal compartments in about:memory. r=jlebar.
2012-05-06 22:05:16 -07:00
Nicholas Nethercote
8b058f774b
Bug 739512: fix Mac and Windows bustage caused by patch 3. r=me.
2012-05-07 10:53:56 +10:00
David Anderson
bba713f587
Fix build.
2012-05-04 19:41:25 -07:00
David Anderson
14bf2a099d
Merge from mozilla-central.
...
--HG--
rename : accessible/src/base/nsRootAccessible.cpp => accessible/src/generic/RootAccessible.cpp
rename : accessible/src/base/nsRootAccessible.h => accessible/src/generic/RootAccessible.h
rename : js/src/jsgcmark.cpp => js/src/gc/Marking.cpp
rename : js/src/jsgcmark.h => js/src/gc/Marking.h
2012-05-04 19:16:35 -07:00
Terrence Cole
eec9068409
Bug 753619 - Fix progress bar totals in jstests.py; r=dmandelin
...
Something in the previous refactorings has messed up the display of the
progress bar such that it occasionally jumps over 100% and 80chars.
2012-05-10 16:06:41 -07:00
Terrence Cole
54c6efdee6
Bug 745326 - Make Map/SetObject keys/values relocatable; r=billm
...
Since they use HashTable internally, we need their keys to derive from
RelocatableValue, rather than HeapValue. This also modifies the marking to allow
for the relocation, when that happens.
--HG--
extra : rebase_source : b2499e3354fda99a0ea7a349443c2adef717146b
2012-05-10 17:37:43 -07:00
Marty Rosenberg
b46a98491c
When the new represetative element is chosen, its consumers should be marked, since it will appear to not change. (bug 748091, r=sstangl)
2012-05-04 17:22:52 -07:00
Bobby Holley
a63c18d790
Bug 752038 - Avoid getting confused by PreCreate giving a different answer when we wrap objects cross-compartment during reparenting. r=mrbkap
2012-05-29 23:24:03 +02:00
Timothy B. Terriberry
9387e956b1
Bug 759008 - Remove unused LIBOBJS from rules.mk, r=glandium
2012-05-29 11:54:31 -07:00
Jan de Mooij
56fe893404
Bug 759409 - Cleanup methodjit CompileRequest. r=bhackett
2012-05-29 19:45:13 +02:00
Terrence Cole
2121ade0ad
Bug 752031 - Librarify the jsreftest suite; r=dmandelin
...
Moves the random .py implementation files into a lib subdirectory.
--HG--
rename : js/src/tests/manifest.py => js/src/tests/lib/manifest.py
rename : js/src/tests/progressbar.py => js/src/tests/lib/progressbar.py
rename : js/src/tests/results.py => js/src/tests/lib/results.py
rename : js/src/tests/tasks_unix.py => js/src/tests/lib/tasks_unix.py
rename : js/src/tests/tasks_win.py => js/src/tests/lib/tasks_win.py
rename : js/src/tests/tests.py => js/src/tests/lib/tests.py
2012-05-04 13:49:39 -07:00
Luke Wagner
c784fde483
Fix inline-used-but-not-defined warning (no bug,r=themaid)
2012-05-10 08:48:39 -07:00
Terrence Cole
a1dec83771
Bug 753931 - Add specialized post barriers to RelocatableValue; r=billm
...
This inserts stubs for GenerationalGC relocation barriers into the specialized
"Relocatable" HeapValue.
2012-05-10 11:38:39 -07:00
Michael Wu
eaf20f3009
Bug 753378 - Support building on x86 gonk, r=glandium
2012-05-10 11:34:17 -07:00
Steve Fink
2e82cc7265
Bug 752250 - xpc_UnmarkGrayContext should never throw an exception. r=billm
...
It is possible to have a JSContext with no global object and no frames on the
stack, yet still be within a request. In that case, xpc_UnmarkGrayContext will
trigger an exception "nothing active on context" when it attempts to access the
inner object of the cx's NULL global.
2012-05-09 15:12:27 -07:00
Kannan Vijayan
f29db16b94
Bug 489623 - JSOP_SETPROP does not run resolve hook when adding properties (try 3)
2012-05-04 13:57:52 -04:00
Ed Morley
13dfef4805
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-05-28 14:13:56 +01:00
Mike Hommey
917a6805ca
Bug 758010 - Wrap operator new/delete on Android. r=khuey
2012-05-26 10:21:33 +02:00
Till Schneidereit
cc1b3bb0a3
Bug 758278 - Sweep crossCompartmentWrappers of all compartments, not only GCed ones. r=billm
2012-05-24 19:04:44 +02:00
Blake Kaplan
f14f44ff14
Bug 751858 - Actually throw when we deny access. r=bholley
2012-05-04 14:22:55 +02:00
Nicolas Pierron
387dc56b27
Remove unexpected properties from the global object. (Bug 750582, r=dvander)
...
* Check if the shape is writable.
* Clean-up SetPropertyCache and extract isSetPropertyInlinable and
isPropertyInlinable, rename the other predicate to
isAddPropertyInlinable to clarify.
* Add VMFunction to handle the bottom of SetPropertyOperation and use
it inside SetPropertyCache to fix wrong use of SETNAME on the global
object.
2012-05-04 00:07:59 -07:00
Nicolas Pierron
d2d5b6761f
Skip next OSR in case forbidOSR flag is GC-ed. (Bug 751383, r=dvander)
2012-05-03 22:55:29 -07:00
David Anderson
3b4de3be38
Merge from mozilla-central.
2012-05-03 11:40:52 -07:00
Philipp von Weitershausen
9d771da697
Bug 692677 - Relax same-origin XHR restrictions for privileged applications. r=sicking
...
--HG--
extra : rebase_source : 9e8e8cf2e03b6f3d148503d92630ee898bf835bb
2012-06-07 11:28:33 -07:00
Ed Morley
bcd86477cd
Merge mozilla-central to mozilla-inbound
2012-06-07 15:56:37 +01:00
Nicholas Nethercote
071de96c1e
Bug 754641 - Fix 32-bit --disable-methodjit builds after bug 739512. r=luke.
2012-05-22 18:37:09 -07:00
Chris Coulson
9d45082c82
Bug 757518 - Don't get stuck in a loop on systems where /usr/bin/makedepend does not exist. r=ted
2012-05-22 20:21:46 -04:00
Nils Maier
35431284b1
Bug 754771 - Add identifying information to all system compartments. r=bz
2012-05-16 19:42:10 +02:00
Gabor Krizsanits
63a5c4284b
Bug 747434 - Part 2: Optional Components object in sandbox. r=bholley
2012-05-22 20:21:45 -04:00
Gabor Krizsanits
c2807c5ab1
Bug 747434 - Part 1: Remove DEBUG_CheckForComponentsInScope. r=bholley
2012-05-22 20:21:45 -04:00
David Rajchenbach-Teller
6851acb366
Bug 732936 - ImplicitConvert can convert an ArrayBuffer to C array or pointer. r=jorendorff
2012-05-15 14:59:21 +02:00
Nicholas Nethercote
44fa613fa9
Bug 757336 - Clean up probes handling in CompileScript(). r=sfink.
...
--HG--
extra : rebase_source : e615f67b96949c56d60fec01ab542a2401943e4f
2012-05-22 16:50:10 -07:00
Bill McCloskey
25432a4139
Bug 754989 - Change cross-compartment wrapper map keying (r=bholley)
2012-05-22 14:54:50 -07:00
Bill McCloskey
f841660ab2
Bug 754989 - Nuke dead cross-compartment wrappers during brain transplant (r=bholley)
2012-05-22 14:54:08 -07:00
Bill McCloskey
66b701ad81
Bug 754588 - Set rt->gcPoke when doing xpconnect unrooting (r=mccr8)
2012-05-22 14:06:58 -07:00
Ehsan Akhgari
1f46a45045
Merge mozilla-central into mozilla-inbound on a CLOSED TREE
2012-05-02 21:52:33 -04:00
Sean Stangl
2a2bb32202
Bug 743099 - Add MPhis of |this| to the observable set. r=dvander
2012-05-02 17:10:27 -07:00
Matt Brubeck
e3b7b8e191
Merge mozilla-central and mozilla-inbound
2012-05-02 15:58:11 -07:00
Bobby Holley
8bc0b852b9
Bug 750859 - Remove {Disable,Revert}Capability. r=bz, PGO helper on CLOSED TREE
2012-05-02 23:57:43 +02:00
Bobby Holley
37471e102e
Bug 750859 - Remove (most of) SetCanEnableCapability. r=bz
2012-05-02 23:57:34 +02:00
Tom Schuster
f98222b4a5
Bug 648526 - Constant folding in array and object literals. r=bhackett
2012-05-02 16:12:07 +02:00
Tom Schuster
de678b547a
Bug 749620 - Add missing power of 10 for edge case. r=luke
2012-05-02 16:11:00 +02:00
Luke Wagner
3fd46e14d2
Bug 749617 - Optimize js::CloneScript (r=njn,a=not-libxul)
...
--HG--
extra : rebase_source : a18f454312960f048b0ef15a3b3b7d48f9ba49f8
2012-05-01 20:39:05 -07:00
Nicolas Pierron
976e9fc7b1
Revert unwanted changes. (no bug, r=oranges)
2012-05-01 18:52:05 -07:00
Nicolas Pierron
2a49f16bc0
Add IsConstructing and thisObject to Ion frames (Bug 744253, r=dvander)
2012-05-01 17:40:31 -07:00
Sean Stangl
0a66b9d72b
Bug 750894 - Fix StoreSlotT write barriers with unknown type information. r=dvander
2012-05-01 16:17:06 -07:00
Luke Wagner
f3f59663e8
Bug 749617 - improve getLocalNamesArray (r=waldo,a=not-libxul)
...
--HG--
extra : rebase_source : 184c3644798da9bca23da017f6f9a53e28711930
2012-05-01 15:45:01 -07:00
David Anderson
1d62556dd7
Fix registers getting clobbered when storing to Float32Arrays (bug 750588, r=sstangl).
2012-05-01 14:04:03 -07:00
Luke Wagner
28cc1f08ca
Bug 749617 - rm XDRState::codeString (r=njn,a=not-libxul)
...
--HG--
extra : rebase_source : de4e8eba904cd44a7b3d99edd85d841a359b83d5
2012-05-01 14:01:06 -07:00
Sean Stangl
35e56bcaee
Bug 750573 - Follow-up fix: avoid the propertycache. r=dvander
2012-05-01 12:12:49 -07:00
Sean Stangl
efbe003bcf
Bug 750573 - Handle __noSuchMethod__ in GetProperty cache. r=dvander
2012-05-01 11:39:32 -07:00
Kannan Vijayan
08296ff6f9
Bug 746397 - IonMonkey: Assertion failure: unexpected type, at ion/Lowering.cpp:822 (r=dvander)
2012-05-01 11:29:51 -04:00
Benjamin Smedberg
ff2537e707
Bug 736501 - Use -Werror=unused-result, r=ted/mayhemer/njn
...
--HG--
extra : rebase_source : 121cddcd66f9be9b80840b47aecbe95307bae0ab
2012-05-01 09:24:38 -04:00
Bill McCloskey
8ecfd5a5f3
Bug 753615 - Ensure we don't re-enter a GC phase (r=terrence)
2012-05-10 10:29:45 -07:00
Gregory Szorc
03add7dd8e
Bug 748490 - Part 3: Followups to part 2; r=ted
...
Previous patch was submitted prematurely by accident. This addresses
nits from review.
2012-05-10 10:19:16 -07:00
Gregory Szorc
ce02a35113
Bug 748490 - Part 2: Register testing modules with xpcshell test runner; r=ted
2012-05-10 10:10:14 -07:00
Gregory Szorc
902df1ed06
Bug 748490 - Part 1: Provide build rules to install test-only JS modules; r=ted
2012-05-10 10:10:11 -07:00
Andrew McCreight
b8306317dd
Bug 747251 - remove unused declaration of JS_CompartmentGC. r=billm
2012-05-10 07:59:33 -07:00
Mike Hommey
ad68904e51
Bug 751845 - Remove pcre source, and cleanup js/src/Makefile.in after bug 691898. r=dmandelin
2012-05-10 12:31:01 +02:00
Nicolas Pierron
5b9b0924a6
Fix iteration of snapshot slots in closeLiveIterator (Bug 749048, r=dvander)
2012-04-30 19:40:03 -07:00
Nicolas Pierron
586b013b2b
Fix JSOP_NEWINIT. (Bug 746377, r=sstangl)
2012-04-30 19:12:58 -07:00
Christian Holler
46073c5af4
Bug 749588 - Remove set_limits in jit_test.py, r=dmandelin
...
--HG--
extra : rebase_source : 98b9b32f10030f3605d88b904d749ac30b98c824
2012-04-30 22:01:29 -04:00
David Anderson
e77681e91a
Use the right ToInt32 overload (merge bustage, r=awfy red).
2012-04-30 15:41:53 -07:00
David Anderson
ab355f233a
Fix build bustaaaaage.
...
--HG--
extra : rebase_source : 91b1b6a3fa5c4d20fe49cc3adbed34b46810e2dd
2012-04-30 13:28:25 -07:00
Kannan Vijayan
395e8b4add
Backing out changeset 93104:1b954a5da88c (fix for bug 489623) since its still crashing on AWFY
2012-04-30 16:07:05 -04:00
David Anderson
77809391d1
Merge from mozilla-central.
...
--HG--
rename : accessible/src/atk/nsApplicationAccessibleWrap.cpp => accessible/src/atk/ApplicationAccessibleWrap.cpp
rename : accessible/src/atk/nsApplicationAccessibleWrap.h => accessible/src/atk/ApplicationAccessibleWrap.h
rename : accessible/src/base/nsApplicationAccessible.cpp => accessible/src/generic/ApplicationAccessible.cpp
rename : accessible/src/base/nsApplicationAccessible.h => accessible/src/generic/ApplicationAccessible.h
rename : browser/devtools/webconsole/test/browser_gcli_integrate.js => browser/devtools/shared/test/browser_gcli_integrate.js
rename : browser/devtools/webconsole/test/browser_gcli_web.js => browser/devtools/shared/test/browser_gcli_web.js
rename : security/manager/ssl/src/nsNSSIOLayer.cpp => security/manager/ssl/src/TransportSecurityInfo.cpp
rename : security/manager/ssl/src/nsNSSIOLayer.h => security/manager/ssl/src/TransportSecurityInfo.h
2012-04-30 12:53:32 -07:00
Ehsan Akhgari
1264cba321
Backout changeset b0200dab0ccc to revert the incorrect backout of an fx-team range (no bug)
...
This is the range I mistakenly backed out before:
http://hg.mozilla.org/mozilla-central/pushloghtml?changeset=bc5fee76550b
2012-05-02 16:11:19 -04:00
Ehsan Akhgari
077dde163d
Backout the latest merge from fx-team because of Ts regressions (no bug)
2012-05-02 15:37:08 -04:00
Tim Taubert
467f00c214
merge m-c to fx-team; a=js-only
2012-05-02 15:36:57 +02:00
Jim Blandy
af6268930f
Bug 750368: Help 'make xpcshell-tests' find 'mozinfo' Python module. r=ted
2012-05-01 16:54:45 -07:00
Jeff Walden
a79459cb17
Fix some optimized-build warnings, neither yet reported as far as I know. No bug, r=themaid
2012-04-28 10:09:27 -07:00
Jeff Walden
ccee3f6a26
Fix build warnings introduced by bug 745057, bug 739380, and bug 746036 (warnings reported as bug 749951 and bug 749933, and in bug 746036 itself). r=chucktesta
2012-04-28 09:58:30 -07:00
Marco Perez
c0732b5859
Bug 759459 - Build broken on FreeBSD since patch for bug 745034 landed. r=terrence
2012-06-09 12:24:56 -04:00
Sean Stangl
12bea17284
Bug 749822 - Pass original argc to uncompiled functions. r=pierron
2012-04-27 16:55:12 -07:00
Kannan Vijayan
7c539ced68
Bug 489623 - JSOP_SETPROP does not run resolve hook when adding properties (resubmitting after fix)
2012-04-27 16:08:38 -04:00
Kannan Vijayan
c7e2c9a499
Backing out patch for Bug 489623 due to breaking v8-bench.
2012-04-27 15:29:29 -04:00
Kannan Vijayan
6682595eb7
Bug 489623 - JSOP_SETPROP does not run resolve hook when adding properties
2012-04-27 14:51:48 -04:00
Doug Turner
4f0025323f
Backed out changeset 401edab3831f - Bug 758273.
...
--HG--
extra : rebase_source : 8ce201cd3fe6a2d6405be2548927f65dab5cbb39
2012-06-08 21:33:16 -07:00
Luke Wagner
30fb8bd782
Bug 761864 - add write barrier on generator close (r=terrence)
...
--HG--
extra : rebase_source : 08ebe7de84c89ccc2e737ddcf472f59c8cb42b74
2012-06-08 21:14:20 -07:00
Doug Turner
62093ffdb7
Bug 758273 - Device Storage - enumeration option to filter based on last modification date. r=smaug
2012-06-08 20:15:04 -07:00
Rafael Ávila de Espíndola
b13a48e799
Bug 762071 - JS is being compiled with exceptions enabled. r=khuey.
2012-06-08 13:31:28 -04:00
Marty Rosenberg
287b5b296b
Add setelem for typed arrays on ARM. (bug 745391, r=jbramley)
2012-04-26 19:30:04 -07:00
Jeff Walden
b41816bb37
Remove an unnecessary jsdate.h #include from jsobjinlines.h, and add a new one to vm/GlobalObject.cpp, significantly reducing the number of files compiled when jsdate.h changes. No bug, r=sparky
2012-04-26 18:58:30 -07:00
Joey Armstrong
086dd72141
Bug 743243 - Add isTargetStem makefile function. r=ted
2012-04-28 11:16:12 -04:00
Gabor Krizsanits
4ab96d9a72
Bug 735280 - Part 3: Components object specific wrapper. r=bholley
2012-04-28 09:12:28 -04:00
Gabor Krizsanits
d3cb3d3e52
Bug 735280 - Part 2: Add pre-create to nsXPComponents. r=bholley
2012-04-28 09:12:27 -04:00
Gabor Krizsanits
e04309157b
Bug 735280 - Part 1: Connect XPCWrappedNativeScope and Components. r=bholley
2012-04-28 09:12:27 -04:00
David Mandelin
a842c48399
No bug, update Handle documentation, r=NPOTB
2012-04-27 16:40:10 -07:00
Nicolas Pierron
396525c215
Bug 745057 part 2 - Rename FrameRegsIter to ScriptFrameIter. r=luke
2012-04-27 15:14:35 -07:00
Nicolas Pierron
fcda9df993
Bug 745057 part 1 - Abstract StackFrame in TypeObject::clearNewScript. r=luke
2012-04-27 15:14:34 -07:00
David Mandelin
0e160b9533
No bug, add header comments to Memory.h, r=none
2012-04-27 15:10:54 -07:00
Marty Rosenberg
92232bf982
Specify that the input to a gnu asm statemnt is also an output so gcc knows the value in the register gets clobbered (bug 749486, r=jbramley)
2012-04-27 14:58:03 -07:00
Eddy Bruel
8266662238
Bug 703537: Removing the fix trap r=jorendorff@mozilla.com
2012-04-27 17:09:32 -04:00
Justin Lebar
1cb8e5461d
Bug 741652 - Followup: Remove incorrect comment. DONTBUILD
2012-04-27 13:46:45 -04:00
Eddy Bruel
6cf9ac7eb4
Bug 757063 - Make sure ScriptedProxyHandler::defaultValue forwards to BaseProxyHandler, not IndirectProxyHandler; r=bholley
2012-05-22 21:42:21 +02:00
Jim Blandy
d79b51732d
Bug 754146: Root *all* the objects we encounter while reversing the heap. r=billm
2012-05-22 12:16:17 -07:00
Bill McCloskey
2bd1d49b08
Bug 756732 - Add implements barrier flag to block class (r=luke)
2012-05-22 12:11:07 -07:00
Eddy Bruel
6e67896cd9
Bug 703537 - Add DirectProxyHandler; r=bholley
2012-05-22 20:21:21 +02:00
Ehsan Akhgari
c3c06d86cd
Merge from mozilla-central
2012-05-22 10:51:49 -04:00
Mike Hommey
bee280e4c7
Bug 703833 - Add an uintptr_t alternative to the jsval payload, and use it for MarkStackRangeConservatively. r=luke
2012-05-22 08:45:13 +02:00
Mike Hommey
2682d05bb2
Bug 756740 - Allow to build for mipsel with Android NDK r8 (libffi part). r=ted
2012-05-22 08:40:39 +02:00
Mike Hommey
b997ff5138
Bug 756740 - Allow to build for mipsel with Android NDK r8. r=ted
2012-05-22 08:40:32 +02:00
Mike Hommey
c435208046
Bug 756575 - Fix android-platform detection for android-x86. r=ted
2012-05-22 08:40:05 +02:00
Mike Hommey
4403092150
Bug 735223 - Drop support for ancient NDKs. r=ted
2012-05-22 08:37:37 +02:00
Peter Van der Beken
d4809c1dce
Fix for bug 723465 (Make finalize for DOM list bindings use XPConnect).
...
--HG--
extra : rebase_source : e4df7d98765aaa2c600044d69f8714568f1d6109
2012-04-27 10:15:40 +02:00
Mike Hommey
90af61ce13
Bug 749573 - Declare run-mozilla.sh and xpcshell as SDK_BINARY. r=ted
2012-04-30 08:05:34 +02:00
Mike Hommey
d278e617c4
Bug 748739 - Link stdc++compat as a static library, and always link it when STDCXX_COMPAT is enabled. r=ted
...
--HG--
rename : build/stdc++compat.cpp => build/unix/stdc++compat/stdc++compat.cpp
2012-04-30 08:03:59 +02:00
David Anderson
669660b8b9
Reflow phis when demoting to double specialization (bug 747271, r=pierron).
2012-04-26 09:27:29 -07:00
Luke Wagner
8e3396e56b
Bug 746601 - unexpected 'arguments' read from the debugger should work like f.arguments (r=jimb)
2012-04-25 18:21:16 -07:00
Till Schneidereit
7a2a29c947
Bug 723350 - Improve last-ditch GC trigger. r=billm
2012-05-08 18:49:13 -04:00
Sean Stangl
d97714f740
Bug 748071 - Get generateEnterJIT() working on Win64. r=mjrosenb
2012-04-23 18:04:13 -07:00
Christian Holler
4a6d159b95
Bug 747902 - Add --ion, -n and -m flags back for compatibility
2012-04-23 17:32:32 +02:00
Peter Van der Beken
7d387b6e1a
Fix for bug 741267 (UserScript's XMLHttpRequest is undefined in 20120401 nightly).
...
Pass two objects when creating a DOM interface object, the global used to cache
the DOM interface objects and a receiver object on which the named property is
that points to the DOM interface object.
--HG--
extra : rebase_source : b462393e7376fdb68f3b279ccd08b3ab25ac154a
2012-04-23 16:10:56 +02:00
Gijs Kruitbosch
ae54e2bc78
Bug 539095 - Expose high-res timers to web content (performance.now()). r=bz, sr=smaug
...
--HG--
extra : transplant_source : o%9F%061%D4%B5%7D%5C%FB%95%5D%16%27%DEKU%EC%21%3AR
2012-04-27 09:22:06 +02:00
Makoto Kato
04cb76033f
Bug 747311 - autodetect android_toolchain on Android/x86. r=glandium
2012-04-27 14:45:38 +09:00
Phil Ringnalda
1f0b033b16
Merge m-c to m-i
2012-04-26 21:40:59 -07:00
Ed Morley
9da8d22547
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-04-26 13:46:02 +01:00
Kyle Huey
7f0a8a30db
Bug 695480: Remove support for chrome code leaking DOM objects. r=jst,billm,bholley
2012-04-25 21:03:53 -07:00
Andrew McCreight
a9c6928a04
Bug 678615, part 2: remove FinishCycleCollection. r=smaug
2012-04-25 08:10:09 -07:00
Andrew McCreight
a5af270e47
Bug 678615 - remove ExplainLiveExpectedGarbage. r=smaug sr=peterv
2012-04-25 08:10:09 -07:00
Phil Ringnalda
eb87e72a98
Back out ee940e4debd0:7636c7036e2e (bug 659577) for asserting in testBug550743.js
2012-06-01 00:12:22 -07:00
Ed Morley
bf37d98c17
Backout afab1aaf6704 & 0405d42629fd (bug 747197), 0379525bbdca (bug 746262), 91b9cba098f8 (bug 745944), 8535dc5b590a (bug 741040) for win debug bustage
2012-04-25 09:54:34 +01:00
Mike Hommey
79542a4d88
Bug 747870 - Properly align XPCLazyCallContext::mData. r=bholley
2012-04-25 09:09:08 +02:00
Mike Hommey
3f4029bbf4
Bug 743241 - Remove OSARCH and OSTYPE defines from config.mk. r=ted
2012-04-25 09:01:10 +02:00
Mike Hommey
a7c8845018
Bug 508942 - Use Preprocessor.py filters in #defines and #includes. r=ted,r=pike
...
Original patch by Markus Stange.
2012-04-25 09:00:57 +02:00
Matt Brubeck
d5da39b00f
Back out bug 730208 and bug 747543 because of xpcshell test failures
2012-04-24 20:47:16 -07:00
Luke Wagner
d266538fea
Bug 747617 - fix document.all and swap JSClass::{construct,hasInstance} so this doesn't happen again (r=bz)
...
--HG--
extra : rebase_source : 036acbd046ff8b42f81e63933901b6aaaa595a76
2012-05-07 12:44:08 -07:00
Bill McCloskey
4aa8036e35
Bug 750538 - Remove jsgcstats.{cpp,h} (r=dmandelin)
2012-05-08 11:14:14 -07:00
Bill McCloskey
1e044a4a4b
Bug 751454 - Use automarker for XPCNativeScriptableInfo (r=bholley)
2012-05-08 11:11:09 -07:00
Jon Buckley
abfe75ece8
Bug 728017 - Implement WEBGL_compressed_texture_s3tc - r=bjacob
2012-05-08 13:29:31 -04:00
Ed Morley
5885a6edd0
Backout ba7cf6fd10ae (bug 728017) for failing to compile
2012-05-08 18:50:45 +01:00
Jon Buckley
3954a6b841
Bug 728017 - Implement WEBGL_compressed_texture_s3tc - r=bjacob
2012-05-08 13:29:31 -04:00
David Anderson
fd03168e22
Disable TypeScript::SetScope (bug 747226, r=bhackett).
2012-04-19 16:57:58 -07:00
David Anderson
f8f9ea12d7
Enable IonMonkey in the browser, and introduce an about:config option to pref it off (bug 745390, r=dmandelin).
2012-04-19 15:02:47 -07:00
David Anderson
adc35295c8
Enable JITs and type inference by default, and give Ion first chance (bug 724751, r=jandem).
2012-04-19 15:02:11 -07:00
Ryan VanderMeulen
d485f6d4b3
Backout 0b170d1f5d10 (bug 735280) due to red.
2012-04-24 22:09:23 -04:00
Gabor Krizsanits
f58f1c2ecd
Bug 735280 - Part 3: Components object specific wrapper. r=bholley
2012-04-24 21:48:02 -04:00
Gabor Krizsanits
8abef4d8c3
Bug 735280 - Part 2: Add pre-create to nsXPComponents. r=bholley
2012-04-24 21:48:01 -04:00
Gabor Krizsanits
e6e268bb09
Bug 735280 - Part 1: Connect XPCWrappedNativeScope and Components. r=bholley
2012-04-24 21:47:54 -04:00
Ehsan Akhgari
a992263c77
Merge mozilla-central into mozilla-inbound
2012-04-24 21:29:44 -04:00