Commit Graph

33353 Commits

Author SHA1 Message Date
Sean Stangl
1faa45db15 Backout Bug 837042 for mysterious compilation failures on TBPL. 2013-02-01 18:02:01 -08:00
Sean Stangl
300a44582f Bug 832217 - Construct RegExpShared in the same compartment as the RegExpStatics. r=billm 2013-02-01 17:36:29 -08:00
Daniel Holbert
0d3fc5182d Bug 837253: When declaring JSObject as a friend, use 'class' instead of 'struct' to fix MSVC warning-spam. r=dvander 2013-02-01 15:15:30 -08:00
Sean Stangl
bca1c59d4b Bug 837014 - Always inline the empty script. r=bhackett 2013-02-01 13:29:12 -08:00
Brian Hackett
f80aa819db Bug 836774 - Prevent objects/strings from flowing to an MToDouble, r=jandem. 2013-02-01 06:44:17 -07:00
Hannes Verschore
ce7a4035ac Bug 828119: IonMonkey: Add fastpath for strict string comparison, r=jandem 2013-02-01 11:39:02 +01:00
Benjamin Peterson
dd69c28ff0 Bug 718969 - Perform an exorcism; remove the decompiler. r=luke 2013-02-01 00:19:00 -05:00
Benjamin Peterson
3934f5a9ef Bug 777474 - Use the expression decompiler for opcode text when possible. r=bhackket 2013-02-01 00:10:17 -05:00
Nicholas Nethercote
d9f49c3dc8 Bug 788293 - Remove e4x support. r=jorendorff,terrence,evilpie.
Ding dong!  The witch is dead!
2013-01-24 21:24:57 -08:00
Nicholas Nethercote
5398a93d05 Bug 834090 - Name unused opcodes more sanely. r=jorendorff. 2013-01-24 16:14:54 -08:00
Phil Ringnalda
15ecedac46 Back out 66882ea6f8c7 (bug 788293) and 32f09cb3c7b6 (bug 834090) for bustage
CLOSED TREE
2013-01-31 22:29:30 -08:00
Phil Ringnalda
59dade81af Back out fa772ccdf19d (bug 718969) and 050a0a27024a (bug 777474) for being in the way of backing out bustage
CLOSED TREE
2013-01-31 22:27:54 -08:00
Benjamin Peterson
7880070173 Bug 718969 - Perform an exorcism; remove the decompiler. r=luke
--HG--
extra : rebase_source : 64df8f9a7ac230e1462a8f6e134ac3e86258d6f8
2013-02-01 00:19:00 -05:00
Benjamin Peterson
96f455e618 Bug 777474 - Use the expression decompiler for opcode text when possible. r=bhackket
--HG--
extra : rebase_source : 84a1421dfdf12c8e6fd2bb8a09132cd83c13c590
2013-02-01 00:10:17 -05:00
Nicholas Nethercote
e4944dd40a Bug 788293 - Remove e4x support. r=jorendorff,terrence,evilpie.
Ding dong!  The witch is dead!

