Commit Graph

27392 Commits

Author SHA1 Message Date
Nicholas Nethercote
d0f43364ed Bug 884124 (part 8) - Add a RegExpStaticObject class. r=jwalden.
--HG--
extra : rebase_source : 9a0b0a59dc67cbab9ab1156607a984d303a850c3
2013-06-20 20:18:04 -07:00
Nicholas Nethercote
a44da09191 Bug 884124 (part 7) - Move some methods from JSObject to ArrayObject. r=jwalden.
--HG--
extra : rebase_source : bbe97ebfd1ef026f8a3ee21ce1b75f8b4ed40311
2013-06-19 01:39:47 -07:00
Nicholas Nethercote
b1f6f5f5f3 Bug 884124 (part 6) - Add an ArrayObject class. r=jwalden.
--HG--
extra : rebase_source : 17a9703165cb665326ff94bc574450ba59ede7f7
2013-06-18 23:55:38 -07:00
Nicholas Nethercote
dfac293220 Bug 884124 (part 5) - Add a DateObject class. r=jwalden.
--HG--
extra : rebase_source : bc39dcc8e2f8f2fcc71389a3ea199e264c445bc8
2013-06-20 20:17:15 -07:00
Nicholas Nethercote
bd7ff1e568 Bug 884124 (part 4) - Add an ErrorObject class. r=jwalden.
--HG--
extra : rebase_source : 9054445c5a435a1e49d1217247c5a32afef3826a
2013-06-20 20:17:14 -07:00
Nicholas Nethercote
21e4d36932 Bug 886205 (part 6) - Break jsscriptinlines.h out of the header inclusion cycles. r=terrence.
--HG--
extra : rebase_source : 0390ebedf2b132f296e272d25d81af71791dca30
2013-06-25 17:25:18 -07:00
Nicholas Nethercote
d6e2be442e Bug 886205 (part 5) - Break vm/Shape-inl.h out of the header inclusion cycles. r=terrence.
--HG--
extra : rebase_source : e63f73b728b071b98a318beba5d60bf9a108a840
2013-06-25 00:36:21 -07:00
Nicholas Nethercote
1c0e8900ee Bug 886205 (part 4) - Move some function definitions from jsfuninlines.h to jsfun.h. r=terrence.
--HG--
extra : rebase_source : 1bd4bf6c2c4db1392d43908a438df3fde48e29b2
2013-06-24 23:52:04 -07:00
Nicholas Nethercote
2cad2097bc Bug 886205 (part 3) - Move some function definitions from jsobjinlines.h to jsobj.h. r=terrence.
--HG--
extra : rebase_source : c5712dc0d1cb46d2bb653e33bc389f98770920b3
2013-06-24 21:26:48 -07:00
Shu-yu Guo
14245978bf Bug 886632 - Rename ParallelArrayAnalysis to ParallelSafetyAnalysis; move it before GVN; remove its dependency on JSContext. (r=nmatsakis)
--HG--
rename : js/src/ion/ParallelArrayAnalysis.cpp => js/src/ion/ParallelSafetyAnalysis.cpp
rename : js/src/ion/ParallelArrayAnalysis.h => js/src/ion/ParallelSafetyAnalysis.h
2013-06-25 18:28:22 -07:00
Shu-yu Guo
2555e19536 Bug 887002 - Don't track PC-sensitive type for rest arrays. (r=bhackett) 2013-06-25 18:28:22 -07:00
Shu-yu Guo
101e79c9de Bug 884369 - Fix callsite cloning in poly inline dispatch + rooting in IC. (r=sstangl) 2013-06-25 18:28:21 -07:00
Guilherme Gonçalves
a764e011fd Bug 884407 - Use an enum in SpeechRecognitionError. r=smaug 2013-06-25 20:08:58 -04:00
Terrence Cole
b169fecda8 Bug 886551 - Re-disable pre-barriers during minor GCs; r=bhackett
--HG--
extra : rebase_source : 7bbf374092b102b682179a41d72ab62017e24b04
2013-06-25 15:35:56 -07:00
Jason Orendorff
1955ab9c69 Bug 844805, part 3 - Remove two calls to FoldConstants from the parser. r=Waldo. 2013-06-25 17:40:00 -05:00
Jason Orendorff
4c6bcfaeb3 Bug 844805, part 2 - Don't even set the pn_op field of PNK_DOT/ELEM nodes. r=Waldo. 2013-06-25 17:40:00 -05:00
Jason Orendorff
0315ec1e7c Bug 844805, part 1 - Don't use the pn_op field of PNK_DOT/ELEM nodes. r=Waldo. 2013-06-25 17:40:00 -05:00
Jason Orendorff
c64bbbeaf4 Add passing test for bug 826124 which went away with JM. no_r=me. 2013-06-25 17:39:59 -05:00
Jason Orendorff
eaed0740bc Bug 885463 - Warn about 'yield' without operand. r=Waldo. 2013-06-25 17:39:59 -05:00
Dan Minor (dminor@mozilla.com)
6b27b7227e Bug 811404 - Stage cpptests as part of package-tests. r=ted 2013-06-24 13:45:32 -04:00
Terrence Cole
410aa60fce Bug 879079 - Fix rooting analysis bugs from calls to ToNumber; r=sfink
--HG--
extra : rebase_source : 98a04e315c9a372864d37447a102960737457aa1
2013-06-04 16:14:14 -07:00
Terrence Cole
748597a12c Bug 848592 - Fix some dynamic rooting analysis failures; r=sfink
--HG--
extra : rebase_source : 0d614298d3e9879a0ac5f95561329dc3a80d693b
2013-06-14 13:48:39 -07:00
Luke Wagner
f73ece6cce Bug 886285 - OdinMonkey: -0 should have type double (r=bbouvier)
--HG--
extra : rebase_source : f5f74cabcea1edf568b75fb01debf2795b813213
2013-06-24 15:23:35 -07:00
Terrence Cole
a6428b643a Bug 886575 - Update TypedArray's data slot when doing fallback marking for minor GC; r=sfink
--HG--
extra : rebase_source : 33d255e5e4c2aa647125faa8e6098e2111c83a33
2013-06-24 17:33:27 -07:00
Steve Fink
78bd904997 Bug 868302 - Enable rooting LIFO assertions in DEBUG, r=terrence 2013-05-03 13:53:15 -07:00
Andrew McCreight
819c36784c Bug 883657, part 2 - Don't force a GC in mozJSComponentLoader::UnloadModules. r=bholley 2013-06-25 08:42:40 -07:00
Hannes Verschore
0144425129 Bug 886266 - Fix issues with enabling/disabling non-active activations, r=jandem 2013-06-25 16:58:52 +02:00
Jan de Mooij
41bdfbf192 Bug 885660 - Fix Ion bailouts to overwrite arguments on the stack at the end of the bailout. r=djvj 2013-06-25 14:15:08 +02:00
Emanuel Hoogeveen
6dc713326b Bug 886128 - Fix various clang warnings and some potential bugs in nonstandard configurations. r=nnethercote,terrence.
--HG--
extra : rebase_source : 0d833ecc9879f5d9fd0a28f9b4eca7793d01aa40
2013-06-24 21:32:05 -07:00
Hannes Verschore
e16676b51f Bug 886241 - IonMonkey: Enable inlined arguments_get_elem for constant index, r=djvj 2013-06-25 09:57:17 +02:00
Hannes Verschore
4ed67b02f1 Bug 884989: OdinMonkey: Check argument types before enabling ffi fastpath to IM, r=luke 2013-06-25 09:55:33 +02:00
Nicholas Nethercote
f600113d63 Bug 886205 (part 2) - Move some function definitions from vm/ObjectImpl-inl.h to vm/ObjectImpl.h. r=terrence.
--HG--
extra : rebase_source : c12d632b99542002954f02b7004cbbcfdee7f6c5
2013-06-24 16:03:02 -07:00
Nicholas Nethercote
4f4e32f265 Bug 886205 (part 1) - Move some function definitions from gc/Barrier-inl.h to gc/Barrier.h. r=terrence.
--HG--
extra : rebase_source : d6eeb4f6273c36069a8bbb28033737c2aec40ba0
2013-06-24 15:55:52 -07:00
Catalin Iacob
83b78343dc Bug 798914 (part 5) - Use newly introduced mozilla::MallocSizeOf instead of nsMallocSizeOfFun. r=njn.
--HG--
extra : rebase_source : fc472490dd978d165f02f77ed37f07aed6e5bb61
2013-06-23 14:03:39 +02:00
Catalin Iacob
fddabbee4e Bug 798914 (part 4) - Use newly introduced mozilla::MallocSizeOf in js. r=njn.
--HG--
extra : rebase_source : d1c063b94c7ec58729150cbea602bb4c9f2a0e24
2013-06-23 13:21:01 +02:00
Phil Ringnalda
8caad2f15f Back out 1aa1a42a471f:bf03279e2b50 (bug 885169) for b2g/Android bustage on a CLOSED TREE
--HG--
extra : rebase_source : f3931316d2daa132bbe088a06877a5190b60bbd9
2013-06-24 18:00:46 -07:00
Phil Ringnalda
bd2fa2877b Merge m-c to m-i 2013-06-24 16:51:59 -07:00
Alex Keybl
fcfa80e959 Merging in version bump NO BUG 2013-06-24 11:37:32 -07:00
Nicolas B. Pierron
15fd41c68c Bug 829841 - Add an option to enable eager compilation in the browser. r=dvander 2013-06-24 05:13:05 -07:00
Dan Gohman
bc6545fa3f Bug 885176 - Style nits: add braces to if statements with multi-line conditions. r=sstangl 2013-06-24 16:34:04 -07:00
Dan Gohman
a792310758 Bug 875912 - Skip a bitwise or of zero. r=dvander 2013-06-24 16:29:03 -07:00
Dan Gohman
c27e399fd2 Bug 883570 - Improve printing for control and compare instructions. r=dvander 2013-06-24 16:20:12 -07:00
Dan Gohman
5ad8459b83 Bug 883570 - Basic dumping utilities for MBasicBlock and MIRGraph r=dvander 2013-06-24 16:19:59 -07:00
Dan Gohman
3a0903c8f5 Bug 885169 - Reverse the default register allocation order so that low registers like eax on x86/x64 are preferred over high registers. r=h4writer 2013-06-24 15:58:00 -07:00
Dan Gohman
1c369ade27 Bug 885169 - Add an explicit backwards-traversing register set iterator, so that code which needs to iterate in a specific order can ask for it explicitly. r=h4writer 2013-06-24 15:57:57 -07:00
Brian Hackett
92dd318ced Bug 883154 - Add runtime wide cache for compiled lazy scripts, r=billm. 2013-06-23 20:37:42 -06:00
Ehsan Akhgari
93c54f4145 Bug 885583 - Enable Web Audio unconditionally across mochitests; r=roc 2013-06-23 19:23:02 -04:00
Till Schneidereit
d496e6db48 Bug 886094 - Make js::BooleanGetPrimitiveValueSlow assert isProxy instead of the narrower isCrossCompartmentWrapper. rs=Ms2ger 2013-06-23 15:05:26 +02:00
Ms2ger
2c937acc56 Bug 882848 - Use MOCHITEST_BROWSER_FILES more; r=gps 2013-06-23 09:16:19 +02:00
Ms2ger
e81841c9a6 Bug 884951 - Use XPCWrappedNative::Get more; r=bholley 2013-06-23 09:15:55 +02:00
Ms2ger
67f84492bd Bug 884268 - Part b: Move nsContentUtils::PreserveWrapper to nsWrapperCache; r=smaug 2013-06-23 09:15:42 +02:00
Ms2ger
984de31759 Bug 884947 - Remove superfluous null check in XPCConvert::NativeInterface2JSObject; r=bholley 2013-06-23 09:14:02 +02:00
Jeff Walden
1d8fb877a4 Bug 496923 - Import the ch14 tests from test262. r=generating-script-was-reviewed
--HG--
extra : rebase_source : 7146eb81941b66910c45fcc2491c2c2be28a597c
2013-06-19 12:25:51 -07:00
Jan de Mooij
5ec5514fc1 Bug 866878 - Support try-finally in the baseline compiler. r=djvj
--HG--
extra : rebase_source : c5bd88422ce39de94888fad060259ef2590acb5a
2013-06-17 14:05:36 +02:00
Jeff Walden
1c925b908b Bug 496923 - Update the test262 import script to include ch14 tests. r=terrence
--HG--
extra : rebase_source : cd1c49ec76f361319928a65be659c5974eea966f
2013-06-11 12:03:28 -07:00
Jeff Walden
815351f50a Bug 496923 - Import the ch08 tests from test262. r=generating-script-was-reviewed
--HG--
extra : rebase_source : 5ddf0be31f2fd59dd37f06f9b9c23c90d8d66d35
2013-06-19 12:25:03 -07:00
Jeff Walden
a2e37fc304 Bug 496923 - Update the test262 import script to include ch08 tests. r=terrence
--HG--
extra : rebase_source : a8920a71dbe2f919700bf72125ec8e06d4d4ced5
2013-06-11 11:56:59 -07:00
Kannan Vijayan
488787395d Bug 883973 - Disable heavyweight function inlining. r=dvander 2013-06-24 15:14:06 -04:00
Brian Hackett
124e217cfd Bug 884053 - Fix incorrect use of nonLazyScript(), r=luke. 2013-06-24 12:07:58 -06:00
Brian Hackett
bd5bfb2841 Bug 882933 - Copy treatAsRunOnce bit when cloning scripts, don't clone scripts unnecessarily for arrow lambdas, r=luke. 2013-06-24 11:24:35 -06:00
Brian Hackett
447f8cf5fe Bug 881102 - Fix object metadata jit-test. 2013-06-24 11:18:50 -06:00
Gregory Szorc
74bdcff28e Bug 418593 - Cancel GNU make's built-in RCS/% rule; r=khuey 2013-06-24 10:14:12 -07:00
Gregory Szorc
1c0ba8fe42 Bug 885906 - Remove .sh and .pl catch anything implicit rules; r=khuey 2013-06-24 10:13:33 -07:00
Bobby Holley
16605e4fa8 Bug 885800 - Unwrap CCWs in Cu.isDeadWrapper. r=gabor 2013-06-24 10:02:08 -07:00
Brian Hackett
16ca13e136 Bug 872331 - Box null inputs to MToDouble when necessary, r=jandem. 2013-06-24 11:01:29 -06:00
Brian Hackett
617f56bb79 Bug 864099 - Deoptimize 'arguments' declaration inside 'with' statements harder, r=luke. 2013-06-24 10:59:15 -06:00
Brian Hackett
a72f5d4645 Bug 881102 - Propagate exceptions in object metadata callback, r=luke. 2013-06-24 10:55:28 -06:00
Brian Hackett
ecb9dbd0bb Bug 884920 - Remove TokenStream::lastFunctionKeyword, r=luke. 2013-06-24 10:47:11 -06:00
Jan de Mooij
674efa9679 Bug 885976 - Make ScriptFrameIter::numFrameSlots() a bit more robust. r=luke 2013-06-24 18:44:22 +02:00
Terrence Cole
00a9ece28f Bug 885607 - Make AsmJSModule's Global and ExportedFunction use RelocatablePtr; r=luke
--HG--
extra : rebase_source : bf0abf52aa28da2929264c42ec2d66dd0abea4b7
2013-06-21 19:27:16 -07:00
Terrence Cole
31f4eb939b Bug 885607 - Store the correct IonCode in the store buffer; r=bhackett
--HG--
extra : rebase_source : b2bdcdfde7d76bc4c341db94e680784a238a3f14
2013-06-21 19:25:17 -07:00
Hannes Verschore
4c52191bf3 No bug: Add testcases, r=tests 2013-06-24 17:50:59 +02:00
Terrence Cole
938123e66c Bug 840242 - Use the runtime page size to control arena decommit; r=luke
--HG--
extra : rebase_source : e183246d7a2f381e015e7d860336330a726cb9f8
2013-02-11 13:59:10 -08:00
Terrence Cole
7e276ccace Bug 884956 - Convert jsmath.cpp to CallArgs; r=Waldo 2013-06-21 18:18:52 -07:00
Luke Wagner
020ebd5eb6 Fix visibility warning (no bug, r=themaid)
--HG--
extra : rebase_source : 311a6406b1d2739389276589f23548c6fda89c98
2013-06-21 18:09:07 -07:00
Phil Ringnalda
65d944de86 Back out 1b81a9c88872 (bug 840242) for committing infanticide in Nursery.o 2013-06-21 18:53:24 -07:00
Terrence Cole
79c2050ce8 Bug 840242 - Use the runtime page size to control arena decommit; r=luke
--HG--
extra : rebase_source : 575a7485a5c6ac51f5c0cadc91616302326ce770
2013-02-11 13:59:10 -08:00
Luke Wagner
de2d395390 Bug 883175 - OdinMonkey: restrict validation rules to force immediate coercion of calls (r=sstangl)
--HG--
extra : rebase_source : 69fe22b2511fa713d13bebaac0926d89f16e161c
2013-06-20 11:32:52 -07:00
Luke Wagner
72da7077d4 Bug 878433 - OdinMonkey: (signed % signed) should be intish, not int (r=bbouvier)
--HG--
extra : rebase_source : 0f0b0c896be9b59e119952122f1967720abab635
2013-06-20 20:11:01 -07:00
Jan de Mooij
fa33d67667 Bug 881902 follow-up - Mark StackFrame callee and |this|, should fix GGC build. r=terrence on IRC 2013-06-22 01:58:36 +02:00
Luke Wagner
db386996f5 Silence used-but-not-defined warnings (no bug, r=themaid)
--HG--
extra : rebase_source : ba10f39fd67711ef404ed09c0d0a016c01b5d832
2013-06-21 16:52:11 -07:00
Steve Fink
c781588453 Bug 885770 - script filename can be NULL in shell load, r=njn
--HG--
extra : rebase_source : 25392549ef586f651e03f5ce86c0ebac376f8c1e
2013-06-21 16:49:41 -07:00
Jason Orendorff
ba22cb11e1 Fix another busted test for bug 885067 on a CLOSED TREE. no_r=orange, egg=face. 2013-06-21 12:20:32 -05:00
Jason Orendorff
859b69b0c7 Fix very stupid test for bug 885067 that I pushed in rev 60d580712ec0. Clerical error on my part. no_r=orange. 2013-06-21 11:43:09 -05:00
Jason Orendorff
283abbea5a Bug 883434 - Give TokenPos a real constructor. r=ejpbruel.
--HG--
extra : rebase_source : 4820e91d38810d03dff3c0bddaea104f53e7c12c
2013-06-21 08:18:01 -05:00
Jason Orendorff
ade8a79322 Bug 883333, part 15 - Add StatementList operations to the ParseHandler protocol. r=Waldo.
--HG--
extra : rebase_source : d5e801fcd5c2f53bcc670534c53502c4219d176d
2013-06-21 08:18:01 -05:00
Jason Orendorff
c956dc68f2 Bug 883333, part 14 - Move try statement parse node creation into the ParseHandler protocol. r=Waldo.
--HG--
extra : rebase_source : 073de5e62343593de0acd619900a62b20a870d67
2013-06-21 08:18:00 -05:00
Jason Orendorff
456f893ee0 Bug 883333, part 13 - Squeeze out some whitespace. r=Waldo.
--HG--
extra : rebase_source : db2125c3c3b8b390b4b6f6fb7b768145a14aa118
2013-06-21 08:18:00 -05:00
Jason Orendorff
374f38d247 Bug 883333, part 12 - Factor block parsing out of Parser::statement. r=Waldo.
--HG--
extra : rebase_source : 1af9d3df561cb5d9bc2c16c77451d070f48bccf4
2013-06-21 08:18:00 -05:00
Jason Orendorff
fa864c46d4 Bug 883333, part 11 - Refactor debugger statement parsing. r=Waldo.
--HG--
extra : rebase_source : f39ad2d7cadc43d2706556933fdc5311bd262bb2
2013-06-21 08:18:00 -05:00
Jason Orendorff
af64d4e5e6 Bug 883333, part 10 - Refactor throw statement parsing. r=Waldo.
--HG--
extra : rebase_source : 0ace9a0daabe0df4151dcf2a0ade7890aee6a4c1
2013-06-21 08:18:00 -05:00
Jason Orendorff
59542ee76e Bug 883333, part 9 - Refactor with statement parsing. r=Waldo.
--HG--
extra : rebase_source : 1c4235922067f39dc8bce42099a1f330e7b444ab
2013-06-21 08:17:59 -05:00
Jason Orendorff
a1a1d9ddb9 Bug 883333, part 8 - Refactor return statement parsing. r=Waldo.
--HG--
extra : rebase_source : 16d37a715e01e732126d303c3ef2cfb84f7c1ad3
2013-06-21 08:17:59 -05:00
Jason Orendorff
0a0a0156eb Bug 883333, part 7 - Refactor break and continue statement parsing. r=Waldo.
--HG--
extra : rebase_source : ec0914d23d10e5818fe1700e495c6c7e100ec72a
2013-06-21 08:17:59 -05:00
Jason Orendorff
5388c5e474 Bug 883333, part 6 - Further forStatement cleanup. r=Waldo.
--HG--
extra : rebase_source : 214f8fd2cb253e66462d5fd66dd86353acfdc94f
2013-06-21 08:17:59 -05:00
Jason Orendorff
0915f2654c Bug 883333, part 5 - Refactor for-loop and switch statement parsing. r=Waldo.
--HG--
extra : rebase_source : dac8df05c474a7894ca90e7839feb92a030508da
2013-06-21 08:17:58 -05:00
Jason Orendorff
1f19a49a2c Bug 883333, part 4 - Refactor while and do-while statement parsing. r=Waldo.
--HG--
extra : rebase_source : 26dd5b2425fdc9216c47d679877490f8d1432bd4
2013-06-21 08:17:58 -05:00
Jason Orendorff
077827bae9 Bug 883333, part 3 - Refactor if statement parsing. r=Waldo.
--HG--
extra : rebase_source : 05270363351db33936c9d25675ce4903f3a0b5bd
2013-06-21 08:17:58 -05:00
Jason Orendorff
4cbd09e34a Bug 883333, part 2 - Rearrange statement parsers to the order they appear in the ES6 draft. r=Waldo.
--HG--
extra : rebase_source : cb0f15ae7d085a95879e26a52102ac1d1ed16c60
2013-06-21 08:17:58 -05:00
Jason Orendorff
7490bc54ce Bug 883333, part 1 - Add ParseHandler protocol methods for EmptyStatement, ExpressionStatement, ReturnStatement, and ThrowStatement. r=Waldo.
The changes to ExpressionStatement cause the position information on expression statements to include the semicolon, if any, which made a slight change to FullParseHandler::isStringExprStatement necessary.

