Phil Ringnalda
7730277de2
Back out 74728e99dc47 (bug 1049290) for causing the same hazard build timeouts it caused on Try
...
CLOSED TREE
2014-09-11 23:27:39 -07:00
Jan Alexander Steffens (heftig)
fe490a8252
Bug 1063357 - Fix typo in js/src/configure.in. r=bsmedberg
2014-09-05 19:51:00 -04:00
Ting-Yu Chou
39722a9a25
Bug 1049290 - Optimize JSOP_IN for baseline compiler. r=djvj, r=h4writer
2014-09-11 22:54:15 +08:00
Christian Holler
95e9013de6
Bug 1058500 - MSan: Mark memory passed to zlib as initialized in JS. r=jorendorff
2014-09-11 23:22:03 +02:00
Christian Holler
53335f3133
Bug 1058500 - Add MSan support to the build system. r=ted,waldo
2014-09-11 23:21:46 +02:00
Brian Hackett
0ce5cf92d1
Backout ce0afdc6ea1f (bug 1041688) for regressions.
2014-09-11 13:37:46 -07:00
Jason Orendorff
de64df6bbe
Bug 1052491, part 2 - In jsinfer, support symbol jsids. r=bhackett. This should fix symbol-related orange on a CLOSED TREE.
...
--HG--
extra : rebase_source : 2dbdd4ec819c14627c9a5f081c83e4afb56b6d6c
extra : amend_source : baed01f715df89f4bef993902d030164b990506f
2014-09-11 13:01:14 -05:00
Hannes Verschore
4a94f49549
Backout 82b5a79f3cab for ARM failures on CLOSED TREE
2014-09-11 19:56:34 +02:00
Jason Orendorff
bccafeb383
Bug 1065180, part 3 - Remove the environment object from the JS shell. r=sfink.
...
--HG--
extra : rebase_source : 9536deac7f2799cd2766f7fa1f529f9b079ed3e3
2014-09-09 19:27:50 -05:00
Jason Orendorff
a92bfa535a
Bug 1065180, part 2 - Switch existing code from the environment object to the new os.getenv() function. r=sfink.
...
--HG--
extra : rebase_source : 650884862d5f6c9aef2505c0886e7a30e2eb2c6a
2014-09-09 19:39:19 -05:00
Jason Orendorff
12778e24cd
Bug 1065180, part 1 - Add os.getenv() function to JS shell. r=sfink.
...
--HG--
extra : rebase_source : 7f1ef80db80d6ad8626f76f8338c1946868534c8
2014-09-09 18:46:50 -05:00
Jason Orendorff
c960886ee7
Bug 1052491 - Simplify IdToTypeId and add support for symbol-keyed properties. r=bhackett.
...
--HG--
extra : rebase_source : ee5bfd8e415aa9570e773662889d815c91636f57
2014-08-12 11:07:20 -05:00
Inanc Seylan
4b3f703595
Bug 1005922: IonMonkey: Remove bailing on NewObject/NewArray during arguments usage analysis; r=h4writer
2014-09-11 18:55:23 +02:00
Hannes Verschore
a3a6fcdd42
Bug 911738 - IonMonkey: Recompile function when a non-inlined function gets hot enough to inline, r=jandem
2014-05-16 12:37:13 +02:00
Hannes Verschore
fdd1dd0b2b
Bug 1063816 - Polish work on the renaming of useCount to warmUpCount(er), r=mjrosenb,nbp
2014-09-11 18:40:17 +02:00
Benjamin Bouvier
ee6dee5bba
Bug 1065883: Fail if we try to import variables in the global section without a stdlib parameter; r=luke
...
--HG--
extra : rebase_source : c73ee1741babec4a4234f0e452dc64714ef7702d
2014-09-11 17:50:37 +02:00
Brian Hackett
b2cb496723
Bug 1041688 - Don't use a JSContext in IonBuilder when performing the definite properties analysis, r=jandem.
2014-09-11 09:12:31 -06:00
Brian Hackett
9d844e8d43
Bug 1063488 - Treat MaybeCopyElementsForWrite as possibly overwriting an object's elements pointer, r=jandem.
2014-09-11 09:07:20 -06:00
Jason Orendorff
95cb5648c1
Bug 1065507, part 4 - Remove js_GetterOnlyPropertyStub.
...
--HG--
extra : rebase_source : daa17eaccddce4bcb510d2bd83799396d564728a
2014-09-10 12:55:46 -05:00
Jason Orendorff
1f0f4e29dc
Bug 1065507, part 3 - Remove special support for js_GetterOnlyPropertyStub from js/ipc.
...
--HG--
extra : rebase_source : cc10de476c7c40324f9ae781c6e06500a53edb1b
2014-09-10 12:54:20 -05:00
Jason Orendorff
afee91e87a
Bug 1065507, part 2 - Change XPCWrappedNatives to use a null setter instead of js_GetterOnlyPropertyStub.
...
--HG--
extra : rebase_source : dccc09d810a07019c582d1fbda431e57287b690a
2014-09-10 12:43:26 -05:00
Jason Orendorff
6475fbdc4b
Bug 1065507, part 1 - Remove dead function xpc_qsGetterOnlyPropertyStub.
...
--HG--
extra : rebase_source : 6dbeb6dd2e69511682b5b3e8582104d06d13766d
2014-09-10 12:51:09 -05:00
Benjamin Bouvier
40497ce665
Bug 1034184: Remove double assignment of 'type'; r=h4writer
2014-09-11 10:29:50 +02:00
Benjamin Bouvier
8eb1f481a7
Bug 1051860: Optimize SimdValueX4 codegen for int32x4 when SSE4.1 is available; r=sunfish
...
--HG--
extra : rebase_source : 3feb3d19834f6c356bb114ee8b19a283467dff34
2014-09-11 08:50:49 +02:00
Benjamin Bouvier
bd4d94cbd7
Bug 1051860: Optimize SimdValueX4 codegen for float32x4 with unpcklps; r=sunfish
...
--HG--
extra : rebase_source : 30cec4448afa60e5be2a8e12f01daf95fffc94e3
2014-09-11 08:50:10 +02:00
Landry Breuil
baa68c551a
Bug 1065055: also define IS_{LITTLE,BIG}_ENDIAN according to BYTE_ORDER, r=njn
2014-09-11 07:58:37 +02:00
Bill McCloskey
90f75883ed
Bug 1062024 - Allow CPOWs to be passed to COWs (r=bholley)
2014-09-10 17:15:41 -07:00
Bill McCloskey
59d062f9a1
Bug 1060042 - CPOWs need a hasInstance hook (r=mrbkap)
2014-09-10 17:15:40 -07:00
Bill McCloskey
416cd026a1
Bug 1042680 - Allow add-ons to assign to var-declared chrome global with compartment_per_addon (r=bholley)
2014-09-10 17:15:40 -07:00
Eric Faust
9b8255f0c4
Bug 966518 - Part 0: Make proxy callability into a trap, rather than a class check. (r=bholley, r=djvj, r=peterv)
2014-09-10 15:52:36 -07:00
Ryan VanderMeulen
ff7fcbcbc7
Backed out changeset 72ec272d143d (bug 1005922) for B2G debug emulator-kk bustage.
2014-09-10 18:35:52 -04:00
Hannes Verschore
6ce7964362
Bug 1064251 - IonMonkey: Fold strict (not) equal on constant numbers, r=sstangl
2014-09-10 23:21:12 +02:00
Jason Orendorff
65cd63fb84
Bug 1057587 - Crash [@ JSString::ensureLinear] with Symbol and environment object.
...
--HG--
extra : rebase_source : af77bb098aefe1191c5ea26e5dfcf1d775fa3c84
extra : amend_source : 07dc0c27907e76748fcc34dc74e97fc914ab4ac7
2014-09-09 19:04:52 -05:00
ziyunfei
cfaf2f3def
Bug 1058396 - Make String(aSymbol) return the symbol's description, as specified in ES6 draft rev 27. r=jorendorff.
...
--HG--
extra : rebase_source : 40b8293fe1fa14667d00f00170b69f3138586279
2014-09-03 17:29:54 -05:00
Hannes Verschore
2626e5a693
Bug 1047346 - IonMonkey: Delay linking for scripts that are on the stack, r=jandem
2014-09-10 22:39:51 +02:00
Inanc Seylan
b32a26b32a
Bug 1005922: IonMonkey: Remove bailing on NewObject/NewArray during arguments usage analysis; r=h4writer
2014-09-10 22:22:27 +02:00
Felipe Gomes
3a6a843e37
Bug 1063848 - Disable e10s in safe mode. r=bsmedberg,ally.
2014-09-10 15:53:55 -03:00
Terrence Cole
29dc9aff5e
Bug 914402 - Remove the defunct conservative stack scanner; r=sfink
...
--HG--
extra : rebase_source : c261ef7492694e9724c78edc7bc0dac7aa4357ba
2014-09-09 15:08:23 -07:00
Nicolas B. Pierron
f5801ead57
Bug 1063816 - Rename usesBefore* to *WarmUpThreshold. r=h4writer
2014-09-10 19:11:20 +02:00
Nicolas B. Pierron
85e5d11f1e
Bug 1063816 - Rename useCount to warmUpCounter. r=h4writer
2014-09-10 19:11:20 +02:00
Aetf
7a05502f44
Bug 1050649 - Implement recover instruction for RegExpReplace. r=nbp
2014-09-10 19:02:40 +02:00
Hannes Verschore
5bde6865ba
Bug 1034184 - IonMonkey: Disable and/or for now and fix incorrect OOM flagging, r=bbouvier
2014-09-10 14:28:48 +02:00
Sushant Dinesh
0d0aa7a69d
Bug 1034184 - IonMonkey: Enable taking the union of a filter at tests. r=h4writer
2014-09-10 12:10:52 +02:00
Sushant Dinesh
38117c2ce4
Bug 1034184 - IonMonkey: Enable filtering at tests for and/or. r=h4writer
2014-09-10 12:10:49 +02:00
Peter Van der Beken
e611d02a03
Bug 1063700 - Remove unused IsSecurityWrapper functions. r=bholley.
...
--HG--
extra : rebase_source : 32499305e3e28c690d0158f3e9df333b73e2259b
2014-09-09 15:38:45 +02:00
Benjamin Bouvier
f3f3be99e3
Bug 1064493: Better wording for globals validation errors in asm.js; r=luke
2014-09-10 11:47:12 +02:00
Benjamin Bouvier
954568c01e
Bug 1064493: Use failName rather than failf when validating asm.js globals; r=luke
2014-09-10 11:47:07 +02:00
David Major
af3cfdb5d0
Backed out 040e85d18eab (bug 931687) for causing bug 1018402
...
--HG--
extra : rebase_source : c41a6125fabb2b11fb546a3253979003d80095eb
2014-09-10 15:48:56 +12:00
Bobby Holley
16ad956f14
Bug 981198 - Make JS_{Get,Set}ErrorReporter take a JSRuntime. r=terrence,r=bz
2014-09-09 16:02:10 -07:00
Bobby Holley
d5b6545346
Bug 981198 - Internally move the JSErrorReporter to the JSRuntime. r=terrence
2014-09-09 16:02:10 -07:00
Shu-yu Guo
48fde8450a
Bug 1064844 - Only restore propagatingForcedReturn state in AutoSaveExceptionState if there isn't a new error. (r=jorendorff)
2014-09-09 14:49:58 -07:00
Alexandre Poirot
cfbb6a4805
Bug 1064935 - Alias ctypes.jschar to ctypes.char16_t. r=cpeterson
2014-09-09 09:46:00 -04:00
Eric Faust
bbb63c66bb
Bug 1031092 followup - Give up on moving jsproxy.h and jswrapper.h; fix bustage on a CLOSED TREE. (r=BurningManWasLastWeekRight?)
...
--HG--
rename : js/src/proxy/jsproxy.h => js/src/jsproxy.h
rename : js/src/proxy/jswrapper.h => js/src/jswrapper.h
2014-09-09 14:31:20 -07:00
Eric Faust
f8da88d440
Bug 1031092 - Part 10: Factor out SecurityWrapper. (r=bholley)
2014-09-09 12:09:46 -07:00
Eric Faust
4fb0b5cc8e
Bug 1031092 - Part 9: Factor out CrossCompartmentWrapper. (r=bholley)
2014-09-09 12:09:46 -07:00
Eric Faust
7c855b7093
Bug 1031092 - Part 8: Factor out DeadObjectProxy. (r=bholley)
2014-09-09 12:09:46 -07:00
Eric Faust
2e127b0c98
Bug 1031092 - Part 7: Move jswrapper.* to js/src/proxy/. (r=bholley)
...
--HG--
rename : js/src/jswrapper.cpp => js/src/proxy/Wrapper.cpp
rename : js/src/jswrapper.h => js/src/proxy/jswrapper.h
2014-09-09 12:09:46 -07:00
Eric Faust
89d4f47f9c
Bug 1031092 - Part 6: Factor out engine Proxy entry point. (r=bholley)
...
--HG--
rename : js/src/proxy/jsproxy.cpp => js/src/proxy/Proxy.cpp
2014-09-09 12:09:46 -07:00
Eric Faust
caa4b6f7ad
Bug 1031092 - Part 5: Factor out ScriptedIndirectProxyHandler. (r=bholley)
2014-09-09 12:09:45 -07:00
Eric Faust
81e35672f5
Bug 1031092 - Part 4: Factor out ScriptedDirectProxyHandler. (r=bholley)
2014-09-09 12:09:45 -07:00
Eric Faust
971427f4eb
Bug 1030192 - Part 3: Factor out DirectProxyHandler. (r=bholley)
2014-09-09 12:09:45 -07:00
Eric Faust
ff8eb80773
Bug 1031092 - Part 2: Factor out BaseProxyHandler. (r=bholley)
2014-09-09 12:09:45 -07:00
Eric Faust
49c84d01fb
Bug 1031092 - Part 1: Move jsproxy.* to new js/src/proxy/. (r=bholley)
...
--HG--
rename : js/src/jsproxy.cpp => js/src/proxy/jsproxy.cpp
rename : js/src/jsproxy.h => js/src/proxy/jsproxy.h
2014-09-09 12:09:45 -07:00
Irving Reid
3a5b415c8d
Bug 1064424 - Use Timestamp::ProcessCreation to calculate Cu.now(). r=bz
2014-09-08 14:15:04 -04:00
ProgramFOX
749a14ea8a
Bug 948379: Added int32x4 border test cases; r=bbouvier
2014-09-06 11:21:28 +02:00
Luke Wagner
7f628bb23b
Bug 1064668 - OdinMonkey: Only add AsmJSActivation to profiling stack after it is fully initialized (r=djvj)
2014-09-09 11:35:07 -05:00
Luke Wagner
cab233461e
Bug 1064668 - OdinMonkey: Maintain correct offsets for src line info (r=bbouvier)
...
--HG--
extra : rebase_source : 62f73408bf57b273d9e043dc93be013a7d085a84
2014-09-09 11:33:56 -05:00
Kannan Vijayan
c47a6663fe
Backout 0abf93858f17 for bustage on CLOSED TREE r=tbpl-red
2014-09-09 11:43:28 -04:00
Bobby Holley
9202777ccf
Bug 1064437 - Remove Proxy special-case in ForceCOWBehavior. r=gabor
2014-09-09 08:21:45 -07:00
Kannan Vijayan
06941ebfbf
Bug 1057082 - Part 2 - Fix JitcodeGlobalEntry comparison function and add helper debug methods. r=luke
2014-09-09 11:11:35 -04:00
Jan de Mooij
cc5e6fdf1a
Bug 1002473 part 2 - Remove Baseline IsTopFrameConstructing and simplify the code. r=nbp
2014-09-09 16:57:07 +02:00
Brian Hackett
a8be0fe1ed
Bug 1059459 - Tolerate resume points with constants defined later in the block when unrolling loops, r=jandem.
2014-09-09 08:23:44 -06:00
Brian Hackett
1ea1111724
Bug 1063182 - Always instantiate types for objects written to by Ion SETPROP caches, r=jandem.
2014-09-09 08:21:13 -06:00
Brian Hackett
4c9269f85a
Bug 1054601 - Don't unroll loops which aren't actually loops, r=jandem.
2014-09-09 08:15:35 -06:00
Jan de Mooij
837e988d8c
Bug 1064777 part 1 - Remove CNG check in TypeScript::InitObject. r=bhackett
2014-09-09 15:11:24 +02:00
Bobby Holley
b8be4d3f20
Bug 1064550 - Remove xpcWrappedJSErrorReporter. r=bz
...
Given that the JS engine always clears exceptions immediately after reporting
them, the empty body after JSREPORT_IS_EXCEPTION causes us to eat exceptions
here.
2014-09-08 22:22:19 -07:00
Chris Peterson
b3b77faddd
Bug 1063962 - Replace jschar typedef with C++11 char16_t type. r=jandem
2014-07-21 21:43:21 -07:00
Shu-yu Guo
7950a2613f
Bug 1056411 - Part 2: Remove the JSAPI C debug mode functions. (r=jimb)
2014-09-08 21:03:31 -07:00
Shu-yu Guo
eb5d9a9824
Bug 1056411 - Part 1: Remove DebugFromC and clean up compartment debug mode logic. (r=jimb)
2014-09-08 21:03:31 -07:00
Shu-yu Guo
e2eba066ea
Bug 1057156 - Remove dead GlobalObject::addDebugger. (r=jimb)
2014-09-08 21:03:31 -07:00
Shu-yu Guo
6a997b1d52
Bug 1060572 - Skip inner asm.js functions in D.S.p.getChildScripts. (r=jimb)
2014-09-08 21:03:30 -07:00
Jeff Walden
d582a0d3c0
Bug 1019838 - Various non-unified compilation bustage fixes. r=bustage in a CLOSED TREE
2014-09-08 19:33:58 -07:00
Gokcehan Kara
2aa0f35e50
Bug 1019838 - Fix various leaks in dosprintf (in jsprf.cpp and nsTextFormatter.cpp). r=jwalden
...
--HG--
extra : rebase_source : d0dff2bfa1590db460729f412e92c9ce9dfe1869
2014-09-08 17:26:49 -07:00
Jeff Walden
39f1e17105
Bug 1064054 - Don't assert in baseline that JSOP_INITPROP is never used with __proto__, because it is for method definitions. r=shu
...
--HG--
extra : rebase_source : 2aefdcebe0d26560cce5237366f76e0f192ea28d
2014-09-08 17:18:53 -07:00
Jeff Walden
06939e95c3
Bug 1064391 - Fix destructuring into a __proto__ pattern. r=shu
...
--HG--
extra : rebase_source : dcc08c49d028eeebdcfc1428502fe64e6286b930
2014-09-08 13:59:47 -07:00
Ehsan Akhgari
50d872cf79
Backed out changeset 9a796d86bae8 (bug 1063728) until people agree what they want to do here
2014-09-08 20:38:21 -04:00
Bobby Holley
fb72204dc4
Bug 1062077 - Remove now-no-op error reporter munging in mozJSSubScriptLoader.cpp. r=bz
...
In the past this might theoretically have switched us from
NS_ScriptErrorReporter to xpc::SystemErrorReporter, but those have now been
merged.
2014-09-08 16:30:12 -07:00
Bobby Holley
215542cfa3
Bug 1062077 - Merge NS_ScriptErrorReporter and xpc::SystemErrorReporter. r=bz
...
We keep the latter name because it's referenced in more places. Error reporters
will go away entirely in bug 981187.
2014-09-08 16:30:11 -07:00
Bobby Holley
b3f9fb2045
Bug 1062077 - Switch SystemErrorReporter to xpc::ErrorReport. r=bz
2014-09-08 16:30:11 -07:00
Bobby Holley
25ec5c8219
Bug 1062077 - Hoist console logging duties into xpc::ErrorReport. r=bz
2014-09-08 16:30:11 -07:00
Bobby Holley
35d62e8c00
Bug 1062077 - Introduce xpc::ErrorReport. r=bz
...
I've got it! Let's just wrap the JS thing in an XPCOM thing that duplicates
its fields with a different ownership model! We totally need another one of
those, right? And we could even stick it in XPConnect! </sarcasm>
In seriousness - the code to own, format, and display error reports is
currently spread between the JS engine, JSErrorReporters, an async Runnable
abstraction, and elsewhere. We need to condense it somewhere to start chipping
away at this mess.
2014-09-08 16:30:10 -07:00
Bobby Holley
723e07a699
Bug 1062631 - Remove exception swallowing code in NS_ScriptErrorReporter. r=bz
...
See bug 1062631 comment 0.
2014-09-08 13:36:22 -07:00
Bobby Holley
926369bebb
Bug 1062631 - Fix up content QI security check and tests. r=bz
...
This stuff is broken in a bunch of ways. The test isn't doing the right thing
because it's using SpecialPowers. When we pass the content object to
xpconnectArgument(), it gets wrapped in a SpecialPowers wrapper, so the check
succeeds, only to fail down the line when the QI method is actually invoked
with an IID (which we can't pass to content scopes anyway).
This whole security check is probably useless given the above, but let's be
safe, make it a bit more robust, and fix up the test while we're at it.
2014-09-08 13:36:21 -07:00
Aleksandar Zlicic
3485e3658a
Bug 1061562 - IonMonkey MIPS: Fix build failures on MIPS caused by SIMD changes r=nbp
2014-09-04 18:11:49 +02:00
Boris Zbarsky
dae60ad74d
Bug 1063521. Remove the WANT_OUTER_OBJECT classinfo flag, since it's now unused. r=bholley
2014-09-08 10:05:11 -04:00
Johannes Schulte
10e67af165
Bug 1059241 - Don't mark array as non-packed, when calling pop() . r=bhackett
2014-09-04 14:26:50 +02:00
Brian Hackett
6d13e5ddd5
Bug 1063598 - Infer constant properties even when the type property has not yet been instantiated, r=jandem.
2014-09-07 10:27:31 -06:00
Phil Ringnalda
bbc9b3e40a
Backed out changeset 7e55ef1c49d1 (bug 1063598) for assertion failures
...
CLOSED TREE
2014-09-06 22:40:45 -07:00
Brian Hackett
a9bf7d1159
Bug 1063180 - Don't continue analyzing new script properties after the new script has been cleared, r=jandem.
2014-09-06 21:52:31 -06:00
Brian Hackett
d4d73183af
Bug 1063598 - Infer constant properties even when the type property has not yet been instantiated, r=jandem.
2014-09-06 21:50:58 -06:00
ziyunfei
289f163398
Bug 1063915 - Make dumpValue() support symbols. r=evilpie
2014-09-06 18:21:20 +08:00
Wes Kocher
3dadae9f33
Back out 11 changesets (bug 1063233 and bug 1063247)
...
* * *
Backed out changeset 7c7c837585fb (bug 1063233)
* * *
Backed out changeset e584d23b3ce3 (bug 1063233)
* * *
Backed out changeset ee169ca2e00b (bug 1063247)
* * *
Backed out changeset 514c713b2313 (bug 1063247)
* * *
Backed out 3 changesets (bug 1063247)
Backed out changeset a6033944c4c1 (bug 1063247)
Backed out changeset c7ffa64956c6 (bug 1063247)
Backed out changeset dd80b2984fe2 (bug 1063247)
* * *
Backed out 4 changesets (bug 1063233)
Backed out changeset 1f6db27e6240 (bug 1063233)
Backed out changeset b8e3d887faa2 (bug 1063233)
Backed out changeset 8e1913c07322 (bug 1063233)
Backed out changeset 04d42b23a489 (bug 1063233)
2014-09-05 17:42:45 -07:00
Jim Blandy
29c257a7a3
Bug 1063233: Re-include js/src/jit/JitOptions.cpp in UNIFIED_SOURCES. r=none
2014-09-05 15:05:40 -07:00
Ehsan Akhgari
35f5434d09
Bug 1063728 - Run check_spidermonkey_style.py before starting to build; r=jandem
2014-09-05 18:00:24 -04:00
Jim Blandy
12e9caf8c5
Bug 1063233: Remove use of UbiNode.h from IonCode.h, with consequent changes; Windows non-unified builds seem to be unhappy with it. CLOSED TREE r=bustage
2014-09-05 14:57:42 -07:00
Tom Schuster
d6a2aac876
Bug 1061270 - Fix crash with cross-compartment Set cloning. r=luke
2014-09-05 23:17:39 +02:00
Ehsan Akhgari
876f4a2447
Bustage fix for bug 1060976
, irc-r=efaust, landed on a CLOSED TREE
2014-09-05 15:47:00 -04:00
Ehsan Akhgari
945e41fa38
Bug 1060976
- Fix more bad implicit constructors in the JS engine; r=jorendorff
2014-09-05 15:11:39 -04:00
Boris Zbarsky
72d84e295c
Bug 1017424 part 9. Remove redundant xpconnect code looking for ChromeWindow/ModalContentWindow classes. r=bholley
2014-09-05 14:28:46 -04:00
Boris Zbarsky
291c91ca15
Bug 1017424 part 7. Remove code to handle XPConnect window wrappers from WindowNamedPropertiesHandler and XPCJSRuntime. r=peterv
2014-09-05 14:28:45 -04:00
Boris Zbarsky
34e5d52a93
Bug 1017424 part 5. Remove classinfo for Window. r=peterv
2014-09-05 14:28:45 -04:00
Boris Zbarsky
606d8e7d30
Bug 1017424 part 4. Remove Web IDL quickstubs for Window. r=peterv
2014-09-05 14:28:44 -04:00
Jim Blandy
29740dae54
Bug 1063247: Include declaration for JS::dbg::SetDebuggerMallocSizeOf. CLOSED TREE r=bustage
2014-09-05 11:24:51 -07:00
Jim Blandy
1bd69d61bf
Bug 1063247: Stop checking for malloc_size; we need to get the header file righ. CLOSED TREE r=bustage
2014-09-05 11:11:35 -07:00
Jim Blandy
defdd9cbce
Bug 1063247: Let embeddings tell Debugger how to find the size of a malloc'd block of memory. r=terrence
2014-09-05 10:43:36 -07:00
Jim Blandy
49104fabe9
Bug 1063247: Amend JS::ubi::Node::size and its implementations to expect a mozilla::MallocSizeOf function. r=terrence
...
Note that JS::ubi::Node::size has no callers at present, so we can change its
type without changing any callers.
2014-09-05 10:43:35 -07:00
Jim Blandy
25be307de9
Bug 1063247: Allow implicit construction of JS::ubi::Node from JS::HandleValue. r=terrence
...
This seems reasonable, since a ubi::Node is really just a pointer with some
introspection support, so the value and the Node are pretty similar. And I don't
see cases where you'd want an error.
2014-09-05 10:43:35 -07:00
Jim Blandy
8970bac29c
Bug 1063233: Move JS::ubi::Node support for js::types::TypeObject next to where it is declared/defined. r=terrence
2014-09-05 10:37:19 -07:00
Jim Blandy
02d7fe5435
Bug 1063233: Move JS::ubi::Node support for js::jit::JitCode next to where it is declared/defined. r=terrence
2014-09-05 10:37:19 -07:00
Jim Blandy
6cb763f5f4
Bug 1063233: Move JS::ubi::Node support for js::Shape and js::BaseShape next to their declarations and definitions. r=terrence
2014-09-05 10:36:07 -07:00
Jim Blandy
7c0e7fd498
Bug 1063233: Move JS::ubi::Node support for js::LazyScript to sit next to the rest of LazyScript's implementation. r=terrence
2014-09-05 10:34:03 -07:00
Jim Blandy
ca1195c2a2
Bug 1062089: Rename js/public/DebugAPI.h to js/public/Debug.h. It's a public header file; *obviously* it's an API. r=jorendorff
...
--HG--
rename : js/public/DebugAPI.h => js/public/Debug.h
2014-09-05 10:32:29 -07:00
Hannes Verschore
b76bf63556
Bug 1061646 - Inline CheckForInterrupt on windows, just like we do on linux, r=jorendorff
2014-09-05 18:28:15 +02:00
Brian Hackett
cfc08183bf
Bug 1061318
- Improve type information for RegExp.exec result objects, r=h4writer.
2014-09-05 09:27:21 -06:00
Brian Hackett
f37902dac0
Bug 1062648 - Treat scripts which have been ion compiled or inlined before as hot enough to inline, r=h4writer.
2014-09-05 09:20:39 -06:00
Chris Peterson
a59b2cc2f6
Bug 1036781 - Part 12: Replace MOZ_ASSUME_UNREACHABLE with MOZ_CRASH in js/src/jit. r=jandem
2014-08-21 21:48:01 -07:00
Nicholas Nethercote
c8afb910e7
Bug 1040593 (attempt 2) - Partly allocate elements for |new Array(N)| when N > 2048. r=jandem,bhackett.
...
--HG--
extra : rebase_source : 2bcccb3aa1543649eb30cd8c43680fc09ec6df91
2014-08-27 23:35:57 -07:00
Wes Kocher
e334302b6f
Backed out changeset 94eed55e5a5b (bug 1040593) on a CLOSED TREE
2014-09-04 18:00:59 -07:00
Nicholas Nethercote
339c5be1f1
Bug 1040593 - Partly allocate elements for |new Array(N)| when N > 2048. r=jandem,bhackett.
...
This patch makes |new Array(N)| always allocate at least
|EagerAllocationsMaxLength| elements up front.
It also changes |EagerAllocationsMaxLength| from 2048 to 2046, so that when the
two extra slots needed for |ObjectElements| are included, the resulting
allocation size is a power-of-two.
--HG--
extra : rebase_source : 17e069bc9d39c5d5ee957a99e11ab189f7493540
2014-08-27 23:35:57 -07:00
Jim Blandy
71acda43c6
Bug 1061961: Fully initialize ScriptSourceObjects built by XDR and for Function.prototype. r=shu
2014-09-04 15:40:10 -07:00
Jeff Walden
644fa3ab06
Bug 929642 - Make .arguments and .caller throw a TypeError when accessed on builtin functions. r=till
...
--HG--
extra : rebase_source : 94f0c50b6828e8cdcf35002dfa41543d2370fb26
2014-09-03 10:12:42 -07:00
Jeff Walden
fa909fc010
Bug 1061853 - Remove a stale bit of code dealing with the parsing of shorthands in destructuring assignment object patterns as not being done by identifierName() (they are now). r=shu
...
--HG--
extra : rebase_source : b8de5cacd646f0f4ca70179c9fa673291157807d
2014-09-03 17:28:10 -07:00
Jeff Walden
12717b8699
Bug 1061853 - Rename a variable from |member| to |propdef| (referring to the items in an object literal during bytecode emission). r=shu
...
--HG--
extra : rebase_source : aa5351b3ac87b93bfc16d64780635a92805b5c64
2014-09-03 17:26:50 -07:00
Jeff Walden
0ea900a2c4
Bug 1061853 - Make duplicate __proto__ in an object literal a syntax error. Also add a test for __proto__ in object literals in various forms (normal, shorthand, computed, method, generator versions of all of these, getter, setter), exhaustively combined in literals with one to three elements. r=shu
...
--HG--
extra : rebase_source : b269d45c8f2eaff9dec519ebcaa4b659a6fdf042
2014-09-02 11:14:31 -07:00
Jeff Walden
9733111c31
Bug 1061853 - Reintroduce PNK_MUTATEPROTO to distinguish ({ __proto__: v }) as mutating the [[Prototype]] from ({ __proto__() {} }) as not doing so. r=shu
...
--HG--
extra : rebase_source : e80acc54962d40471e98f5c202b64c12788db9d6
2014-08-30 14:27:19 -07:00
Jeff Walden
0a88431087
Bug 1061853 - Add better explanation of stack layout being created after destructuring each pattern, in the PushInitialValues case. r=shu
...
--HG--
extra : rebase_source : a8b2a43b0268b79e388aaf45d4c2de8a6d7ddc09
2014-08-30 14:26:44 -07:00
Jeff Walden
c7be7b10ed
Bug 1061853 - Make destructuring elision an early exit, rather than one of two alternatives. r=shu
...
--HG--
extra : rebase_source : f4f1ab1e47737935337867bccf60855e4023a305
2014-09-02 12:01:33 -07:00
Jeff Walden
1af7594fdb
Bug 1061853 - Add stack-layout comments to destructuring of object patterns. r=shu
...
--HG--
extra : rebase_source : 1ba3a7fe1d8cf61233eef3635acc33b8185e5577
2014-08-30 01:49:01 -07:00
Jeff Walden
4a36b76de5
Bug 1061853 - More object-specific destructuring simplifications. r=shu
...
--HG--
extra : rebase_source : ac77a3ea49af4623033de4d09300137697dcd608
2014-08-29 22:38:20 -07:00
Jeff Walden
143b213047
Bug 1061853 - Remove most array-specific code from the object-destructuring helper. r=shu
...
--HG--
extra : rebase_source : 1646369a32603681e5e70edb12139925bcef378d
2014-08-29 22:38:19 -07:00
Jeff Walden
a49ec2bb21
Bug 1061853 - Modify array-destructuring stack comments to include the possible presence of the object being destructured. r=shu
...
--HG--
extra : rebase_source : 0dd02f5cd546135dae1ce4729b4d54b5a49882d0
2014-09-02 09:35:15 -07:00
Jeff Walden
f7b9d543eb
Bug 1061853 - More array-specific destructuring simplifications. r=shu
...
--HG--
extra : rebase_source : c1ebe1a55d9ac3724f5c990407dc534c3b7011c9
2014-08-29 22:38:19 -07:00
Jeff Walden
83bda903e3
Bug 1061853 - Remove most object-specific code from the array-destructuring helper. r=shu
...
--HG--
extra : rebase_source : ea67e088aa24957a7163e0fefee4254c48b21ae0
2014-08-29 22:38:19 -07:00
Jeff Walden
4ed1101844
Bug 1061853 - Split EmitDestructuringOpsHelper into array/object flavors, as the main loop that currently handles both cases is largely unreadable. r=shu
...
--HG--
extra : rebase_source : 17400919d01dba7509abba45ec98bd6db823138b
2014-08-29 22:38:19 -07:00
Jeff Walden
894c663b8e
Bug 1061853 - Rename |pn3| to |subpattern| for readability. r=shu
...
--HG--
extra : rebase_source : b31f9855a8ae805dce2162f8e00a164358643a7d
2014-08-29 22:38:19 -07:00
Jeff Walden
360131cad6
Bug 1061853 - Rename |pn2| to |member| for readability. r=shu
...
--HG--
extra : rebase_source : d399a247403a52ef254afc18eb58e27c73cc6bd4
2014-08-29 22:38:18 -07:00
Jeff Walden
9e2a23b834
Bug 1061853 - Rename |pn| to |pattern| for readability. r=shu
...
--HG--
extra : rebase_source : 8364a257a45785efb0ac9d142713a40ee1fe6ed4
2014-08-29 22:38:15 -07:00
Jeff Walden
6187de74b3
Bug 1061853 - Make an if-else into an if-stuff-and-return, other-stuff-and-return for better readability. r=shu
...
--HG--
extra : rebase_source : cf6dfcef4f69426d0b353d2ac90332ce7ca9474b
2014-08-29 16:55:36 -07:00
Jeff Walden
5efd5b845e
Bug 1061853 - Negate an if to convert a super-large indented block into code after a continue in a loop. r=shu
...
--HG--
extra : rebase_source : 7ba7bc7d15f07462555f14b128ffe17073d07789
2014-08-29 16:49:06 -07:00
Jeff Walden
3bc83db4b4
Bug 1061853 - Give some variables in EmitObject better names. r=shu
...
--HG--
extra : rebase_source : 0ef894e800fa0526d0a9a2190805cc9201d2cc4a
2014-08-29 14:10:44 -07:00