--HG--
extra : rebase_source : 7574f5620e303c25120fcfc8ceb2099ad75c8f1b
2013-01-24 21:24:57 -08:00
Nicholas Nethercote
926e5f4a3d Bug 834090 - Name unused opcodes more sanely. r=jorendorff.
--HG--
extra : rebase_source : 1ca2f3707aff6c24461d2acadde79b7bbc905225
2013-01-24 16:14:54 -08:00
Luke Wagner
da0f0b9e88 Bug 836616 - allow ParseNodes to distinguish numbers containing a decimal point (r=njn)
--HG--
extra : rebase_source : c1b048a3008ac492149488d427f14c9bb5cf5c31
2013-01-14 08:25:28 -08:00
Nicholas Nethercote
c349516181 Bug 833208 (part 5) - Remove e4x support from mochitests. r=jorendorff.
--HG--
extra : rebase_source : a88f8ed13299c566df2297729b3a5ddf21fcaafa
2013-01-28 14:55:17 -08:00
Nicholas Nethercote
6c3a8a3184 Bug 833208 (part 4) - Remove e4x support from xpcshell tests. r=jorendorff.
--HG--
extra : rebase_source : a7bd33905120f74e6c242e0c236450dd3be54436
2013-01-30 16:56:16 -08:00
Nicholas Nethercote
b7d0a5ecaf Bug 833208 (part 3) - Remove e4x support from jsapi-tests. r=jorendorff.
--HG--
extra : rebase_source : d3e2edd48c95fcf1f237831eae788f613778ab64
2013-01-28 14:55:14 -08:00
Nicholas Nethercote
99a6a6c1a5 Bug 833208 (part 2) - Remove e4x support from jstests. r=jorendorff.
--HG--
rename : js/src/tests/e4x/Statements/12.3-01.js => js/src/tests/js1_6/extensions/nested-for-each.js
rename : js/src/tests/e4x/Regress/regress-355569.js => js/src/tests/js1_8_5/regress/regress-355569.js
rename : js/src/tests/e4x/Regress/regress-477053.js => js/src/tests/js1_8_5/regress/regress-477053.js
rename : js/src/tests/e4x/Regress/regress-561031.js => js/src/tests/js1_8_5/regress/regress-561031.js
extra : rebase_source : d146e304a8d31b1536804f86929628a638ff3269
2013-01-28 14:25:15 -08:00
Nicholas Nethercote
c1813bf2c4 Bug 833208 (part 1) - Remove e4x support from jit-tests. r=jwalden.
--HG--
rename : dom/browser-element/BrowserElementParent.jsm => dom/browser-element/BrowserElementParent.js
rename : js/src/jit-test/tests/e4x/bug613151.js => js/src/jit-test/tests/basic/bug613151.js
rename : js/src/jit-test/tests/e4x/bug651966.js => js/src/jit-test/tests/basic/bug651966.js
rename : js/src/jit-test/tests/e4x/bug737251.js => js/src/jit-test/tests/basic/bug737251.js
extra : rebase_source : 2102a879231490bf1b73249b4889c2d83c73010f
2013-01-28 14:25:14 -08:00
Sean Stangl
317b86649c Backout Bug 829758 to investigate crashes. 2013-01-31 13:51:38 -08:00
Sean Stangl
dbac2df8fb Bug 836087 - Avoid using doubles for lastIndex in ExecuteRegExp(). r=nbp 2013-01-31 13:43:06 -08:00
Luke Wagner
585958a0c8 Bug 835003 - simplify generation of MTableSwitch jump tables (r=h4writer)
--HG--
extra : rebase_source : dc652a92a43e9af389f925539cfeebee70b313ea
2013-01-31 11:30:35 -08:00
Joey Armstrong
d4b58c3122 bug 830351: remove unused .mkdir.deps rule and clenaup cosmetic makefile problems 2013-01-31 14:55:30 -05:00
Hannes Verschore
ec47546792 Bug 836102: Minimal truncate analysis for constants, r=mjrosenb 2013-01-31 19:36:58 +01:00
Brian Hackett
884628e108 Bug 836623 - Fix unnecessary growElements() call, bogus assert during object densification, r=billm. 2013-01-31 10:37:25 -07:00
Jon Coppeard
ee6745be4e Bug 836312 - GC: Sweep IonCode incrementally r=billm 2013-01-31 10:47:16 +00:00
Jan de Mooij
68f516ce58 Bug 836255 part 1 - Refactor some arguments-related functions to use AbstractFramePtr. r=dvander 2013-01-31 11:50:07 +01:00
Jan de Mooij
72f8601fee Bug 835277 part 3 - Call IonFrameIterator::script in GetTopIonJSScript. r=nbp 2013-01-31 11:50:04 +01:00
Jan de Mooij
3f55c1c86e Bug 835277 part 2 - Fix hasBreakpointsAt. r=bhackett 2013-01-31 11:50:01 +01:00
Jan de Mooij
1fcf0cf5e0 Bug 835277 part 1 - Convert CallObject::createForStrictEval to use AbstractFramePtr. r=djvj 2013-01-31 11:49:55 +01:00
Mike Hommey
4d1a776995 Bug 836161 - Fix gcc version test from bug 833627 to be properly quoted by m4. r=ted 2013-01-31 10:32:18 +01:00
Boris Zbarsky
fb9ecce4ea Add a test for WebIDL-weakmap stuff in addition to XPConnect-weakmap. No bug, no review
--HG--
rename : js/xpconnect/tests/mochitest/test_bug655297.html => js/xpconnect/tests/mochitest/test_bug655297-1.html
rename : js/xpconnect/tests/mochitest/test_bug655297.html => js/xpconnect/tests/mochitest/test_bug655297-2.html
2013-01-31 01:04:48 -05:00
Bill McCloskey
e77b833061 Bug 830855 - Remove JSScript::principals (sort of) (r=luke)
--HG--
extra : rebase_source : 584a12fbae35888d7c6f66dc0e0d403af7cc0fe0
2013-01-30 18:10:46 -08:00
Jesse Ruderman
53d4ff720b Bug 778085 followup - fix typo in help message. DONTBUILD 2013-01-30 17:48:15 -08:00
Gary Kwong
9ce43c794e Bug 836531 - Change getBuildConfiguration to output more information. r=sfink 2013-01-30 15:01:35 -08:00
Bill McCloskey
98ecb80afc Bug 835966 - Refactor {cx,rt,allocator}->malloc_ (r=luke) 2013-01-30 12:22:04 -08:00
Boris Zbarsky
37c97f760a Bug 829867. Unpref PaintRequest and Screen WebIDL bindings and remove some cruft from quickstubs. r=peterv
nsIDOMCharacterData and nsIDOMText quickstubs are not needed after bug 826703.