Change Parser::letBlock(LetStatement) to parse a full statement, even if it turns out to be an ExpressionStatement where the expression is a LetExpression, rather than a 'let (V) STMT' block statement.

Remove remaining traces of TOK_LEXICALSCOPE -- there was never any such token.

--HG--
extra : rebase_source : 16c0f6aaafd4b9c51bf7221da79fe74affe5b464
2013-06-21 08:17:57 -05:00
Jason Orendorff
c2d8ad001e Bug 852762 - Arrow functions are not automatically strict. Also fixes bug 885067. r=ejpbruel.
--HG--
extra : rebase_source : efecf75eaa57839d9096b9da307784e7b2e16e31
2013-06-21 08:17:49 -05:00
Jan Varga
24f8419a8f Bug 884936 - Add Blob/File support to xpcshell. r=bent 2013-06-21 17:15:46 +02:00
Jan de Mooij
f957967378 Bug 881902 - Remove ContextStack and StackSpace. r=luke,njn 2013-06-21 08:28:06 +02:00
Dan Gohman
e42e2243a2 Bug 885176 - Use Vector's bulk-append methods instead of appending one element at a time. r=nbp 2013-06-21 06:30:59 -07:00
Jon Coppeard
10c14d16be Bug 885310 - 3 Rename JSHandleFoo in js/src r=evilpie 2013-06-21 14:12:46 +01:00
Jon Coppeard
cdf1583b6e Bug 885310 - 2 Rename JSHandleFoo in js directory r=bholley 2013-06-21 14:12:46 +01:00
Jon Coppeard
7399e7b533 Bug 885315 - GC: Add some documentation comments for JS::Heap<T> r=sfink 2013-06-21 14:12:45 +01:00
Nicholas Nethercote
e73cf8a6f6 Bug 880041 (part 22) - Use JSObject::{is,as} for JSFunction. r=sfink.
--HG--
extra : rebase_source : 43c8c65c7d00edffde12c5b1ec8a1aff42acc7fe
2013-06-17 23:53:49 -07:00
Nicholas Nethercote
79d447002d Bug 880041 (part 21) - Use JSObject::{is,as} for GlobalObject. r=sfink.
--HG--
extra : rebase_source : 676539d76be0aee1c5450aacefed27a4f45efc81
2013-06-17 16:23:11 -07:00
Nicholas Nethercote
377234dc90 Bug 880041 (part 20) - Use JSObject::{is,as} for {Map,Set}Object. r=sfink.
--HG--
extra : rebase_source : d5ba2f1cce67ac72bb3cd1c036b93fa3694745a7
2013-06-17 03:20:59 -07:00
Shu-yu Guo
589e27d0d3 Bug 875661 - Mark tests/auto-regress/bug732719.js as slow. (r=orange) 2013-06-20 21:15:38 -07:00
Till Schneidereit
73492311c7 Bug 885300 - don't inline js::ToAtom. r=nnethercote
--HG--
extra : rebase_source : c37bc721e71402afb9a479bb2acc2c8b4b45e58b
2013-06-21 02:59:39 +02:00
Bill McCloskey
92baec2902 Bug 871005 - Add a pref for GC decommit threshold (r=gregor) 2013-06-20 18:06:53 -07:00
Shu-yu Guo
24524bdb50 Bug 875661 - Followup: fix ggc bustage. (r=terrence) 2013-06-20 17:39:24 -07:00
Brian Hackett
7e8efbbfda Bug 885522 - Move function heavyweight info to JSScript, r=luke. 2013-06-20 18:37:45 -06:00
Terrence Cole
4c8d4c188d No Bug - Fix a generational GC build error on OSX 64bit; r=dvander
--HG--
extra : rebase_source : 8568430fc88c56a2f450f10436b6b3d86bc22c9e
2013-06-20 16:53:41 -07:00
Shu-yu Guo
33b80749d7 Bug 875661 - Part 3: Add asserts to thread unsafe getters. (r=billm) 2013-06-20 16:40:53 -07:00
Shu-yu Guo
5c0e9a1a57 Bug 875661 - Part 2: Make NewGCThing inlines take ThreadSafeContext. (r=billm) 2013-06-20 16:40:53 -07:00
Shu-yu Guo
cf1a6ebfee Bug 875661 - Part 1: Refactor a thread-safe context out of ForkJoinSlice and JSContext. (r=billm) 2013-06-20 16:40:53 -07:00
Nicholas Nethercote
4da45ae5b1 Bug 885214 - Fix a used-but-not-defined warning in IonMonkey. r=h4writer. 2013-06-19 22:32:53 -07:00
Terrence Cole
d76cad8c49 Backout ac48416672e7 for unexpected SM(r) failures.
Even if the there is a CLOSED TREE by the time I push.

