Commit Graph

27162 Commits

Author SHA1 Message Date
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