nsIDOMRect quickstubs haven't been needed since bug 824970 landed.

nsCSSPropertiesQS has been unused since bug 801083 at least.

The various includes being removed are either fully on WebIDL now or using WebIDL quickstubs.
2013-01-29 12:52:09 -05:00
Boris Zbarsky
9b45ffdc77 Bug 824589. Convert XULElement to WebIDL. r=peterv
The assertions in nsINode and nsWrapperCache are to eagerly catch
failures to override those methods.

The classinfo change for XULTreeBuilder is needed because one of those
is returned via an nsIXULTemplateBuilder attribute on XULElement.
Alternately, I could mark it notflattened in Bindings.conf, but Enn
said he prefers this anyway.

The change to the QI impl in BindingUtils is needed because when
XPConnect converts an IID from C++ to JS it makes is an nsJSID, not an
nsJSIID.  We've run into this before, sadly.

I removed "id" from nsIDOMXULElement because it's already on Element.
I suppose I could have left it there, but this seems cleaner.

The nsJSIID::HasInstance changes are needed to support XBL-implemented
interfaces.  Sadly, this does mean that if the underlying object QIs
to something but we didn't put those props on the WebIDL we'll end up
testing true for instanceof but not exposing the props.  I don't see
an obviously better way.  We should work on killing off uses of
"instanceof someinterface".

The browser.js change is needed to avoid throwing exceptions during
browser-chrome tests that are now getting reported because our
swapFrameLoaders is no longer an XPConnect method.
2013-01-29 12:51:55 -05:00
Ryan VanderMeulen
dc41e9b7c0 Merge m-c to inbound. 2013-01-30 08:06:05 -05:00
Ryan VanderMeulen
b35109ad70 Merge the last PGO-green inbound changeset to m-c. 2013-01-30 08:05:31 -05:00
Tom Schuster
cba8004ad4 Bug 836000 - IonMonkey: Don't clobber out register in loadFromTypedArray. r=h4writer 2013-01-30 13:45:24 +01:00
Brian Hackett
c63265d29e Bug 836138 - Fix a couple double array correctness bugs, r=jandem. 2013-01-30 04:31:07 -07:00
Gregory Szorc
716204f494 Merge mozilla-central into build-system 2013-01-29 20:27:15 -08:00
Brian Hackett
a3c7a84ee5 Bug 835102 - Convert sufficiently sparse objects back to using dense elements, r=billm. 2013-01-29 19:50:41 -07:00
Gregory Szorc
5dbdd4988c Bug 784841 - Part 6: Move some functions from ConfigStatus to mozbuild; r=ted
--HG--
rename : build/tests/unit-ConfigStatus.py => python/mozbuild/mozbuild/test/backend/test_configenvironment.py
2013-01-29 06:24:24 -08:00
Terrence Cole
35c9f7670d Bug 706885 - Rework Rooting APIs to preserve all available type information; r=billm 2013-01-28 18:25:23 -08:00
Boris Zbarsky
91f607c39f Bug 829867. Unpref PaintRequest and Screen WebIDL bindings and remove some cruft from quickstubs. r=peterv
nsIDOMCharacterData and nsIDOMText quickstubs are not needed after bug 826703.