--HG--
extra : rebase_source : b6ccfb766566415e50f1f48c6c738ed72f86babf
2013-06-20 16:17:37 -07:00
Terrence Cole
832e7e8a2d Bug 848592 - Fix some dynamic rooting analysis failures; r=sfink 2013-06-14 13:48:39 -07:00
Shu-yu Guo
7fe8540ff0 Bug 844882 - Part 5: jit-tests for self-hosted classes. (r=nmatsakis) 2013-06-20 14:19:05 -07:00
Terrence Cole
019e82b32c Bug 883472 - Keep pre-barrier state from interfering with minor collection; r=billm 2013-06-20 12:09:33 -07:00
Gary Kwong
d5f9a01a60 Bug 885502 - JavaScript JS_MORE_DETERMINISTIC builds are busted (again). r=sfink 2013-06-20 13:31:06 -07:00
Joey Armstrong
1156439ca4 bug 880246: move EXTRA_PP_COMPONENTS to mozbuild (cleanup). r=mshal 2013-06-20 15:59:59 -04:00
Till Schneidereit
6b44b82850 Bug 885361 - Add shell option to hide functions that are unsafe for fuzzers. r=terrence 2013-06-20 17:39:10 +02:00
Dan Gohman
473a684cab Bug 885180 - Fix isLoopBackedge to work even when critical edges are not split, and tighten up some related assertions. r=bhackett 2013-06-20 12:28:55 -07:00
Brian Hackett
7224018015 Bug 884194 - Update fun->isHeavyweight() when replacing a lazy script with a preexisting script, r=luke. 2013-06-20 13:24:44 -06:00
Brian Hackett
0fe915216b Bug 884254 - Don't update observed type sets when analyzeTypes is called during compilation, r=jandem. 2013-06-20 13:01:49 -06:00
Dan Gohman
6e443a5bab Bug 885175 - DoubleHasher<double> fixes -- use a bitwise comparison to avoid considering zero and negative zero equal. r=luke 2013-06-20 11:55:41 -07:00
Dan Gohman
7b7e834fc1 Bug 885182 - Align IonScript member data on 8-byte boundaries on 64-bit targets, to avoid misaligned memory references. r=mjrosenb 2013-06-20 11:17:36 -07:00
Bobby Holley
f4d6dd0970 Bug 883450 - Assert that we're in a request whenever we create a Rooted<T>. r=terrence 2013-06-20 11:05:34 -07:00
Bobby Holley
7a9309f7be Bug 883450 - Miscellaneous requests. r=gabor 2013-06-20 11:05:34 -07:00
Bobby Holley
b997cd8dc3 Bug 883450 - Remove custom request munging in XPCCallContext and use a JSAutoRequest. r=gabor 2013-06-20 11:05:34 -07:00
Bobby Holley
b3a2a6fb80 Bug 883450 - Unscope the JSAutoRequest in XPCJSContextStack. r=gabor 2013-06-20 11:05:33 -07:00
Bobby Holley
f3f2e9af1f Bug 883450 - MOZ_CRASH if we fail to spin up the SafeJSContext, and remove error handling. r=gabor
There's not a lot we can do without it in the browser these days.
2013-06-20 11:05:33 -07:00
Bobby Holley
b214e9065e Bug 884245 - Simplify nsContentUtils::GetDocumentFromCaller. r=bz
The first three lines of this function are an obvious bug. But the behavior in
general is also worrisome, because it's using antiquated XPConnect machinery
that will be less and less correct as we move to the new DOM bindings. Let's
just infer our global from the active compartment.
2013-06-20 11:05:32 -07:00
Hannes Verschore
11bb914377 Bug 884310 - IonMonkey: Inline function called from .call(), r=jandem 2013-06-20 18:11:25 +02:00
Kannan Vijayan
0d942d2c5e Bug 885112 - MFunctionEnvironment should be movable and alias nothing. r=h4writer 2013-06-20 11:18:39 -04:00
Hannes Verschore
2a9119a0a0 Bug 883686: IonBuilder: Clean up the block upon removal, r=sstangl 2013-06-20 16:32:02 +02:00
Olli Pettay
75377b423a Bug 884296 - Remove the rest of the classinfos for DOM events, r=peterv
--HG--
extra : rebase_source : 9b397e2e19e8e15d2753dc5bf7c18e2b3147f92b
2013-06-20 17:13:52 +03:00
Ed Morley
cf5b96d1e9 Merge mozilla-central and inbound 2013-06-20 09:20:10 +01:00
Ed Morley
4e0a681101 Merge latest green birch changeset and mozilla-central 2013-06-20 09:01:19 +01:00
Gregor Wagner
944367b7e8 Bug 885025 - B2G: Add missing request in mozJSComponentLoader::UnloadModules. r=khuey 2013-06-19 21:09:48 -04:00
Brian O'Keefe
ed17339221 Bug 875934 - Move LIBRARY_NAME to moz.build (batch #1); r=mshal
--HG--
extra : rebase_source : 385d3fd65475ffc18ee44ae088753649470e214b
2013-06-17 15:21:01 -04:00
Ehsan Akhgari
5f2d36dc55 Bug 882779 - Do not attempt to run the LLVM PR8927 test when building with Clang on Windows; r=ted
This is needed for now because of the following LLVM bug:
http://llvm.org/bugs/show_bug.cgi?id=16319
2013-06-19 21:34:40 -04:00
Nicholas Nethercote
dd77e06b17 Bug 884124 (part 3) - Add a GeneratorObject class. r=jwalden.
--HG--
extra : rebase_source : 2d35912a8653c235c704d09f15d34f0867f24fde
2013-06-18 20:03:31 -07:00
Nicholas Nethercote
c9511fe2a7 Bug 884124 (part 2) - Add a StopIterationObject class. r=jwalden.
--HG--
extra : rebase_source : c3ea0d095ad651b6aa1bb565f1d4ec65654660bd
2013-06-18 19:56:19 -07:00
Nicholas Nethercote
77b537409e Bug 884124 (part 1) - Add a WeakMapObject class. r=jwalden.
--HG--
extra : rebase_source : e58139654185ee06ea150e33938e59623f03379f
2013-06-18 19:54:36 -07:00
Shu-yu Guo
7c6165ac60 Bug 844882 - Part 4: Ion inlining for self-hosted classes. (r=jandem) 2013-06-19 17:33:14 -07:00
Shu-yu Guo
5294885021 Bug 844882 - Part 3: Add self-hosted classes (general encapsulation mechanism from entirely within self-hosted code). (r=till) 2013-06-19 17:33:14 -07:00
Shu-yu Guo
a20544ad06 Bug 844882 - Part 2: Ion inlining for reserved slot intrinsics. (r=jandem) 2013-06-19 17:33:14 -07:00
Shu-yu Guo
94df129c44 Bug 844882 - Part 1: Intrinsics to set/get reserved slots. (r=till) 2013-06-19 17:33:13 -07:00
Gary Kwong
cde342ec4f Bug 885103 - Do not display total compilation time when asm.js is successfully compiled, in a --enable-more-deterministic shell. r=luke 2013-06-19 17:18:48 -07:00
Nicholas Nethercote
909edfe732 Bug 880041 (part 19) - Use JSObject::{is,as} for {Boolean,Number,String}Object. r=evilpies.
--HG--
extra : rebase_source : fa2594ae2ff16ec64f949191d014cfb844e30c3b
2013-06-17 03:18:55 -07:00
Nicholas Nethercote
d7c4143cc0 Bug 880041 (part 18) - Use JSObject::{is,as} for {,Debug}ScopeObject. r=luke.
--HG--
extra : rebase_source : f89710389cfe2761621a4fcc3c90dae8ca044eb8
2013-06-16 22:30:58 -07:00
Nicholas Nethercote
a273ea9b28 Bug 880041 (part 17) - Use JSObject::{is,as} for {Cloned,Static}BlockObject. r=luke.
--HG--
extra : rebase_source : b8894f71137bfce1c44281e4885a3b2bdccff38d
2013-06-16 22:30:15 -07:00
Nicholas Nethercote
3b243b4e32 Bug 880041 (part 16) - Use JSObject::{is,as} for WithObject. r=luke.
--HG--
extra : rebase_source : 02299e442ce3989551c8d3dc3b96019a3e6c47fc
2013-06-16 19:59:58 -07:00
Nicholas Nethercote
ba4933250d Bug 880041 (part 15) - Use JSObject::{is,as} for NestedScopeObject. r=evilpies.
--HG--
extra : rebase_source : eea20690f12a0ce509ac894536da427c4e5a6468
2013-06-16 19:51:43 -07:00
L. David Baron
c906c85901 Fix XPC_DUMP_AT_SHUTDOWN bustage from Bug 882162 Part 1 (changeset efb0b493cc21). 2013-06-19 16:55:06 -07:00
Gary Kwong
e13d93d28b Backout 29e698ae2b5c for causing orange in a CLOSED TREE. 2013-06-19 14:34:31 -07:00
Ehsan Akhgari
a11f190852 Bug 882770 - Do not use the MSVC driver commands for clang on Windows; r=ted 2013-06-13 13:11:40 -04:00
Kyle Huey
c696ced296 Bug 882893: Move observer notifications out of the cycle collector and into the runtime. r=smaug 2013-06-19 14:06:50 -07:00
Terrence Cole
b894569092 Bug 884410 - Remove JS_EnumerateResolvedStandardClasses; r=Waldo sr=luke
--HG--
extra : rebase_source : c50f54701f2a76a08d91845199b6694670a4e14d
2013-06-13 17:10:01 -07:00
Terrence Cole
3234462fbc Bug 884410 - Handlify the JS_EnumerateStandardClasses interface; r=jonco
--HG--
extra : rebase_source : b111de82bde762c2d34897bd7e65c55cd239e0df
2013-06-13 17:10:00 -07:00
Terrence Cole
066e7ee97b Bug 884410 - Handlify the JS_ResolveStandardClass interface; r=jonco
--HG--
extra : rebase_source : 3ba45931aad97fb7cbca517ae9bccb974d42e57a
2013-06-13 17:10:00 -07:00
Terrence Cole
075d331390 Bug 884410 - Handlify the JS_TransplantObject interfaces; r=jonco
--HG--
extra : rebase_source : f1c2adc7380e5806ce6b4fce5bb41f9400b9e1b1
2013-06-13 17:09:55 -07:00
Ehsan Akhgari
58586425f5 Bug 752034 - Use the Windows SDK when building with Clang on Windows; r=ted 2013-06-13 13:09:22 -04:00
Ehsan Akhgari
178e23b597 Bug 882766 - Recognize clang even when it doesn't #define __GNUC__; r=ted
Clang on Windows #defines _MSC_VER but not __GNUC__, so we need to make sure
that the build system can recognize it even when __GNUC__ is not defined.
2013-06-13 13:03:13 -04:00
Nicolas B. Pierron
12b286ea5c Bug 871848 - Save volatile registers before inlined calls followed by a bailout. r=bhackett 2013-06-19 13:43:36 -07:00
Boris Zbarsky
9c26ede3fe Bug 883887. Add an Unlink method to js::ExpandoAndGeneration. r=peterv 2013-06-19 14:48:44 -04:00
Boris Zbarsky
919f238e96 Bug 884401. Remove the hasXPConnectImpls annotations for HTMLElement, Element, and Node in WebIDL bindings, since all those are gone. r=peterv 2013-06-19 14:48:43 -04:00
Kannan Vijayan
594592ae3a Bug 883789 - Use baseline fallback stubs to track double-overflow of BinaryArith and UnaryArith ops. r=h4writer 2013-06-19 14:29:43 -04:00
Terrence Cole
feaae9c23d Bug 884934 - Fix intermittent SM(r) failure on InitialShapeTable::Ptr; r=sfink
In EmptyShape::getInitialShape, the InitialShapeSet::AddPtr is not guarded and
will get poisoned by the analysis if the hash happens to look like a GC thing
pointer.

--HG--
extra : rebase_source : a831c92b4f9aabe631f5bea3d9d6efb4375170a8
2013-06-19 11:09:36 -07:00
Terrence Cole
ea547b000f Bug 884628 - Optimize the post-barrier verifier; r=jonco
--HG--
extra : rebase_source : 2390400416c85daecd34d1456ebf737dd2308128
2013-06-17 13:16:29 -07:00
Jan de Mooij
dcbc923ccb Bug 882111 - Don't push an interpreter frame when calling into the JITs. r=djvj 2013-06-19 19:10:04 +02:00
Kannan Vijayan
e0125f394d Backed out changeset 9f852d187722 (bug 883789) 2013-06-19 13:09:45 -04:00
Kannan Vijayan
041c675cc7 Bug 883789 - Use baseline fallback stubs to track double-overflow of BinaryArith and UnaryArith ops. r=h4writer 2013-06-19 12:45:29 -04:00
Terrence Cole
d9a041bb52 Bug 884562 - Allow root analysis to be enabled when using generational GC; r=sfink DONTBUILD
--HG--
extra : rebase_source : 6438eec44aa7de79bf78c8f84fb4b971e1e83296
2013-06-19 09:20:46 -07:00
Terrence Cole
ceeacb98aa Bug 884065 - Assert if JS_DestroyContext is called with active exact rooters; r=sfink
--HG--
extra : rebase_source : 52f7c9f90075b69f3c40bf7c7e9df0e1b2e25c05
2013-06-17 16:20:25 -07:00
Kannan Vijayan
b4cba978ce Bug 877589 - Add test case. DONTBUILD 2013-06-19 12:06:43 -04:00
Kannan Vijayan
159cf5224e Bug 870034 - Test case. 2013-06-19 11:33:38 -04:00
Ed Morley
cf95c992a5 Merge mozilla-central and inbound 2013-06-19 15:51:08 +01:00
Ed Morley
cb9102a02c Merge latest green birch changeset and mozilla-central 2013-06-19 15:29:37 +01:00
Makoto Kato
e3c05defa4 Bug 880590 - Remove _WIN64 define by configure. r=ted 2013-06-19 15:12:06 +09:00
Andrea Marchesini
cac6aa669b Bug 841442 - Move HTMLFormElement to WebIDL, r=bz 2013-06-19 10:24:37 -04:00
Andrea Marchesini
dc9752fc49 Bug 841442 - Rename nsHTMLFormElement to HTMLFormElement
--HG--
rename : content/html/content/src/nsHTMLFormElement.cpp => content/html/content/src/HTMLFormElement.cpp
rename : content/html/content/src/nsHTMLFormElement.h => content/html/content/src/HTMLFormElement.h
2013-06-19 10:24:37 -04:00
Joey Armstrong
c1077b8b98 bug 872087: mozbuild HOST_LIBRARY_NAME conversion cleanup. r=gps 2013-06-19 09:19:25 -04:00
Hannes Verschore
e24642b5d6 Bug 884298: IonMonkey: Allow inlining of functions containing JSOP_FUNCALL, r=jandem 2013-06-19 15:06:05 +02:00
Nicholas Nethercote
67b405f978 Bug 634839 (part 2b) - Remove more unnecessary headers (as found by include-what-you-use) from SpiderMonkey. r=jorendorff.
--HG--
extra : rebase_source : 5d6a4d653160a9c4a9645b14bebbcfab71b50ef4
2013-06-12 22:20:27 -07:00
Nicholas Nethercote
2e99879c12 Bug 634839 (part 2a) - Remove unnecessary headers (as found by include-what-you-use) from jsapi.h. r=jorendorff.
--HG--
extra : rebase_source : 97759f6ed55447d66987b894b215ab1e4815b3c3
2013-06-18 18:12:12 -07:00
Nicholas Nethercote
3860143bb5 Bug 883688 - Fix uninitialized |gotLambda| in ion/IonBuilder.cpp. r=djvj.
--HG--
extra : rebase_source : 0b5bd244c2b3b34934ca6794509d00740dd4acdd
2013-06-18 17:08:13 -07:00
Ryan VanderMeulen
25e0a03758 Backed out changeset 2f6babcfa00e (bug 882468) for JS crashes. 2013-06-18 19:50:20 -04:00
Till Schneidereit
ee2cf40a62 Bug 882468 - Simplify BooleanGetPrimitiveValue. r=jwalden
--HG--
extra : rebase_source : 0cda3f7ea8a717b3b7207e6b9f9aae0c369c3fb0
2013-06-18 23:51:47 +02:00
Ryan VanderMeulen
6e172126b6 Merge cypress and inbound. 2013-06-18 18:15:53 -04:00
Kyle Huey
48d0d710c8 Bug 882162: Part 11 - Push the final uses of mJSHolders down into mozilla::CycleCollectedJSRuntime and make it private. r=mccr8 2013-06-18 12:02:16 -07:00
Kyle Huey
b2eb672ede Bug 882162: Part 10 - Add a hook for tracing black JS and update the big comment to more accurately describe how this works. r=mccr8 2013-06-18 12:02:16 -07:00
Kyle Huey
1b8071cf87 Bug 882162: Part 9 - Kill nsCycleCollectionJSRuntime. r=mccr8 2013-06-18 12:02:16 -07:00
Kyle Huey
67e8082658 Bug 882162: Part 8 - Move the rest of nsCycleCollectionJSRuntime's implementation into mozilla::CycleCollectedJSRuntime. r=mccr8 2013-06-18 12:02:16 -07:00