Commit Graph

57730 Commits

Author SHA1 Message Date
David Major
df94541e18 Bug 1316815 - Make RegI32, RegI64, RegF32, RegF64 inherit from, not wrap, Register, Register64, FloatRegister. r=lth
MozReview-Commit-ID: Hz19c0V9Lra

--HG--
extra : rebase_source : f315f076bc93ff2a6d122d4fdd5e3975cf942e0b
2016-11-16 13:11:48 -06:00
Benjamin Smedberg
ef89ac1033 Bug 1314955 part A - Move the binary xpconnect testing components into libxul so that we can remove support for external binary components. Ideally we'd only compile these into the xul-gtest version, but currently we can't run xpcshell tests against that version, so I'm going to put them into the release xul, r=mrbkap
MozReview-Commit-ID: Lr6uKtzXdEb

--HG--
extra : rebase_source : d6c813e568ba62bcc7174a0fc990ccf4364717e6
extra : source : c78f97c0b77126fa37c857728192f2e2d0c2d99c
2016-11-16 12:28:57 -05:00
Carsten "Tomcat" Book
e7ca75286b Merge mozilla-central to inbound 2016-11-16 14:53:15 +01:00
Lars T Hansen
be505bec4e Bug 1316850 - restore old value stack popping regime, with a twist. r=bbouvier
--HG--
extra : rebase_source : 4d4bdb1da6f0262d3fca1743d3b6f4b7bd8280ae
extra : histedit_source : 1c702a6bc64847f3eb052bbbf00d01814cb02020%2C8399b46256e99d79cce4b3f1ef66fbaa4d5b8e9c
2016-11-16 11:36:30 +01:00
Lars T Hansen
e2d9695f53 Bug 1316850 - clean up void handling. r=bbouvier
--HG--
extra : rebase_source : 04653cd277f149651d042c266d57381893cb37cf
extra : histedit_source : f57ab16b21fa411f7a8e050a574c4d3a92386eb0%2Ca0f9b3437c726142d81366979eda84880000737e
2016-11-16 11:29:46 +01:00
Lars T Hansen
5c914aed96 Bug 1316850 - reduce code duplication. r=bbouvier
--HG--
extra : rebase_source : 4be7102671b33f96281816705479aa61c4e30ecc
extra : histedit_source : f47ace45bec8f31826492ca4cd68ba80622cfbc8
2016-11-15 10:16:05 +01:00
Lars T Hansen
63bf3be32c Bug 1316850 - make sure we don't fall through into endFunction. r=bbouvier
--HG--
extra : rebase_source : 79b84aae64e7a58a6b79d82d424ad21645f6307e
extra : histedit_source : 2aef3ae9bf85f5c4761fb440e1bba1afdb3c287a%2Cef6d9d8ec0593d8b29f471d37fbd0f4da3ba5250
2016-11-16 11:24:34 +01:00
Lars T Hansen
d56a59418c Bug 1316850 - no need to allow null label in pushControl. r=bbouvier
--HG--
extra : rebase_source : e56cd2f4a20212070623d618359c1c54bdc27829
2016-11-14 11:50:06 +01:00
Lars T Hansen
735010de1f Bug 1316850 - check return from fallible allocator. r=bbouvier
--HG--
extra : rebase_source : e340b73e0a1ee8a830fb6a55b5981771aba590f8
2016-11-11 13:55:38 +01:00
Benjamin Bouvier
692e33962a Bug 1317090: Remove js::FindBody; r=arai
MozReview-Commit-ID: EmR0HZEYvW7

--HG--
extra : rebase_source : 6e732474aa0d695f5fa6582d1a882eabcca98bdb
2016-11-15 19:45:37 +01:00
Kan-Ru Chen
f8100451db Bug 1314254 - Add mozilla::ipc::IPCResult type and convert IPDL handlers to use new return type. r=billm
We will use the new type for the generated IPDL message handler
prototype to make sure correct error handling method is called.

MozReview-Commit-ID: AzVbApxFGZ0
2016-11-15 04:26:00 +01:00
Iris Hsiao
5f1776f800 Backed out changeset c78f97c0b771 (bug 1314955) 2016-11-16 15:19:46 +08:00
Benjamin Smedberg
e6c91228b2 Bug 1314955 part A - Move the binary xpconnect testing components into libxul so that we can remove support for external binary components. Ideally we'd only compile these into the xul-gtest version, but currently we can't run xpcshell tests against that version, so I'm going to put them into the release xul, r=mrbkap
MozReview-Commit-ID: Lr6uKtzXdEb

--HG--
extra : rebase_source : 5e9e9d065010b3d772c1795b798530cb00828637
2016-10-26 11:47:52 -04:00
Vladimir Vukicevic
711fd6d172 Bug 1300925 - Change Intl.cpp stubs to an anonymous namespace. r=Waldo
MozReview-Commit-ID: 9Ed1gglWsby

