Sean Stangl
2cb0bdb037
Bug 789300 - Properly detect NaN truthiness. r=dvander
2012-09-18 14:18:38 -07:00
Nicholas Nethercote
9360dbe970
Bug 747202 - Separate and clean up JaegerMonkey's and IonMonkey's memory reporting. r=dvander.
2012-09-19 18:16:49 -07:00
Terrence Cole
8c13717d47
Bug 785551 - Remove an orphaned variable: r=Waldo
...
--HG--
extra : rebase_source : 39b2cd075977cd5ae13d4055fda2658a8cb2cede
2012-09-19 17:00:03 -07:00
Luke Wagner
93b864f871
Bug 786801 - Fix perf regression from adab1fdcfe0a by using currentScript again (r=jorendorff)
...
--HG--
extra : rebase_source : e04b138fa3f68ec893e546a601318923b6655aff
2012-09-19 15:35:42 -07:00
Terrence Cole
938043a087
Bug 785551 - Do not allow inline JSString chars in the frontend; r=luke
...
We need direct access to jschar*s in the frontend (and some other places) for
speed, but if these pointers are inlined into JSStrings then a GC may invalidate
them. This patch ensures that we uninline JSStrings before they enter any of
these regions.
--HG--
extra : rebase_source : ddf62ad2a47b522aa9157be8bd0643022b20909b
2012-08-28 10:28:19 -07:00
Sean Stangl
e38940d2ab
Bug 791589 - Mark the ArgumentsRectifier in visitApplyArgsGeneric(). r=mjrosenb
2012-09-19 15:28:16 -07:00
Ehsan Akhgari
e53b0b3938
Bug 777292 - Make sure that the Components.lastResult is interpreted as unsigned integers; r=bzbarsky
2012-09-21 14:45:57 -04:00
Jim Blandy
50be32e71d
Bug 781439: Trim js/src/jit-test/tests/debug/Environment-find-06.js, and remove assertions. r=luke
...
slotCount() is O(n) on BlockObjects, so that, when used from a loop, those
assertions brought about quadratic behavior. The test creates 'let' blocks
with thousands of bindings, making the quadratic behavior show.
The assertions are unnecessary, as getSlotRef and setSlot do their own
bounds checking. I believe the test can be just as effective with smaller
'let' blocks.
2012-09-18 11:31:15 -07:00
Jan de Mooij
4f82ddcd0a
Bug 792001 followup - Pass jschar to hasUnit/getUnit. r=pierron on IRC
2012-09-18 17:04:45 +02:00
Jan de Mooij
c3d124d9e1
Bug 792001 - Fix race condition with inlined String.fromCharCode. r=pierron
...
--HG--
extra : rebase_source : 275c53293443fec806ad8cf775173d9fdff698ab
2012-09-18 16:11:05 +02:00
Jason Orendorff
0fcc6bf664
Bug 788356 - Fix memory leak in evaluate(). JS shell only; this code is not part of the browser. r=Waldo.
2012-09-18 06:03:23 -05:00
Jason Orendorff
a03774931c
Bug 789239 - Unravel 30-line if condition in Parser.cpp. Part 2 - Rewrite IsValidForStatementLHS using early returns. r=Waldo.
2012-09-18 06:03:22 -05:00
Jason Orendorff
77138fa36b
Bug 789239 - Unravel 30-line if condition in Parser.cpp. Part 1 - Move the condition into a helper function. r=Waldo.
2012-09-18 06:03:22 -05:00
Jason Orendorff
f5d02cae64
Bug 728079 - "Assertion failure: pn2->pn_u.binary.iflags & 0x1" with JS 1.7, for-of loop, and destructuring. r=Waldo.
...
--HG--
extra : rebase_source : c395a34587756bcc5e418e2ed04ec9d055ab230d
2012-09-13 07:56:52 -05:00
Jeff Walden
76a7d750ba
Bug 790349 - Convert all fooAtom uses to simply foo. r=jorendorff
2012-09-11 10:32:33 -07:00
Jeff Walden
3ca93096a0
Bug 790349 - Make JSAtomState store FixedHeapPtr<PropertyName> so that cached-name uses don't have to be rooted. r=jorendorff
2012-09-10 20:42:08 -07:00
Jeff Walden
9199ae6951
Fix all clang warnings introduced by the Ionmonkey landing (and one or two predating it). No bug, r=dvander over IRC
...
--HG--
extra : rebase_source : 60d83d511c3e1cb7c1673f5c5e7800996716fcc1
2012-09-17 18:02:29 -07:00
Jeff Walden
ce22e935f0
Bug 790349 - Allow atoms to be referred to by |cx->names().foo| where |foo| is the text of the atom (except in cases where the text of the atom isn't a C++ identifier). r=jorendorff
...
--HG--
extra : rebase_source : dcd3f2af4b9e9f9ea0fc98cd4f5ad3559cde4358
2012-09-10 13:27:19 -07:00
Jeff Walden
de64264fdd
Bug 790349 - Define keywords with a higher-order macro. r=jorendorff
...
--HG--
extra : rebase_source : 728450bd46473d7d741c119ecfcf4c3c3f98cbad
2012-09-10 13:27:18 -07:00
Jeff Walden
a546087964
Bug 789635 - Clean up JSAtomState so that all atom fields are macro-defined, and move the atoms set into JSRuntime directly. r=jorendorff
...
--HG--
extra : rebase_source : ed461a1092fde477a199499e4519885598be7079
2012-09-06 13:48:40 -07:00
Jeff Walden
4a03fff300
Bug 789635 - Convert the prototype list into a higher-order macro, to facilitate easier use of it in other higher-order macros. r=jorendorff
...
--HG--
extra : rebase_source : 07457587091f60e788a8bddf577514069177b217
2012-09-07 14:42:33 -07:00
Nicholas Nethercote
8ec35ae331
Bug 791608 (part 6) - Fix compile warnings about ObjectImpl::writeBarrierPre(). r=jwalden.
...
--HG--
extra : rebase_source : 57115245e52573641978199620c6b5abb6528f79
2012-09-17 17:20:00 -07:00
Nicholas Nethercote
f89131c7a7
Bug 791608 (part 5) - Fix compile warning about signed/unsigned comparison. r=jwalden.
...
--HG--
extra : rebase_source : a8b8c61addc606a0d17520f3cfac18762836c164
2012-09-17 17:18:32 -07:00
Nicholas Nethercote
8faad9e827
Bug 791608 (part 4) - Fix compile warnings about ObjectImpl::getClass(). r=jwalden.
...
--HG--
extra : rebase_source : dc15218ede7135a3487cb31997e532abccd0d256
2012-09-17 17:16:57 -07:00
Nicholas Nethercote
e0b4a1beaa
Bug 791608 (part 3) - Fix compile warnings about JSContext::{enter,leave}Compartment(). r=jwalden.
...
--HG--
extra : rebase_source : 8b184f95cdcff660b9837490e62dbb5c15f267b2
2012-09-17 17:16:23 -07:00
Nicholas Nethercote
ba81fac192
Bug 791608 (part 2) - Fix compile warnings about JSContext::typeInferenceEnabled(). r=jwalden.
...
--HG--
extra : rebase_source : e086bc6c421b2892cf2648c24a0af798159e98f5
2012-09-17 17:15:54 -07:00
Nicholas Nethercote
bd8bae54c6
Bug 791608 (part 1) - Fix compile warnings about JSObject::isFunction. r=jwalden.
...
--HG--
extra : rebase_source : 32e1bd6d65d4c2f6002b40ac0cbdd4955f2ddcdd
2012-09-17 17:11:54 -07:00
Jan de Mooij
77f1f71f9a
Bug 779411 - Require use-at-start or fixed registers at call instructions. r=sstangl
2012-09-17 17:16:03 -07:00
Javi Rueda
33e1586046
Bug 530099 - Remove extensions.getMore* preferences. r=dtownsend
2012-09-17 18:42:36 -04:00
Jeff Walden
f0306c6359
Backed out changeset b6855b090307, possible memory leak. r=graphserver
...
--HG--
extra : rebase_source : f7e5b460f3c96ee74a0ba2abbd122c436e134063
2012-09-17 15:11:24 -07:00
Jeff Walden
1a9be94bdf
Backed out changeset 17d36418f4d6, possible memory leak. r=graphserver
...
--HG--
extra : rebase_source : ce0a13c66211ad536eca08722cf15b2214e0d8da
2012-09-17 15:10:47 -07:00
Jeff Walden
dde78b4799
Backed out changeset 9eadf573bb38, possible memory leak. r=graphserver
...
--HG--
extra : rebase_source : 06d158261952934bfb60c0cc1ce38e1cbcede53a
2012-09-17 15:07:42 -07:00
Jeff Walden
52c123e54c
Backed out changeset 2cdc9370922f, possible memory leak. r=graphserver
...
--HG--
extra : rebase_source : 465017bdf909f3fa390e2e676b3421a75c6f5b04
2012-09-17 15:06:58 -07:00
Jeff Walden
7816643d7f
Backed out changeset cf239b55242a, possible memory leak. r=graphserver
...
--HG--
extra : rebase_source : 5dc4920582bd2e73e7fa3346ba7b4ec8148a9d0c
2012-09-17 15:06:16 -07:00
Jeff Walden
d79629b328
Backed out changeset d3d8807c6c59, possible memory leak. r=graphserver
...
--HG--
extra : rebase_source : f1b208bb368083e8685619a5f0e11fb6c2ffd09b
2012-09-17 15:04:21 -07:00
Terrence Cole
0a92ab063e
Bug 790836 - Don't mark the fields of IonJSFrameLayout twice; r=pierron
...
This also skips poisoning stack roots owned by Ion in the rooting analysis.
--HG--
extra : rebase_source : 006079bc3f443bd6630f5a3c32135fbddc279f1d
2012-09-17 11:13:20 -07:00
Jeff Walden
6f6a379cab
Bug 790349 - Convert all fooAtom uses to simply foo. r=jorendorff
...
--HG--
extra : rebase_source : b0b255d242dbb8cef2df3c758bec82e88699ecdd
2012-09-11 10:32:33 -07:00
Jeff Walden
d6e3e21556
Bug 790349 - Make JSAtomState store FixedHeapPtr<PropertyName> so that cached-name uses don't have to be rooted. r=jorendorff
...
--HG--
extra : rebase_source : f9113497185b3404415603da4fc8c43125d9052c
2012-09-10 20:42:08 -07:00
Jeff Walden
9641f5c879
Bug 790349 - Allow atoms to be referred to by |cx->names().foo| where |foo| is the text of the atom (except in cases where the text of the atom isn't a C++ identifier). r=jorendorff
...
--HG--
extra : rebase_source : b07052fa40f006d22f0fbd584ab0a28507cae1d3
2012-09-10 13:27:19 -07:00
Jeff Walden
1b2206853c
Bug 790349 - Define keywords with a higher-order macro. r=jorendorff
...
--HG--
extra : rebase_source : 1f8e8e61af6407d4e164c0e8d6a7e29b4358a7dc
2012-09-10 13:27:18 -07:00
Jeff Walden
d892582d8e
Bug 789635 - Clean up JSAtomState so that all atom fields are macro-defined, and move the atoms set into JSRuntime directly. r=jorendorff
...
--HG--
extra : rebase_source : 83316d60be6a58b5a4b51058331068bf68ec0626
2012-09-06 13:48:40 -07:00
Jeff Walden
b89a5856a7
Bug 789635 - Convert the prototype list into a higher-order macro, to facilitate easier use of it in other higher-order macros. r=jorendorff
...
--HG--
extra : rebase_source : 7adb1efe9f87467767ea498b85182b7e6aa7cf17
2012-09-07 14:42:33 -07:00
Jeff Walden
ebd7f5c29b
Bug 790349 - Implement a FixedHeapPtr class to replace raw pointers to GC-managed things, which will implicitly convert to a handle. r=billm
...
--HG--
extra : rebase_source : 2a0091031ec8f6083aaeda06163d6a063c32e4ac
2012-09-04 10:01:53 -07:00
Jeff Walden
736d91284b
Use MOZ_DELETE on the copy/assignment operators for various hash classes. No bug, r=lumpy
...
--HG--
extra : rebase_source : f9fb08566c17f62c189b1469e3730554b6fbe1ce
2012-09-10 13:27:04 -07:00
Jeff Walden
f7d62e2bcd
Tweak an assertion in HashTable.h to use initialized() rather than !null, for clarity. No bug, r=sparky
...
--HG--
extra : rebase_source : a6110712d528e52323293cdbff4b171c5fda6401
2012-09-10 13:17:55 -07:00
Nicolas B. Pierron
3d1b625fd2
Bug 791122 - IonMonkey, fix bogus DOM exit frame assertion. r=efaust
2012-09-17 10:34:07 -07:00
James Kitchener
1272e4ff62
Bug 730859 - Replace JSAtom with PropertyName in JSOP_DELPROP. r=jandem
...
--HG--
extra : rebase_source : 10cfedf5457090832910d436b8191e7af8e906b2
2012-09-17 17:19:26 +02:00
Peter Van der Beken
71b55b1f68
Fix for bug 788532 (Add the new DOM bindings API to DOM lists). r=bz.
...
--HG--
extra : rebase_source : 18e21a786b6a9cc2aeada52ba5ca3a2614cb596b
2012-09-05 22:49:53 +02:00
Ms2ger
8976774677
Bug 787933 - Stop using stdin types in IPC code; r=bsmedberg+cjones sr=cjones
2012-09-17 10:37:20 +02:00
Bill McCloskey
2b5c5c30ba
Bug 790865 - Add more compartment assertions (r=terrence)
2012-09-14 17:19:53 -07:00
Bill McCloskey
707b83567c
Bug 791371 - IonMonkey: ContextStack::currentScript needs check (r=dvander)
2012-09-14 16:23:43 -07:00
Bill McCloskey
7f4261cbf6
Bug 791376 - Simplify JSObject::swap (r=bholley)
2012-09-14 16:20:04 -07:00
Takanori MATSUURA
003daee28d
Bug 790868 - Remove duplicated --disable-ion definition. r=njn
2012-09-14 16:04:47 -04:00
Andrew Quartey
f408860a65
Bug 791091 - Fix build warnings in XPConnect. r=jorendorff
2012-09-14 15:00:01 -04:00
Ehsan Akhgari
46f6a1d616
Bug 579517 follow-up: Remove NSPR types that crept in
2012-09-14 14:55:01 -04:00
Jan de Mooij
4666771c44
Bug 764743 - Port RegExp.exec -> RegExp.test optimization to IonMonkey. r=sstangl
2012-09-14 18:39:53 +02:00
Gary Kwong
5bd546c887
Bug 727223 - Add test, r=me
2012-09-14 08:33:33 -07:00
Jan de Mooij
be14075016
Bug 790108 part 2 - Use AutoValueArray to root argv array. r=terrence
2012-09-14 13:47:43 +02:00
Jan de Mooij
076607a353
Bug 790108 part 1 - Use HandleObject, MutableHandleValue for pop/shift/push stubs. r=dvander
2012-09-14 13:44:15 +02:00
Norbert Lindenberg
1f492e6a0e
Bug 784300 - Make self-hosted non-constructor functions not have a prototype. r=tschneidereit
2012-09-13 11:33:00 +02:00
Nicholas Nethercote
dfbdbe81e0
Bug 782802 (part 4) - Still more exact rooting in jsreflect.cpp. r=terrence.
...
--HG--
extra : rebase_source : 713f1d186fdae009fe3d349f3e6fcb6aebdbfdc9
2012-09-12 22:10:51 -07:00
Nicholas Nethercote
6731efebee
Bug 782802 (part 3) - Yet more exact rooting in jsreflect.cpp, enough to turn on exact scanning with the root analysis. r=terrence.
...
--HG--
extra : rebase_source : 89c6b0ea11cff82b7a13e9667edb5c6a031cb78d
2012-09-12 22:02:10 -07:00
Nicholas Nethercote
5cbcfd2abf
Bug 782802 (part 2) - More exact rooting in jsreflect.cpp. r=terrence.
...
--HG--
extra : rebase_source : 1d34717fb1cda8e83cca3d51ddcb7c75de2bbd07
2012-09-12 16:52:48 -07:00
Nicholas Nethercote
d7044fc17e
Bug 782802 (part 1) - Start doing exact rooting in jsreflect.cpp. r=terrence.
...
--HG--
extra : rebase_source : 6b0d998d7432f9dbcb239197d026f381335faf2f
2012-09-12 16:19:40 -07:00
Gary Kwong
b0d8721394
Bug 791146 - Fix the property name of JS_THREADSAFE in GetBuildConfiguration to 'threadsafe', and remove duplicate JSGC_ROOT_ANALYSIS ifdef block, r=sfink
2012-09-13 17:59:17 -07:00
Sean Stangl
0ebdad196c
Bug 790921 - Return on error from patchableCallPreBarrier(). r=dvander
2012-09-13 16:58:47 -07:00
Benjamin Peterson
426ab47193
No bug - tweak comment. r=me DONTBUILD
2012-09-13 19:42:38 -04:00
Eddy Bruel
6f2f95a5cd
Bug 791094 - Fix some warnings about inconsistent uses of struct/class; r=sfink
2012-09-13 23:06:22 +02:00
Terrence Cole
c22e05d377
Bug 790782 - Fix initialization of StoreBuffer and Nursery; r=sfink
...
When initializing the compartment, we need to explicitly disable the StoreBuffer
and Nursery if we are not enabling them.
2012-09-12 15:38:31 -07:00
Terrence Cole
6bfcd79947
Bug 788359 - Remove unused argumentFormatMap and associated API; r=dmandelin
...
This removes some fiddly code sitting around completely unused and untested.
--HG--
rename : layout/base/tests/chrome/blue-32x32.png => layout/reftests/backgrounds/blue-32x32.png
rename : mobile/android/config/mozconfigs/android-noion/nightly => mobile/android/config/mozconfigs/android/nightly
extra : rebase_source : 68192aba59396a37242ee2aa266621dbea513171
2012-09-04 17:17:21 -07:00
Benjamin Peterson
8f8ef0fd03
Bug 788701 - Decrease the length of the text to match when there is a start position. r=jorendorff
2012-09-13 14:34:33 -04:00
Steve Fink
7ead81e495
Bug 786386 - Add easy way to disable typed array move() method. r=dmandelin
2012-09-13 09:30:17 -07:00
Eddy Bruel
52db8cd7aa
Bug 779789 - Turn export and import from reserved keywords into real keywords; r=jorendorff
2012-09-13 15:08:59 +02:00
Jan de Mooij
8abd43e450
Bug 784385 - Fix JSOP_SETPROP to push the original value, not the setter's return value. r=djvj
2012-09-12 20:07:20 +02:00
Nicholas Nethercote
08b9c0e7b7
Backout 04eb40b6fdd0 (bug 788261 part 2) for breaking js1_8_5/extensions/reflect-parse.js.
...
--HG--
extra : rebase_source : 4acc488de2923d45c9189f62378c3a8907d0c049
2012-09-12 22:10:25 -07:00
Benjamin Peterson
93bfdeaedc
Bug 781422 - Give parameters defaults whenever they're undefined. r=jorendorff
...
--HG--
extra : rebase_source : 76adc4ad8eb99002919489107c15931c56f747d6
2012-09-12 19:17:17 -04:00
Neil Rashbrook
f194ed342b
Bug 790737 Tweak epoch date r=glandium
2012-09-12 22:15:25 +01:00
Rafael Ávila de Espíndola
5101e1a9f4
Bug 788276 - Properly check for broken (deprecated) compilers. r=gps.
...
Check for old gcc versions.
2012-09-12 14:54:40 -04:00
Rafael Ávila de Espíndola
3984de1de8
Bug 788276 - Properly check for broken (deprecated) compilers. r=gps.
...
Check for old versions of llvm.
2012-09-12 14:48:16 -04:00
Tom Schuster
a6de2b4f37
No bug - Proxy::fun_toString should call the fun_toString handler. r=jorendorff
2012-09-12 19:06:56 +02:00
Jason Orendorff
031d67828c
Bug 781343 - Part 2: common up some debug functions in shell/js.cpp. r=jimb.
...
--HG--
extra : rebase_source : 83946e4ad299b5a1fa8a246156414ca92d76bf84
2012-09-12 11:03:15 -05:00
Jason Orendorff
8ab261f54a
Bug 781343 - "Assertion failure: !cx->isExceptionPending()". r=jimb.
...
--HG--
extra : rebase_source : f1347aaf159380c78563418b73a412a8518a0517
2012-09-12 11:02:22 -05:00
Jason Orendorff
48c8e8d9bf
Bug 779025 - jit-test/tests/collections/Map-iterator-add-remove.js causes AddressSanitizer heap-use-after-free. r=luke.
...
--HG--
extra : rebase_source : bef5647e7a6936f4302880300e36653e21fc831e
2012-09-12 11:01:34 -05:00
Jason Orendorff
1288cd8a5e
Bug 778557 - "Assertion failure: !args.rval().isPrimitive() && callee != &args.rval().toObject()". r=jimb.
...
--HG--
extra : rebase_source : fa51b866178d26c0a2e17f0de13d4398b6ce8897
2012-09-12 11:00:08 -05:00
Yusuke Suzuki
52f75243f9
Bug 790247 - Reflect.parse should treat x["y"] as a computed MemberExpression. r=jorendorff.
2012-09-12 10:27:09 -05:00
Gina Yeh
1cca3ee12d
Bug 789014 - Final version: Broadcast bonding-related events via system message, r=qdot, r=mrbkap
2012-09-12 22:03:42 +08:00
Jan de Mooij
76ffe3fcc8
No bug - Fix Clang warnings in jsinfer.cpp and IonFrames.cpp. r=pierron
2012-09-12 15:00:45 +02:00
Jon Coppeard
fb88cce090
Bug 787905 - GC: SweepBackgroundThings can be called with freed compartments in list r=billm
2012-09-12 10:52:19 +01:00
Nicholas Nethercote
6af4eb32dd
Bug 788957 (part 5) - Remove unused arguments from NoteLValue(). r=benjamin.
...
--HG--
extra : rebase_source : 0619c948733d8968868960daca1920a237342174
2012-09-10 20:44:05 -07:00
Nicholas Nethercote
6798e6861d
Bug 788957 (part 4) - Add GlobalSharedContext, a sub-class of SharedContext, and also make FunctionBox a sub-class of SharedContext. r=benjamin.
...
--HG--
extra : rebase_source : 625a93dc48acbbdb9185378534e52b700688011d
2012-09-10 20:43:14 -07:00
Nicholas Nethercote
170e2935ae
Bug 788957 (part 3) - Change SharedContext::inFunction() to SharedContext::isFunction. r=benjamin.
...
--HG--
extra : rebase_source : ce3e88a0d9da9d6946783e86188ae80cdae7dabc
2012-09-10 20:42:18 -07:00
Nicholas Nethercote
e58297be27
Bug 788957 (part 2) - Split ContextFlags into AnyContextFlags and FunctionContextFlags. r=benjamin.
...
--HG--
extra : rebase_source : a850729d3ca94cc6a04c87bf26e6154a7e1ef18b
2012-09-10 20:40:11 -07:00
Nicholas Nethercote
1d3a09e9e5
Bug 788957 (part 1) - Change FunctionBox so it has an ObjectBox rather than is an ObjectBox. r=benjamin.
...
--HG--
extra : rebase_source : b7f2465bddce85a641be03c7120be8b949653bd2
2012-09-10 17:58:32 -07:00
Terrence Cole
07c15260ff
Bug 746112 - Don't decommit if page size is too large; r=billm
...
The powerpc architecture has 64KiB pages, which is too large to represent in the
free list. This patch splits the page size from the arena size and disabled
decommit logic in that case.
2012-09-05 12:40:25 -07:00
Terrence Cole
b654f5b571
Bug 790436 - Add GuardObject annotation to JS::Root; r=sfink
...
It is invalid to use JS::Root as a temporary, since destruction order is not
specified in this case.
--HG--
extra : rebase_source : 1ce35c0c938fd2f7a0998bc1b9cddff222c016fd
2012-09-11 14:58:47 -07:00
Bill McCloskey
50207695f5
Bug 787847 - Missing property IC needs to check proto chain for proxies (r=luke)
2012-09-11 17:06:24 -07:00
Ehsan Akhgari
bf95568d0e
Merge IonMonkey into mozilla-inbound
2012-09-11 16:38:44 -04:00
David Anderson
cee4eb116d
Merge magic: IGNORE BAD COMMIT MESSAGES
2012-09-11 10:33:00 -07:00
David Anderson
7b438ddde2
Merge IonMonkey to mozilla-central. a=arewefastyet
...
--HG--
rename : content/base/src/nsWebSocket.cpp => content/base/src/WebSocket.cpp
rename : content/base/src/nsWebSocket.h => content/base/src/WebSocket.h
2012-09-11 10:25:14 -07:00
Bobby Holley
4473d2369c
Bug 788914 - Kill the XOW flag. r=mrbkap
...
There are really two questions to be asked: is the caller chrome, and does the
caller subsume the callee. We have other, more precise ways of asking both of
these questions.
2012-09-11 01:05:10 -07:00
Bobby Holley
9d14b3e60e
Bug 788914 - Kill partially transparent wrappers. r=mrbkap
2012-09-11 01:05:10 -07:00
Bobby Holley
0900323b2e
Bug 788914 - Remove dynamic UniversalXPConnect checks sprinkled around the wrapper code. r=mrbkap
2012-09-11 01:05:10 -07:00
Bobby Holley
2f472dd63b
Bug 788914 - Recompute cross-compartment wrappers when UniversalXPConnect is enabled. r=mrbkap
2012-09-11 01:05:10 -07:00
Bobby Holley
a3e2696480
Bug 788914 - Generate vanilla cross-compartment wrappers when UniversalXPConnect is enabled. r=mrbkap
2012-09-11 01:05:10 -07:00
Mike Hommey
b0c0deaf39
Bug 789837 - Properly set dependencies on .deps directories. r=ted
2012-09-11 09:43:32 +02:00
Benjamin Peterson
6c127f7a77
No bug - Make NameResolver constructor explicit. r=sfink
2012-09-11 16:25:12 -04:00
Terrence Cole
0d6ab667ae
Bug 784631 - Fix some clang build errors in SpiderMonkey; r=Waldo f=espindola
...
Computed gotos are not in the C++ standard: clang and gcc differ on semantics.
2012-09-11 12:31:04 -07:00
Eddy Bruel
bff8be71da
Bug 720619 - Attempt a puncture for the [[DefaultValue]] trap; r=bholley
2012-09-11 21:42:01 +02:00
Bobby Holley
f1fd4b30db
Bug 789713 - Ignore domain when computing whether to share non-PreCreate WNs cross-compartment. r=mrbkap
2012-09-11 10:23:20 -07:00
Shu-yu Guo
82ed635ddd
Bug 788403 - Fix ParallelArray.scatter iteration and row bounds checking (r=dmandelin)
2012-09-11 10:12:05 -07:00
David Anderson
7c176d7a19
Use HandleValue for all vm calls (bug 786130, r=sstangl).
2012-09-10 16:40:44 -07:00
David Anderson
f35b87ba1c
Completely disable IonMonkey when MOZ_APP_NAME=b2g (bug 790092, r=sstangl).
...
--HG--
extra : rebase_source : 35dac954dbacacbae36848a47492f2ec25273a65
2012-09-10 15:28:11 -07:00
Sean Stangl
746d8349ff
Bug 789735 - Handle lazily-created TypeObjects in IonBuilder. r=dvander
2012-09-10 15:13:38 -07:00
David Anderson
24145fc9a1
Merge from mozilla-central.
2012-09-10 12:16:38 -07:00
Rafael Ávila de Espíndola
6c7b4adc54
Bug 787931 - update the default compiler on OS X because we can't build with gcc 4.2 any longer. r=gps.
2012-09-10 14:52:26 -04:00
Jan de Mooij
0522b0d60d
Bug 789448 - Don't call GetPcScript under ToIdOperation. r=dvander
2012-09-10 10:16:24 +02:00
Daniel Holbert
f32f6b5f8b
Bug 789382: Change nsIScriptError methods init() and initWithWindowID() to take nsAString, rather than wchar / PRUnichar*. r=bz sr=bsmedberg
2012-09-09 16:29:12 -07:00
Rafael Ávila de Espíndola
78cae85108
Bug 787931 - Add better error message. r=gps.
2012-09-11 09:02:20 -04:00
David Anderson
5d16f3abdd
Fix bug where forbiding Ion compilation could miss marking an IonScript (bug 786107, r=terrence).
2012-09-07 15:31:35 -07:00
David Anderson
b0a287cfcc
Merge from mozilla-central.
2012-09-07 15:17:11 -07:00
Jan de Mooij
593f383998
Bug 788476 - Fold x & -1 to x. r=dvander
2012-09-07 12:53:02 +02:00
Gary Kwong
4fdce95693
Bug 641563 - Add test. r=me
2012-09-07 02:20:43 -07:00
Gary Kwong
1f7c326d67
Bug 633828 - Fix nit in test. r=nitpick
...
--HG--
extra : rebase_source : a8cb6e6936720d5b5c5694e82aca0b0f7d073345
2012-09-07 02:17:27 -07:00
Ed Morley
38c6f2fdd8
Backout 5853df66d488, e8fadd906232, d787279d282c, 8c1ed6327355, 94cfcf5da7c8, 87aa103d7e87 (bug 585922) for failures in test_bug411236.html
2012-09-07 09:15:34 +01:00
Bobby Holley
27358249f4
Bug 788914 - Kill the XOW flag. r=mrbkap
...
There are really two questions to be asked: is the caller chrome, and does the
caller subsume the callee. We have other, more precise ways of asking both of
these questions.
2012-09-06 22:55:18 -07:00
Bobby Holley
3b8d75b1cc
Bug 788914 - Kill partially transparent wrappers. r=mrbkap
2012-09-06 22:55:18 -07:00
Bobby Holley
5b16b0b95a
Bug 788914 - Remove dynamic UniversalXPConnect checks sprinkled around the wrapper code. r=mrbkap
2012-09-06 22:55:18 -07:00
Bobby Holley
69a8c46e0e
Bug 788914 - Recompute cross-compartment wrappers when UniversalXPConnect is enabled. r=mrbkap
2012-09-06 22:55:18 -07:00
Bobby Holley
5ef4ab7e3c
Bug 788914 - Generate vanilla cross-compartment wrappers when UniversalXPConnect is enabled. r=mrbkap
2012-09-06 22:55:18 -07:00
David Anderson
6c5722e35b
Merge from mozilla-central.
2012-09-06 18:28:59 -07:00
Sean Stangl
723d6c73f7
Bug 787921 - Fix IonMonkey interrupt detection. r=dvander
2012-09-06 16:34:48 -07:00
Tom Schuster
516460a8dc
Bug 769363 - IonMonkey: LBoundsCheck should not require a register for the length operand. r=jandem
2012-09-05 15:54:16 +02:00
David Anderson
a21c0b9bdb
More bustage fix.
2012-09-05 17:13:09 -07:00
David Anderson
5456cc17fc
Fix merge bustage.
2012-09-05 16:41:59 -07:00
David Anderson
043ddae94a
Merge from mozilla-central.
...
--HG--
rename : js/jsd/jsd_scpt.c => js/jsd/jsd_scpt.cpp
rename : js/jsd/jsd_stak.c => js/jsd/jsd_stak.cpp
rename : js/jsd/jsd_val.c => js/jsd/jsd_val.cpp
2012-09-05 16:18:11 -07:00
Tom Schuster
c047875a65
Backed out changeset 2257377e7972
2012-09-05 16:31:15 +02:00
Tom Schuster
58a0ff50f6
Bug 769363 - IonMonkey: LBoundsCheck should not require a register for the length operand. r=jandem
2012-09-05 15:54:16 +02:00
Jan de Mooij
84b7b334fb
Bug 787906 - Don't emit a shift instruction for x >>> 0. r=dvander
2012-09-05 11:54:33 +02:00
Sean Stangl
22abc28b96
No bug - Exciting adventures in rebasing. r=red
2012-09-04 16:12:50 -07:00
Sean Stangl
f647b18b1f
Bug 787292 - Faster x64 boxed loads/stores. r=dvander
2012-09-04 15:42:03 -07:00
Sean Stangl
40d9470010
Bug 787343 - Support unboxed input to MPassArg. r=dvander
2012-09-04 15:20:32 -07:00
Ed Morley
e994031403
Backout a3a7de3e2938 (bug 784294), cddd665d83f0 (bug 787927) for failures in browser_dbg_bfcache.js
2012-09-06 18:50:34 +01:00
Steve Fink
07239b4243
Bug 787709 - Crash test for bug 787775. r=woof!
...
--HG--
extra : rebase_source : 803db5d08bead4908d5fa2d487848a0912dcd538
2012-09-06 10:29:19 -07:00
Marty Rosenberg
d439d55b61
Fix CodeGenerator::visitAbsI's handling of snapshot (no bug, r=dvander)
2012-09-04 17:00:13 -04:00
Eric Faust
fda7c0841c
Bug 781388 - Fix build. (r=ImAMoron)
2012-09-04 15:23:25 -04:00
Sean Stangl
aa7b1c5a1c
Backout 5059a4152b84.
2012-09-04 12:20:23 -07:00
Eric Faust
e56ce78576
Bug 781388 - Optimize codegen for infallible DOM methods. (r=sstangl)
2012-09-04 15:18:50 -04:00
David Anderson
55a88750dd
Inline constants when deciding OSR types (bug 787301, r=kannan).
2012-09-04 11:58:21 -07:00
Jan de Mooij
4262f3bac0
Bug 788111 - Fix double condition in OutOfLineTruncate. r=dvander
2012-09-04 20:20:40 +02:00
Jan de Mooij
b90d244eaf
Bug 785974 - Handle JSOP_URSH with double type without bailouts. r=dvander
...
--HG--
extra : rebase_source : e0e06944e53e044eb45dc60ffabd1a1059a6358c
2012-09-01 19:11:18 +02:00
David Anderson
16de435941
Remove debug line from test.
2012-08-31 17:57:24 -07:00
David Anderson
85d1507470
Include loop entry types when determining OSR types (bug 774644, r=jandem).
2012-08-31 17:41:53 -07:00
Jan de Mooij
35bc031566
Bug 777383 - Don't add undefined type to property reads before test ops. r=bhackett
2012-08-31 13:16:01 +02:00
Jan de Mooij
a877fc9bcf
Bug 786294 - Don't use emit-at-uses for double constants on x64. r=dvander
2012-08-31 10:39:05 +02:00
Sean Stangl
2b88b7a223
Bug 787292 - Faster x64 boxed loads/stores. r=dvander
2012-08-30 22:27:23 -07:00
David Anderson
8040d7314c
Get --disable-ion working again (bug 787288, r=sstangl).
2012-08-30 18:54:09 -07:00
Brian Hackett
2233316bc3
Re-enable JM inlining when IonMonkey is disabled, bug 786925. r=dvander
2012-08-30 14:44:15 -06:00
Brian Hackett
1169d93f11
Don't eagerly fetch values from prototypes when analyzing reads on shadowed properties, bug 786915. r=jandem
2012-08-30 10:11:44 -06:00
David Anderson
53c72eee46
Fix merge bustage, part a billion.
2012-08-30 00:31:13 -07:00
David Anderson
510354e59f
Bustage fix.
2012-08-29 21:59:32 -07:00
David Anderson
6081a8de6b
Merge bustage, part 3.
2012-08-29 20:57:37 -07:00
David Anderson
8e19c38abc
Fix merge bustage part 2.
2012-08-29 18:17:32 -07:00
David Anderson
7c2bf8eec7
Fix merge bustage.
2012-08-29 18:04:42 -07:00
David Anderson
f1820f99a7
Merge.
2012-08-29 17:58:13 -07:00
David Anderson
25c3dd55c0
Merge from mozilla-central.
...
--HG--
rename : js/src/sharkctl.cpp => js/src/devtools/sharkctl.cpp
rename : js/src/sharkctl.h => js/src/devtools/sharkctl.h
rename : js/src/MemoryMetrics.cpp => js/src/jsmemorymetrics.cpp
2012-08-29 17:57:37 -07:00
David Anderson
6b403f94c2
Merge from mozilla-central.
...
--HG--
rename : content/base/public/nsIFrameMessageManager.idl => content/base/public/nsIMessageManager.idl
2012-08-29 17:51:24 -07:00
Luke Wagner
f70f4a0893
Bug 784188 - Use the correct ArenaKind for inline CallObject creation (r=dvander)
2012-08-29 14:33:28 -07:00
Sean Stangl
6a72b57ced
Backed out changeset d11dafc10fc0
2012-08-29 12:18:45 -07:00
Siddharth Agarwal
6e3e5ab3cb
Merge mozilla-central to mozilla-inbound.
2012-08-29 20:41:03 +05:30
Siddharth Agarwal
4ac6379343
Backout bug 784262 because of Pymake bustage and GNU Make "warning: overriding commands for target".
2012-08-29 20:36:23 +05:30
Jan de Mooij
638e50726c
Bug 784127 - Stop inlining monomorphic property accesses if a shape guard fails. r=sstangl
2012-08-29 10:56:14 +02:00
Mike Hommey
543e39518d
Bug 785871 - Make config.status importable. r=gps
2012-08-29 08:55:58 +02:00
Mike Hommey
6f9fd5c1fe
Bug 785622 - Only include .pp files corresponding to files we do build. r=khuey
2012-08-29 08:55:58 +02:00
Mike Hommey
2c1a2e9335
Bug 784262 - Use generic install/copy rule in rules.mk. r=ted
2012-08-29 08:55:57 +02:00
Mike Hommey
35fc14432b
Bug 783950 - Refresh libffi patches. r=ted
2012-08-29 08:55:57 +02:00
Gregory Szorc
aa3ebf1947
Bug 786540 - Remove unused exports target; r=glandium
...
This rule does nothing. It serves no purpose. It shall be eliminated.
2012-08-28 20:13:29 -07:00
Luke Wagner
1b8703b211
Bug 784894 - Fix sharkctl.h #include on OSX (r=bustage)
2012-08-28 16:56:54 -07:00
Brian Hackett
897e42e112
Don't assume calls with ignored return values will produce undefined, bug 786491. r=luke
2012-08-28 17:39:01 -06:00
Marty Rosenberg
a0a2531a6e
Create a new IonContext in a second place (bug 786437, r=dvander)
2012-08-28 19:20:59 -04:00
Marty Rosenberg
bf4581bc06
When discarding Ion code, ensure there is an IonContext around so the autoflusher can function (bug 786004, r=dvander)
2012-08-28 05:20:22 -04:00
Brian Hackett
2cd7a52024
Don't generate ion compilation checks in scripts which have already been ion compiled, bug 785755. r=dvander
2012-08-27 18:43:42 -06:00
David Anderson
7e54805175
Fix race condition between TriggerOperationCallback and InvokeOperationCallback (bug 785560, r=sstangl).
...
--HG--
extra : rebase_source : 26c8592fb40d17d63ffe52266ebc1fbe01e8b410
2012-08-27 16:02:47 -07:00
Kannan Vijayan
2587d0cd4d
Backed out changeset 92b9b2840a79
2012-08-27 15:38:28 -04:00
Kannan Vijayan
c58fb67238
Bug 783008 - Do early inlining of "simple" JS functions. (r=bhackett)
2012-08-27 14:36:35 -04:00
Luke Wagner
a88c217f82
Bug 784894 - put NPOTB tools/utilities in js/src/devtools (r=sfink)
...
--HG--
rename : js/src/ETWProvider.man => js/src/devtools/ETWProvider.man
rename : js/src/metrics/gc/README.txt => js/src/devtools/gc/README.txt
rename : js/src/metrics/gc/gc-test.py => js/src/devtools/gc/gc-test.py
rename : js/src/metrics/gc/tests/clock.js => js/src/devtools/gc/tests/clock.js
rename : js/src/metrics/gc/tests/dslots.js => js/src/devtools/gc/tests/dslots.js
rename : js/src/metrics/gc/tests/loops.js => js/src/devtools/gc/tests/loops.js
rename : js/src/metrics/gc/tests/objGraph.js => js/src/devtools/gc/tests/objGraph.js
rename : js/src/gnuplot/gcTimer.gnu => js/src/devtools/gnuplot/gcTimer.gnu
rename : js/src/javascript-trace.d => js/src/devtools/javascript-trace.d
rename : js/src/metrics/jint/sunspider/3d-cube.js => js/src/devtools/jint/sunspider/3d-cube.js
rename : js/src/metrics/jint/sunspider/3d-morph.js => js/src/devtools/jint/sunspider/3d-morph.js
rename : js/src/metrics/jint/sunspider/3d-raytrace.js => js/src/devtools/jint/sunspider/3d-raytrace.js
rename : js/src/metrics/jint/sunspider/access-binary-trees.js => js/src/devtools/jint/sunspider/access-binary-trees.js
rename : js/src/metrics/jint/sunspider/access-fannkuch.js => js/src/devtools/jint/sunspider/access-fannkuch.js
rename : js/src/metrics/jint/sunspider/access-nbody.js => js/src/devtools/jint/sunspider/access-nbody.js
rename : js/src/metrics/jint/sunspider/access-nsieve.js => js/src/devtools/jint/sunspider/access-nsieve.js
rename : js/src/metrics/jint/sunspider/bitops-3bit-bits-in-byte.js => js/src/devtools/jint/sunspider/bitops-3bit-bits-in-byte.js
rename : js/src/metrics/jint/sunspider/bitops-bits-in-byte.js => js/src/devtools/jint/sunspider/bitops-bits-in-byte.js
rename : js/src/metrics/jint/sunspider/bitops-bitwise-and.js => js/src/devtools/jint/sunspider/bitops-bitwise-and.js
rename : js/src/metrics/jint/sunspider/bitops-nsieve-bits.js => js/src/devtools/jint/sunspider/bitops-nsieve-bits.js
rename : js/src/metrics/jint/sunspider/controlflow-recursive.js => js/src/devtools/jint/sunspider/controlflow-recursive.js
rename : js/src/metrics/jint/sunspider/crypto-aes.js => js/src/devtools/jint/sunspider/crypto-aes.js
rename : js/src/metrics/jint/sunspider/crypto-md5.js => js/src/devtools/jint/sunspider/crypto-md5.js
rename : js/src/metrics/jint/sunspider/crypto-sha1.js => js/src/devtools/jint/sunspider/crypto-sha1.js
rename : js/src/metrics/jint/sunspider/date-format-tofte.js => js/src/devtools/jint/sunspider/date-format-tofte.js
rename : js/src/metrics/jint/sunspider/date-format-xparb.js => js/src/devtools/jint/sunspider/date-format-xparb.js
rename : js/src/metrics/jint/sunspider/math-cordic.js => js/src/devtools/jint/sunspider/math-cordic.js
rename : js/src/metrics/jint/sunspider/math-partial-sums.js => js/src/devtools/jint/sunspider/math-partial-sums.js
rename : js/src/metrics/jint/sunspider/math-spectral-norm.js => js/src/devtools/jint/sunspider/math-spectral-norm.js
rename : js/src/metrics/jint/sunspider/regexp-dna.js => js/src/devtools/jint/sunspider/regexp-dna.js
rename : js/src/metrics/jint/sunspider/string-base64.js => js/src/devtools/jint/sunspider/string-base64.js
rename : js/src/metrics/jint/sunspider/string-fasta.js => js/src/devtools/jint/sunspider/string-fasta.js
rename : js/src/metrics/jint/sunspider/string-tagcloud.js => js/src/devtools/jint/sunspider/string-tagcloud.js
rename : js/src/metrics/jint/sunspider/string-unpack-code.js => js/src/devtools/jint/sunspider/string-unpack-code.js
rename : js/src/metrics/jint/sunspider/string-validate-input.js => js/src/devtools/jint/sunspider/string-validate-input.js
rename : js/src/metrics/jint/treesearch.py => js/src/devtools/jint/treesearch.py
rename : js/src/metrics/jint/v8/base.js => js/src/devtools/jint/v8/base.js
rename : js/src/metrics/jint/v8/crypto.js => js/src/devtools/jint/v8/crypto.js
rename : js/src/metrics/jint/v8/deltablue.js => js/src/devtools/jint/v8/deltablue.js
rename : js/src/metrics/jint/v8/earley-boyer.js => js/src/devtools/jint/v8/earley-boyer.js
rename : js/src/metrics/jint/v8/raytrace.js => js/src/devtools/jint/v8/raytrace.js
rename : js/src/metrics/jint/v8/richards.js => js/src/devtools/jint/v8/richards.js
rename : js/src/metrics/jint/v8/run-earley-boyer.js => js/src/devtools/jint/v8/run-earley-boyer.js
rename : js/src/metrics/jint/v8/run-raytrace.js => js/src/devtools/jint/v8/run-raytrace.js
rename : js/src/metrics/jint/v8/run-richards.js => js/src/devtools/jint/v8/run-richards.js
rename : js/src/metrics/jint/v8/run.js => js/src/devtools/jint/v8/run.js
rename : js/src/sharkctl.cpp => js/src/devtools/sharkctl.cpp
rename : js/src/sharkctl.h => js/src/devtools/sharkctl.h
rename : js/src/vprof/manifest.mk => js/src/devtools/vprof/manifest.mk
rename : js/src/vprof/readme.txt => js/src/devtools/vprof/readme.txt
rename : js/src/vprof/testVprofMT.c => js/src/devtools/vprof/testVprofMT.c
rename : js/src/vprof/vprof.cpp => js/src/devtools/vprof/vprof.cpp
rename : js/src/vprof/vprof.h => js/src/devtools/vprof/vprof.h
rename : js/src/MemoryMetrics.cpp => js/src/jsmemorymetrics.cpp
extra : rebase_source : b328f1463668e12052cb3d8af14d13c2b2f0f91d
2012-08-27 09:13:44 -07:00
Till Schneidereit
faa927d6b6
Bug 785645 - Support constructors in self-hosted JavaScript. r=luke
...
--HG--
extra : rebase_source : 9d56165f8875d0ebb8d89e88d92492c21fc6b74c
2012-08-29 00:11:13 +02:00
Ryan VanderMeulen
bfa21d0998
Backout 8803fd630316 (bug 783950) and b0d9390b60c6 (bug 778414) due to bustage on a CLOSED TREE.
2012-08-28 18:20:23 -04:00
Martin Husemann
f5d1821942
Bug 753046 - Add IPC support for BSDs, build glue. r=khuey,cjones
2012-08-28 23:16:51 +02:00
Landry Breuil
df9b939699
Bug 778414: ensure the linker supports @unwind sections in libffi. r=glandium
...
This fixes clang builds on OpenBSD/amd64, since clang itself supports
@unwind sections but OpenBSD's ld 2.15 doesn't. Previously the test
yielded true, thus producing a broken libffi.
2012-08-28 23:00:40 +02:00
David Anderson
fd69d8ac9d
Backed out changeset 0f9b4d3635b6.
2012-08-27 02:24:58 -07:00
David Anderson
aad6d8651b
Diagnostic patch #2 .
2012-08-26 23:39:43 -07:00
David Anderson
7e59e8f166
Backed out changeset a7e6b53bda77.
2012-08-26 23:39:06 -07:00
David Anderson
3036a44684
Temporary debug instrumentation for talos.
2012-08-26 21:55:58 -07:00
Luke Wagner
b4884af740
Bug 786068 - make JS_EnterCrossCompartmentCall infallible (and call it JS_EnterCompartment) (r=sfink)
2012-08-27 13:32:51 -07:00
Ryan VanderMeulen
13b4317e28
Merge m-c to inbound.
2012-08-27 19:34:23 -04:00
Alex Keybl
6458cc3fa4
Merging in version bump NO BUG
2012-08-27 12:21:46 -07:00
Luke Wagner
37b2170d76
Bug 749371 - Remove now-unnecessary JS_ClearScope defense (r=bhackett)
2012-08-27 09:13:44 -07:00
Gabor Krizsanits
a4a418d2ac
Bug 763897 - Incorrect behaviour of mozMatchesSelector.call through xray; r=bholley
2012-08-27 15:15:20 +02:00
Gabor Krizsanits
56e99a4fb8
Bug 738244 - Supporting DOM specific collection properties through xray wrappers; r=mrbkap
2012-08-27 15:06:34 +02:00
Benjamin Peterson
de7d529c1c
Bug 781035 - Use the C++ JS compile API in more places. r=jorendorff sr=jst
2012-08-27 08:04:37 -04:00
Benjamin Peterson
c7110f1a4e
Bug 785781 - Remove artifact of the old re engine. r=njn
2012-08-27 08:03:54 -04:00
Bob Clary
b814c458f7
bug 681704 - disable js1_5/extensions/toLocaleFormat-02.js on Windows Debug builds due to CRT Assert, r=dmandelin.
2012-08-26 22:51:14 -07:00
Brian Hackett
303e3260b2
Tweak condition for triggering Ion compilation from JM, bug 774253. r=dvander
2012-08-25 06:29:43 -06:00
Sean Stangl
66701a3620
No bug - Don't output LIR ID around instructions in debug builds. r=dvander
2012-08-24 16:03:57 -07:00
Brian Hackett
c6ec6b0f9f
Restore old behavior for triggering compilation with parallel compilation off, bug 774253. r=dvander
2012-08-24 14:01:43 -06:00
Nicolas Pierron
6c343080a0
Revert "Bug 781660 part 2 - ReconstructPCStack, Fallback on try notes if we cannot follow a goto. r=luke"
...
This reverts changeset 4c24e4fc3472.
2012-08-24 02:24:49 -07:00
Nicolas B. Pierron
7eddfe50db
Bug 761473 - Snapshots, use the same upper-bound variables. r=dvander
2012-08-23 23:11:16 -07:00
Nicolas Pierron
e54796e573
Bug 781660 part 2 - ReconstructPCStack, Fallback on try notes if we cannot follow a goto. r=luke
2012-08-23 22:45:32 -07:00
Alex Crichton
83c94d49ec
Bug 785268: Clean up the style/design of the instrumentation. r=dvander
2012-08-23 18:31:02 -07:00
Brian Hackett
965fd4a70b
Use PR_NotifyCondVar when only one worker thread needs to wake up, bug 785206. r=sstangl
2012-08-23 17:47:18 -06:00
Brian Hackett
93f90669cb
Assert successful return of PR_WaitCondVar, bug 785201. r=sstangl
2012-08-23 17:40:38 -06:00
Brian Hackett
f316a8bc4c
Don't pass reference parameter to constructor in x->new_<LIRGraph>, bug 774253. r=dvander
2012-08-23 16:37:06 -06:00
Brian Hackett
cc6b700bf4
Don't leak malloc'ed contents of vectors in LIRGraph, bug 774253. r=dvander
2012-08-23 16:34:23 -06:00
Alex Crichton
bef02656dd
Bug 736299: Prevent the frame pointer from being allocated when profiling is enabled. r=nbp
2012-08-23 12:40:49 -07:00
Alex Crichton
30c4756c19
Bug 781979 - Part 2: Track the line number for profiling in IonMonkey. r=nbp,djvj
2012-08-23 12:40:48 -07:00
Alex Crichton
f3cf0ef464
Bug 781979 - Part 1: Template SPSInstrumentation and move it to SPSProfiler.h. r=bhackett
2012-08-23 12:40:48 -07:00
Alex Crichton
3a7dc0fdbd
Bug 782659: Fix assertions about empty registers when profiling is enabled on ARM. r=bhackett
2012-08-23 12:40:48 -07:00
Sean Stangl
b5fe268d16
No Bug - Fix 40-column emacs/vim tab declarations in certain files. no_r
2012-08-23 12:32:20 -07:00
Luke Wagner
a688f5b795
Bug 749371 - Break JS_ClearScope into two not-as-bad functions (r=mrbkap)
2012-08-23 11:23:28 -07:00
Siddharth Agarwal
b95f39c7d8
Bug 740854 - Remove --disable-auto-deps, SYSTEM_MAKEDEPEND, MOZ_NATIVE_MAKEDEPEND and associated crap. r=ted
...
--HG--
extra : rebase_source : 6a3f3017a3674738bb89e7e7f2e55c35a3cbe231
2012-08-28 00:57:16 +05:30
Rafael Ávila de Espíndola
cf01c2b4c5
Bug 784029 - Revert 783505 when we drop support for gcc 4.2. r=jorendorff.
2012-08-27 15:37:34 -04:00
Ehsan Akhgari
f33b9f1461
Bug 786375 - Remove AutoScriptEvaluate::mContextHasThread since it is unused; r=bholley
2012-09-06 21:59:33 -04:00
Jeff Walden
9d8db6b467
Add #include guards to jsversion.h. No bug, r=howtheheckwerethesenottherebefore
...
--HG--
extra : rebase_source : 89499382057938c51ebdbf1bb70467cba8b5ca5d
2012-09-06 17:51:42 -07:00
Jeff Walden
65a4f01760
Fix clang warnings on extraneous semicolons after member function definitions, implicit NULL-to-bool conversions, and the utter deadwood-ness of PCStack::cx. No bug, r=themaid, r=sfink
...
--HG--
extra : rebase_source : ba7420a9d61edfd25ebbea81771b640091d14de2
2012-09-06 16:50:46 -07:00
David Anderson
9618644f2b
Add bogus --disable-ion build flag (bug 789319, r=sstangl).
2012-09-06 16:42:54 -07:00
Jan Beich
47a646240c
Bug 787904 - Use 8k pagesize on FreeBSD ia64/sparc64. r=terrence
2012-09-06 21:46:47 +02:00
Jason Orendorff
06dcb661c4
Bug 788261 - Split PNK_FUNCTION into multiple parse node kinds. Part 2, split PNK_FUNCTION{DECL,EXPR}. r=Waldo.
...
--HG--
extra : rebase_source : 162c415d5daf356bc89e30ff53358f5eab8e6073
2012-09-06 11:19:56 -05:00
Jason Orendorff
d31e5f54fc
Bug 788261 - Split PNK_FUNCTION into multiple parse node kinds. Part 1, split PNK_FUNCTIONNS from PNK_FUNCTION. r=Waldo.
...
--HG--
extra : rebase_source : c43f674bd7dd6ad86050342d07566407ece5c4aa
2012-09-06 08:19:01 -05:00
Jason Orendorff
b503202d1b
Minor improvements to js::frontend::ParseNode::dump(). Bug 788227, r=Waldo.
...
--HG--
extra : rebase_source : f671f221a28240fc249653758255c2c679d09c95
2012-09-06 08:13:10 -05:00
Jason Orendorff
005def8f80
Rename PNK_RB and friends to more meaningful names. Bug 788222, r=Waldo.
...
--HG--
extra : rebase_source : 756f5b4a3bed9ac4924e9ba0712bfdb62858441c
2012-09-06 08:00:33 -05:00
Jason Orendorff
ce886dcb0f
Add ParseNode::as<T>(). Bug 788220, r=luke.
...
--HG--
extra : rebase_source : 41510e3bdc3f13f891ab0019c5c467534d0aca50
2012-09-06 07:58:29 -05:00
Brian Hackett
674c59919e
Enable worker threads, bug 774253.
2012-08-23 08:17:48 -06:00
Brian Hackett
652656bad8
Allow compiling scripts off thread with Ion, bug 774253. r=dvander
2012-08-23 06:56:35 -06:00
Eric Faust
8bfeeee008
Bug 781855 - Ensure setprop caches allow 'own' property markings on added properties. (r=bhackett)
2012-08-22 23:21:19 -07:00
David Anderson
44cc0c4f11
Backout 4225ee7e35a0.
2012-08-22 22:23:11 -07:00
David Anderson
cf970f1f45
Backed out changeset c1b7927df546.
2012-08-22 22:19:06 -07:00
Nicolas B. Pierron
db16ad2501
Bug 783464 - Fix condition for removing the constrained output vector. r=bhackett
2012-08-22 18:27:38 -07:00
Brian Hackett
5717c18280
Allow compiling scripts off thread with Ion, bug 774253. r=dvander
2012-08-22 19:00:33 -06:00
Sean Stangl
00273dffab
Bug 784568 - Build on foreign compilers. no_r
2012-08-22 17:54:45 -07:00
Sean Stangl
a0de22ce01
Bug 784568 - Refactor calls for clarity. r=dvander
2012-08-22 16:57:06 -07:00
David Anderson
188c88907e
Merge from mozilla-central.
2012-08-22 16:09:24 -07:00
David Anderson
f953d0daae
Fix merge bustage.
2012-08-21 18:58:10 -07:00
David Anderson
1ef4c57410
Merge from mozilla-central.
2012-08-21 15:59:12 -07:00
Eric Faust
497dfe5e4e
Bug 781387 - Codegen infallibility data for Paris bindings methods. (r=peterv)
2012-09-04 14:46:38 -04:00
Brian O'Keefe
a33b199401
Bug 649567 - Propagate atributes on Arguments object properties. Patch also partially by Tom Schuster <evilpies@gmail.com>. r=jwalden
...
--HG--
extra : rebase_source : 237525c25bb4e3cdc3a2a4ee1553a892b76de3b4
2012-08-31 15:37:28 -07:00
Marty Rosenberg
57aaf7bba6
Try to flush the instruction/data cache less frequently (bug 781510, r=dvander)
2012-08-21 11:12:39 -04:00
Nicolas B. Pierron
b4a3a859dd
Bug 781660 part 1 - Follow goto's target if identical to the reconstructed one. r=luke
2012-08-21 00:01:02 -07:00
Shu-yu Guo
5e7859bd23
Bug 784015 - Fix division by 0 when calling ParallelArray.prototype.partition (r=dmandelin)
2012-08-20 22:02:18 -07:00
Shu-yu Guo
f589c14e25
Bug 784011 - Fix ParallelArray.prototype.get being called with an object with length 0 (r=dmandelin)
2012-08-20 22:02:11 -07:00
Shu-yu Guo
cd0e42e626
Bug 783923 - Fix calling toString on an empty ParallelArray (r=dmandelin)
2012-08-20 22:02:04 -07:00