Johannes Schulte
389029b078
Bug 1059241 - Don't mark array as non-packed, when calling pop() . r=bhackett
2014-09-04 14:26:50 +02:00
Brian Hackett
97130a2dda
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
d2bd0b3039
Backed out changeset 7e55ef1c49d1 (bug 1063598) for assertion failures
...
CLOSED TREE
2014-09-06 22:40:45 -07:00
Brian Hackett
2c905451f3
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
8b6aac3a67
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
9b5d989b59
Bug 1063915 - Make dumpValue() support symbols. r=evilpie
2014-09-06 18:21:20 +08:00
Wes Kocher
cff080e6ec
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
eeb67c06a0
Bug 1063233: Re-include js/src/jit/JitOptions.cpp in UNIFIED_SOURCES. r=none
2014-09-05 15:05:40 -07:00
Ehsan Akhgari
bf881ddde5
Bug 1063728 - Run check_spidermonkey_style.py before starting to build; r=jandem
2014-09-05 18:00:24 -04:00
Jim Blandy
c46d5a6268
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
dcb538e74a
Bug 1061270 - Fix crash with cross-compartment Set cloning. r=luke
2014-09-05 23:17:39 +02:00
Ehsan Akhgari
37ea61cf99
Bustage fix for bug 1060976, irc-r=efaust, landed on a CLOSED TREE
2014-09-05 15:47:00 -04:00
Ehsan Akhgari
21a9749477
Bug 1060976 - Fix more bad implicit constructors in the JS engine; r=jorendorff
2014-09-05 15:11:39 -04:00
Boris Zbarsky
b0b2acb195
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
7dd6d51191
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
4532962c88
Bug 1017424 part 5. Remove classinfo for Window. r=peterv
2014-09-05 14:28:45 -04:00
Boris Zbarsky
b197b61892
Bug 1017424 part 4. Remove Web IDL quickstubs for Window. r=peterv
2014-09-05 14:28:44 -04:00
Jim Blandy
bad296b02c
Bug 1063247: Include declaration for JS::dbg::SetDebuggerMallocSizeOf. CLOSED TREE r=bustage
2014-09-05 11:24:51 -07:00
Jim Blandy
fd3073d0be
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
71484f95ca
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
796704a305
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
96c87e3727
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
2987a288ea
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
5d4c33121b
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
f45cc6900e
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
2f06da2369
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
724dc1950b
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
6724407033
Bug 1061646 - Inline CheckForInterrupt on windows, just like we do on linux, r=jorendorff
2014-09-05 18:28:15 +02:00
Brian Hackett
a299798558
Bug 1061318
- Improve type information for RegExp.exec result objects, r=h4writer.
2014-09-05 09:27:21 -06:00
Brian Hackett
a08965c116
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
7bea2be20a
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
94bc3e8dde
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
edce5ffd3c
Backed out changeset 94eed55e5a5b (bug 1040593) on a CLOSED TREE
2014-09-04 18:00:59 -07:00
Nicholas Nethercote
10873906cf
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
48ad8c1cc3
Bug 1061961: Fully initialize ScriptSourceObjects built by XDR and for Function.prototype. r=shu
2014-09-04 15:40:10 -07:00
Jeff Walden
0aeca94121
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
7f5f3f7054
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
2c8a9f2eca
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
874117b538
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
2d218bc090
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
776b785711
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
f67f07d42a
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
77c9e62488
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
9fdbdc72f6
Bug 1061853 - More object-specific destructuring simplifications. r=shu
...
--HG--
extra : rebase_source : ac77a3ea49af4623033de4d09300137697dcd608
2014-08-29 22:38:20 -07:00
Jeff Walden
761db28042
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
00faaa6e3e
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
656c24945f
Bug 1061853 - More array-specific destructuring simplifications. r=shu
...
--HG--
extra : rebase_source : c1ebe1a55d9ac3724f5c990407dc534c3b7011c9
2014-08-29 22:38:19 -07:00
Jeff Walden
26281cd8b7
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
e6bf834c36
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
7349cd22a9
Bug 1061853 - Rename |pn3| to |subpattern| for readability. r=shu
...
--HG--
extra : rebase_source : b31f9855a8ae805dce2162f8e00a164358643a7d
2014-08-29 22:38:19 -07:00