nsIDOMRect quickstubs haven't been needed since bug 824970 landed.

nsCSSPropertiesQS has been unused since bug 801083 at least.

The various includes being removed are either fully on WebIDL now or using WebIDL quickstubs.
2013-01-29 12:52:09 -05:00
Boris Zbarsky
1d5a36a375 Bug 824589. Convert XULElement to WebIDL. r=peterv
The assertions in nsINode and nsWrapperCache are to eagerly catch
failures to override those methods.

The classinfo change for XULTreeBuilder is needed because one of those
is returned via an nsIXULTemplateBuilder attribute on XULElement.
Alternately, I could mark it notflattened in Bindings.conf, but Enn
said he prefers this anyway.

The change to the QI impl in BindingUtils is needed because when
XPConnect converts an IID from C++ to JS it makes is an nsJSID, not an
nsJSIID.  We've run into this before, sadly.

I removed "id" from nsIDOMXULElement because it's already on Element.
I suppose I could have left it there, but this seems cleaner.

The nsJSIID::HasInstance changes are needed to support XBL-implemented
interfaces.  Sadly, this does mean that if the underlying object QIs
to something but we didn't put those props on the WebIDL we'll end up
testing true for instanceof but not exposing the props.  I don't see
an obviously better way.  We should work on killing off uses of
"instanceof someinterface".