--HG--
extra : rebase_source : f15bd828157fa0d68ac975fef305bcb654112afc
2016-11-15 14:08:05 -06:00
Jan de Mooij
fe63cb28aa Bug 1317402 - Clear the isBigEnoughForAShapeTable cache when removing dictionary shapes. r=jonco 2016-11-15 16:47:14 +01:00
Jan de Mooij
2ae2fb85cd Bug 1315262 - Don't purge shape tables in the self-hosting zone. r=jonco 2016-11-15 16:46:17 +01:00
Jan de Mooij
f8afc80a70 Bug 1310125 part 2 - Port Baseline scripted getter IC stub to CacheIR. r=h4writer 2016-11-15 15:54:14 +01:00
Jan de Mooij
0146e7a2b0 Bug 1310125 part 1 - Don't use |holder| for own property getters/setters in IonBuilder. r=h4writer 2016-11-15 15:54:12 +01:00
Jan de Mooij
44e40b79ad Bug 981201 - Stop using JS_IsRunning in PreciseGCRunnable::Run and remove JS_IsRunning. r=bholley 2016-11-15 10:58:30 +01:00
André Bargull
96d41c633a Bug 1317311: Check for absent instead of undefined argument in TypedArray.prototype.lastIndexOf. r=evilpie 2016-11-14 12:26:23 -08:00
André Bargull
b8d7c0826c Bug 1317310: Disallow trailing decimal digit after null-escape in character classes in Unicode regular expressions. r=arai 2016-11-14 12:26:59 -08:00
André Bargull
7993c40cc7 Bug 1317309: Throw a TypeError when passing a Symbol value to ToAtom. r=till 2016-11-14 12:28:35 -08:00
André Bargull
9af44ca171 Bug 1317308: Don't match Mongolian vowel separator as white space in regular expressions. r=arai 2016-11-14 12:28:13 -08:00
André Bargull
ae832a8e94 Bug 1317307: Throw a TypeError when attempting to change array.length to accessor property. r=till 2016-11-14 12:27:52 -08:00
Nicolas B. Pierron
6ff62e4d56 Bug 1316830 - Use default value instead of duplicating code. r=bbouvier 2016-11-14 07:27:00 +01:00
Tooru Fujisawa
633454547d Bug 1317460 - Detect uncatchable exception in AsyncFunctionThrown. r=till 2016-11-15 13:00:50 +09:00
Tooru Fujisawa
6db3eda41a Bug 1285710 - Add testcase for error message for redeclaration error. r=shu 2016-11-15 13:00:50 +09:00
Jeff Walden
ee8181b148 Bug 1296814 - Specify an explicit offset when reporting an error for a for-of loop whose target is an expression that begins with 'let'. r=arai
--HG--
extra : rebase_source : 38ca3e740f323cd121df4c493693618fe7f75661
2016-11-13 20:51:23 -08:00
Jeff Walden
bcbee88857 Bug 1296814 - Simplify checking of the left-hand side of assignment and compound assignment expressions. r=anba
--HG--
extra : rebase_source : a4d84f9b9e164dca5dfe23fe60d0fd7a94c0240f
2016-11-13 20:50:54 -08:00
Jeff Walden
4fc1778679 Bug 1296814 - Remove for-in/of loop parsing code that redundantly marks the loop target as assigned -- Parser::forHeadStart already does this. r=anba
--HG--
extra : rebase_source : 62a97d9560f32bc692ddcea345c428d788f664c5
2016-11-13 00:33:38 -08:00
Jeff Walden
f746b98c82 Bug 1296814 - Report some errors about invalid left-hand-sides in for-in/of loop heads using much-simpler code with an explicitly computed offset. r=anba
--HG--
extra : rebase_source : 43f3577711b4e05965793c8ece056c2c2bedb9b0
2016-11-13 00:33:30 -08:00
Jeff Walden
094a69b699 Bug 1296814 - Report the error for uninitialized const-declaration in for(;;) loop head using an explicit offset. r=anba
--HG--
extra : rebase_source : 7f22ef8b9db1676067905a3cfb4fa7a68b69fbe2
2016-11-13 00:12:38 -08:00
Jeff Walden
101a97496d Bug 1296814 - Introduce Parser::warningAt for warnings at specified offsets. r=arai
--HG--
extra : rebase_source : 8860a1c0892bbce10ab367d58d0bf632785821bc
2016-11-13 00:12:28 -08:00
Jeff Walden
75f5a2dd55 Bug 1296814 - Report for-loop-decl-with-initializer errors using a specified offset instead of a node's offset. r=arai
--HG--
extra : rebase_source : c2b6fcd8aa21fe747ee2568a8c6d0d38da68db2a
2016-11-13 00:12:28 -08:00
Jeff Walden
29058eaa77 Bug 1296814 - Report bad-class-member errors using a specified offset instead of a node's offset. r=arai
--HG--
extra : rebase_source : 68379c893ea8d05b544a045d378e94f1be4b9305
2016-11-13 00:12:28 -08:00
Jeff Walden
e72e3de588 Bug 1296814 - Remove Parser::reportBadReturn and report simpler errors that don't use the offset of a node as location. r=arai
--HG--
extra : rebase_source : bb602d66d581b46a5b321137013d05e09ce60350
2016-11-13 00:11:39 -08:00
Jeff Walden
43a9efa314 Bug 1296814 - Introduce Parser::errorAt to reduce reporting an error at a particular offset to its bare essentials. r=anba
--HG--
extra : rebase_source : 350bdbf12b6eb64ff262c81765cbd624c8439d80
2016-11-13 00:10:54 -08:00
Jeff Walden
8b088449b9 Bug 1296814 - Inline Parser::checkFunctionDefinition into its sole caller. r=anba
--HG--
extra : rebase_source : 8b2176785d79551596bdedca51d81bba78335a79
2016-11-13 00:10:34 -08:00
Jeff Walden
bc4b5f070b Bug 1296814 - Inline GeneratorKindFromPropertyType and AsyncKindFromPropertyType into their sole caller. r=me as trivial, and/or as response to review comment on previous patch
--HG--
extra : rebase_source : b99198bf8c6db1d3a9bfd656145e307bbce3b347
2016-11-13 00:10:08 -08:00
Jeff Walden
2fdbf4afb3 Bug 1296814 - Move the Parser::checkFunctionDefinition call, out of Parser::functionDefinition, into its few Statement-related callers. r=anba
--HG--
extra : rebase_source : cfcaa227d7e1d9ae8e4c00313a986a40547f1771
2016-11-13 00:05:10 -08:00
Jeff Walden
e383cddaf8 Bug 1296814 - Move a little bit of Parser::functionDefinition into callers. r=anba
--HG--
extra : rebase_source : df7937ee20727126f4e6255afbf1bf2dab2f1584
2016-11-12 21:30:55 -08:00
Jeff Walden
cd0a258caa Bug 1296814 - Move FunctionDeclaration-as-consequent/alternative handling out of Parser::functionStmt into Parser::consequentOrAlternative. r=anba
--HG--
extra : rebase_source : 80a8b7e18a08dd9dfe2e9b95622ef0d80df73db8
2016-11-08 10:35:11 -08:00
Jeff Walden
80e3524951 Bug 1296814 - Track strict mode errors in |for (var i = ... in ...)| correctly when syntax-parsing. r=anba
--HG--
extra : rebase_source : a6aaf4e07b9aa9962a38a2eb6adedec320a84a2d
2016-11-07 15:23:19 -08:00
Jeff Walden
94f6d08b5a Bug 1296814 - Track strict mode errors in unary deletions correctly when syntax-parsing. r=anba
--HG--
extra : rebase_source : 61e00449a07bcca21fdf8b10efad43906a119e1d
2016-11-07 15:23:18 -08:00
Jeff Walden
d141fe456e Bug 1296814 - Specify an explicit offset when warning about "use asm" found in the directive prologue of a script (rather than a function body). r=anba
--HG--
extra : rebase_source : 40239791b101a8a53f924d71944e412a0b5dbb31
2016-11-07 15:23:18 -08:00
Jeff Walden
1eb4cc8925 Bug 1296814 - Introduce Parser::error(unsigned errorNumber, ...) to reduce reporting errors at the current offset to its bare essentials. r=arai
--HG--
extra : rebase_source : 1990d7abb343aea9b63b90ee22535346d83345c0
2016-11-07 15:23:18 -08:00
Jeff Walden
a89de50724 Bug 1296814 - Introduce Parser::warning. r=anba
--HG--
extra : rebase_source : 7f1337a59f5aa5938722e9ac4f1aa42190eac762
2016-11-07 15:23:18 -08:00
Jeff Walden
3867d8ce13 Bug 1296814 - Introduce Parser::extraWarning. r=anba
--HG--
extra : rebase_source : a9bee3683754ea661a13a4438d0e79f6b711702b
2016-11-07 15:23:17 -08:00
Jeff Walden
a57eb68e02 Bug 1296814 - Remove the |bool strict| argument from the report-at-current-offset Parser function. r=arai
--HG--
extra : rebase_source : f35d5cb3543c93560f563ea23363f6f08ad5bdbc
2016-11-07 15:23:17 -08:00
Jeff Walden
2afe6227ce Bug 1296814 - Split out Parser::strictError for the two calls that don't pass |bool strict = false|, so that |bool strict| can be removed from the current signature. r=arai
--HG--
extra : rebase_source : 061e1d88515399cb8824d3d12857e84c1c0e8b00
2016-11-07 15:23:17 -08:00