The browser.js change is needed to avoid throwing exceptions during
browser-chrome tests that are now getting reported because our
swapFrameLoaders is no longer an XPConnect method.
2013-01-29 12:51:55 -05:00
Luke Wagner
d4630bf5f1 Bug 835578 - IonMonkey: fix visitCompare/visitTest to not useRegister on constant operands (r=dvander) 2013-01-29 08:29:51 -08:00
Luke Wagner
3d8049af97 Bug 835449 - fix StackIter corner case where evalInFrame fails to pop native calls (r=jandem)
--HG--
extra : rebase_source : 37d60303aee651ef0dbc28b63994b811507e6a07
2013-01-28 10:53:49 -08:00
Nils Maier
6edae96580 Bug 761552 - Part 2: Avoid external JS strings in XPCConvert. r=bholley
XPCConvert needs to convert some string types to JS strings in order to call
from C++ into JS land. Make those converted JS strings allocate the buffers
from the JS compartment memory pool, instead of making them external and
allocated from the main heap.
This improves memory reporting and may also influence memory fragmentation
and/or performance.
2013-01-29 10:50:04 -05:00
Hannes Verschore
7784ac141a Bug 835178: IonMonkey: Enable inlining of functions containing JSOP_SETARG, r=nbp 2013-01-29 16:26:11 +01:00
Boris Zbarsky
fe9008ab9f Bug 829252 followup. Now that WindowRoot has a wrapper cache, we need to be able to deal with ConstructSlimWrapper on things that have no classinfo. r=peterv pending, but landing on CLOSED TREE now to fix orange. 2013-01-29 10:18:05 -05:00
Boris Zbarsky
d4225d434c Bug 834877 part 3. Add faster DOMString-to-JS conversion code. r=peterv 2013-01-29 09:42:14 -05:00
Brian Hackett
18fd76c0a1 Bug 835496 - Don't try to fix the types for object initializers with dense elements, r=jandem. 2013-01-29 07:03:38 -07:00
Boris Zbarsky
d2613fc2a0 Bug 829252 part 4. Turn on the EventTarget quickstubs. r=peterv 2013-01-29 08:44:01 -05:00
Jon Coppeard
6da4e7b9c8 Bug 835385 - Also, ensure no GC during Ion compilation r=billm 2013-01-28 18:21:11 +00:00
Jon Coppeard
29eec88397 Bug 835385 - GC: Fix for some jit test rooting analysis failures r=terrence 2013-01-28 16:43:07 +00:00
Jon Coppeard
5f7cf5a5ed Bug 834766 - Also root some out params r=sphink 2013-01-28 16:41:30 +00:00
Jon Coppeard
caa007127e Bug 834766 - GC: Fix some more rooting issues found by static analysis r=sphink 2013-01-25 17:48:07 +00:00
Jeff Walden
371def9626 Bug 786135 - Make parseInt(stringStartingWith0ButNot0xOr0X) parse as decimal to comply with ES5. r=dmandelin
--HG--
rename : js/src/tests/js1_8_5/extensions/parseInt-octal.js => js/src/tests/ecma_5/Global/parseInt-default-to-decimal.js
extra : rebase_source : 824fe7e00fbb6ffa38ebba5c43f6c0801f387309
2013-01-28 13:08:32 -08:00
Norbert Lindenberg
3645333c96 Bug 769872 - Add self-hosted JavaScript core of Intl constructors Collator, NumberFormat, DateTimeFormat (part 3). r=jwalden
--HG--
extra : rebase_source : 9029f8b5d03c08a5c56c38934c12e4e6458c1755
2013-01-28 14:03:44 -08:00
Jeff Walden
cb61692793 Bug 834988 - Clarify that all the DST-offset methods take a time in UTC seconds, and that the internal fields store UTC values. Also add documentation comments by the related methods. r=dmandelin
--HG--
extra : rebase_source : ee848c192ddafe87cdb8388f0d2b81a0d5e4be9a
2013-01-25 16:50:24 -08:00
Jeff Walden
53cabc84c6 Bug 834988 - Invert the meaning of LocalUTCDifferenceSeconds and rename it to UTCToLocalStandardOffsetSeconds. This gives it the same sign/semantics (if different units) as the -8 in UTC-8, and it makes it consistent with ES5's LocalTZA concept. Also add an interface comment with two examples of its behavior. r=dmandelin
--HG--
extra : rebase_source : 3e56a9fcc590c6b42c2782bd30431db8f3464825
2013-01-25 15:46:10 -08:00
Brian Hackett
a08f30c509 Bug 833898 - Allow converting mixed arrays of ints and doubles to uniform doubles, r=jandem. 2013-01-29 16:20:03 -07:00
Boris Zbarsky
fc92b1e7e8 Bug 835417 part 3. Add the notion of aliasing DOM stuff to MIR and flag MGetDOMProperty with the right alias set if it's pure. r=jandem 2013-01-29 17:53:53 -05:00
Boris Zbarsky
afda50b640 Bug 835417 part 2. Implement WebIDL parser and codegen support for marking things pure. r=peterv 2013-01-29 17:53:53 -05:00
Nathan Froyd
edaec1c4ca Bug 835358 - remove unused member nsXPConnect::mScopes; r=bholley
--HG--
extra : rebase_source : 7c5c2152666c9b8eb8860db4d7e39c274f772b5b
2013-01-28 10:37:57 -05:00
Hannes Verschore
9c2f05bfc9 Bug 824473: Add testcases for the inlined funapply, r=testcase 2013-01-29 02:29:08 +01:00
Brian Hackett
d5c1e1b9ff Bug 835140 - Don't treat lambdas inside other functions or loops as run-once, r=luke. 2013-01-28 17:24:35 -07:00
Terrence Cole
c14f9308b2 Bug 835157 - Remove the unused createWithProto methods; r=Waldo
--HG--
extra : rebase_source : 4c26c36c313d5fe551f8e6e607a3ed6f1ecd6fa9
2013-01-27 10:37:20 -08:00
Sean Stangl
fcd36f671b Bug 749358 - Inline MUse storage. r=luke 2013-01-28 15:30:50 -08:00
Terrence Cole
e64877f8f7 Bug 706885 - Add a pointer to the JSRuntime on the gc::Chunk; r=billm
--HG--
extra : rebase_source : f6ac0b0db7791b365d0e63f6fea2e5f451964453
2013-01-23 12:22:36 -08:00
Boris Zbarsky
f17cd371b2 Back out bug 824589 (rev 22695cac3896) on suspicion of Ts regression 2013-01-29 17:18:06 -05:00
Boris Zbarsky
13cd69d925 Back out bug 829867 (rev 2a0424e177c1) on suspicion of Ts regression 2013-01-29 17:17:37 -05:00
Hannes Verschore
27cfd8f313 Bug 835877: Increase inline depth for small functions, r=dvander 2013-01-29 22:17:50 +01:00
Peter Van der Beken
88de345330 Fix for bug 715156 (JS code no longer work for select options as array in a Greasemonkey script (index and name setters don't really work via XrayWrapper)). r=bz.
--HG--
extra : rebase_source : 2ced75b6d49dbab5afe9a6ce7c322bf18a634026
2013-01-14 11:29:48 +01:00
Bobby Holley
1541fcfc06 Bug 830500 - Implement JS_CharsToId. r=Waldo 2013-01-28 14:46:10 +01:00
Ed Morley
63b3d87e8e Backout 3985cb4da6b6, 55ab9f026dc4, f7ead00b7654 and e2108ea96ae5 for a variety of build failures on a CLOSED TREE 2013-01-28 12:19:12 +00:00
Bobby Holley
965c7d58cb Bug 830500 - Implement JS_CharsToId. r=Waldo 2013-01-28 12:44:04 +01:00
Ed Morley
9474e07ea6 Backout f3c145bd1dd2 & 5075690572a9 for OS X startup failures 2013-01-28 11:08:21 +00:00
Hannes Verschore
9ed9a3b157 Bug 824473: OOM fixes for IonBuilder, r=jandem 2013-01-27 23:40:01 +01:00
Peter Van der Beken
95d9de83f0 Fix for bug 715156 (JS code no longer work for select options as array in a Greasemonkey script (index and name setters don't really work via XrayWrapper)). r=bz.
--HG--
extra : rebase_source : 6bc420bd917e00a49dc5f6f3de13ff9e290c9580
2013-01-14 11:29:48 +01:00
Kyle Machulis
f5a63e01fb Bug 777271 - Re-implement nsIDOMCallEvent using event implementation codegen. r=bent,vicamo,hsinyi 2013-01-28 15:39:50 +08:00
Benjamin Peterson
7ca25e2d6d Add test for bug 831846. 2013-01-27 21:43:04 -05:00
Matt Brubeck
4b5759ff90 Bug 792509 - Allow Metro builds on non-Windows platforms [r=jimm] 2013-01-26 23:45:27 -08:00
Bill McCloskey
833158fdca Bug 824473 - Fix build errors (r=bustage) 2013-01-27 14:38:43 -08:00
Bill McCloskey
5442b6d50d Bug 751618 - Zone renaming comment fix (r=jonco) 2013-01-27 13:51:41 -08:00
Bill McCloskey
637b55db56 Bug 751618 - Zone renaming part 9 (r=terrence) 2013-01-27 13:51:41 -08:00
Bill McCloskey
85d4900acd Bug 751618 - Zone renaming part 8 (r=terrence) 2013-01-27 13:51:41 -08:00
Bill McCloskey
5d9651e480 Bug 751618 - Zone renaming part 7 (r=jonco) 2013-01-27 13:51:41 -08:00
Bill McCloskey
931241a189 Bug 751618 - Zone renaming part 6 (r=terrence) 2013-01-27 13:51:41 -08:00
Bill McCloskey
ed808f86ee Bug 751618 - Zone renaming part 5 (r=jonco) 2013-01-27 13:51:40 -08:00
Bill McCloskey
894a915b85 Bug 751618 - Zone renaming part 4 (r=terrence) 2013-01-27 13:51:40 -08:00
Bill McCloskey
e1addfcecb Bug 751618 - Zone renaming part 3 (r=jonco) 2013-01-27 13:51:40 -08:00
Bill McCloskey
33528b5634 Bug 751618 - Zone renaming part 2 (r=jonco) 2013-01-27 13:51:35 -08:00
Bill McCloskey
56954e59be Bug 751618 - Zone renaming part 1 (r=jonco) 2013-01-27 12:37:18 -08:00