Commit Graph

36537 Commits

Author SHA1 Message Date
Ms2ger
b7bef21f7f Bug 884268 - Part b: Move nsContentUtils::PreserveWrapper to nsWrapperCache; r=smaug 2013-06-23 09:15:42 +02:00
Ms2ger
507decd2c6 Bug 884947 - Remove superfluous null check in XPCConvert::NativeInterface2JSObject; r=bholley 2013-06-23 09:14:02 +02:00
Jeff Walden
bf09512675 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
fa3bea4976 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
afc11c4490 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
6b8b3aea9e 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
cb49ec592f 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
c23ef0bb02 Bug 883973 - Disable heavyweight function inlining. r=dvander 2013-06-24 15:14:06 -04:00
Brian Hackett
d474faa826 Bug 884053 - Fix incorrect use of nonLazyScript(), r=luke. 2013-06-24 12:07:58 -06:00
Brian Hackett
76bebabd28 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
35476f3330 Bug 881102 - Fix object metadata jit-test. 2013-06-24 11:18:50 -06:00
Gregory Szorc
fb4ee58c3e Bug 418593 - Cancel GNU make's built-in RCS/% rule; r=khuey 2013-06-24 10:14:12 -07:00
Gregory Szorc
091e4ed082 Bug 885906 - Remove .sh and .pl catch anything implicit rules; r=khuey 2013-06-24 10:13:33 -07:00
Bobby Holley
c50e85f8d8 Bug 885800 - Unwrap CCWs in Cu.isDeadWrapper. r=gabor 2013-06-24 10:02:08 -07:00
Brian Hackett
ae72cd6422 Bug 872331 - Box null inputs to MToDouble when necessary, r=jandem. 2013-06-24 11:01:29 -06:00
Brian Hackett
cda7291f73 Bug 864099 - Deoptimize 'arguments' declaration inside 'with' statements harder, r=luke. 2013-06-24 10:59:15 -06:00
Brian Hackett
f117e1e4b6 Bug 881102 - Propagate exceptions in object metadata callback, r=luke. 2013-06-24 10:55:28 -06:00
Brian Hackett
c11255dff3 Bug 884920 - Remove TokenStream::lastFunctionKeyword, r=luke. 2013-06-24 10:47:11 -06:00
Jan de Mooij
356866d0f4 Bug 885976 - Make ScriptFrameIter::numFrameSlots() a bit more robust. r=luke 2013-06-24 18:44:22 +02:00
Terrence Cole
6638215d2e 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
9a27dbd821 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
a19fe7abc0 No bug: Add testcases, r=tests 2013-06-24 17:50:59 +02:00
Terrence Cole
cd711afb30 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
35caf38deb Bug 884956 - Convert jsmath.cpp to CallArgs; r=Waldo 2013-06-21 18:18:52 -07:00
Luke Wagner
41dd464fdc Fix visibility warning (no bug, r=themaid)
--HG--
extra : rebase_source : 311a6406b1d2739389276589f23548c6fda89c98
2013-06-21 18:09:07 -07:00
Phil Ringnalda
37782d5f54 Back out 1b81a9c88872 (bug 840242) for committing infanticide in Nursery.o 2013-06-21 18:53:24 -07:00
Terrence Cole
21895c51d6 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
de5b5ee9a4 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
edac671d37 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
c8c7f09f04 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
e3e8831709 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
d68e23b9ae 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
9b9d179940 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
ceba430ac2 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
e64c4e8fd7 Bug 883434 - Give TokenPos a real constructor. r=ejpbruel.
--HG--
extra : rebase_source : 4820e91d38810d03dff3c0bddaea104f53e7c12c
2013-06-21 08:18:01 -05:00
Jason Orendorff
c94220111d 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
5df8885b33 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
d033d7075a 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
27931d088d 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
0a53f84be3 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
75aaa9d753 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
abac2332b1 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
c503a17b82 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
816c2594e3 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
8918d2d7a1 Bug 883333, part 6 - Further forStatement cleanup. r=Waldo.
--HG--
extra : rebase_source : 214f8fd2cb253e66462d5fd66dd86353acfdc94f
2013-06-21 08:17:59 -05:00
Jason Orendorff
15e7bad28b 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
52468cf956 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
f41a87c178 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
c5dfd2db32 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
7926f59d90 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
0f41f76fdb 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
5621983a23 Bug 884936 - Add Blob/File support to xpcshell. r=bent 2013-06-21 17:15:46 +02:00
Jan de Mooij
f5b9908a45 Bug 881902 - Remove ContextStack and StackSpace. r=luke,njn 2013-06-21 08:28:06 +02:00
Dan Gohman
d3ec2057cd 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
113f594b32 Bug 885310 - 3 Rename JSHandleFoo in js/src r=evilpie 2013-06-21 14:12:46 +01:00
Jon Coppeard
37b7b92c4c Bug 885310 - 2 Rename JSHandleFoo in js directory r=bholley 2013-06-21 14:12:46 +01:00
Jon Coppeard
4cc78f2b6c Bug 885315 - GC: Add some documentation comments for JS::Heap<T> r=sfink 2013-06-21 14:12:45 +01:00
Nicholas Nethercote
435d36ff71 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
52908a1abe 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
2a6af86ae3 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
09db59bca6 Bug 875661 - Mark tests/auto-regress/bug732719.js as slow. (r=orange) 2013-06-20 21:15:38 -07:00
Till Schneidereit
5ff794e6dc Bug 885300 - don't inline js::ToAtom. r=nnethercote
--HG--
extra : rebase_source : c37bc721e71402afb9a479bb2acc2c8b4b45e58b
2013-06-21 02:59:39 +02:00
Bill McCloskey
2e3db4ed09 Bug 871005 - Add a pref for GC decommit threshold (r=gregor) 2013-06-20 18:06:53 -07:00
Shu-yu Guo
f5335977a3 Bug 875661 - Followup: fix ggc bustage. (r=terrence) 2013-06-20 17:39:24 -07:00
Brian Hackett
5406640bfe Bug 885522 - Move function heavyweight info to JSScript, r=luke. 2013-06-20 18:37:45 -06:00
Terrence Cole
75eff70b5f 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
f451a830ea Bug 875661 - Part 3: Add asserts to thread unsafe getters. (r=billm) 2013-06-20 16:40:53 -07:00
Shu-yu Guo
d87dc09cae Bug 875661 - Part 2: Make NewGCThing inlines take ThreadSafeContext. (r=billm) 2013-06-20 16:40:53 -07:00
Shu-yu Guo
80fa88ebf4 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
639c665176 Bug 885214 - Fix a used-but-not-defined warning in IonMonkey. r=h4writer. 2013-06-19 22:32:53 -07:00
Terrence Cole
70f401359a 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
284b554ae9 Bug 848592 - Fix some dynamic rooting analysis failures; r=sfink 2013-06-14 13:48:39 -07:00
Shu-yu Guo
8d59d0b87b Bug 844882 - Part 5: jit-tests for self-hosted classes. (r=nmatsakis) 2013-06-20 14:19:05 -07:00
Terrence Cole
3b03be7bdb Bug 883472 - Keep pre-barrier state from interfering with minor collection; r=billm 2013-06-20 12:09:33 -07:00
Gary Kwong
e17c3ba51e Bug 885502 - JavaScript JS_MORE_DETERMINISTIC builds are busted (again). r=sfink 2013-06-20 13:31:06 -07:00
Joey Armstrong
177893ac53 bug 880246: move EXTRA_PP_COMPONENTS to mozbuild (cleanup). r=mshal 2013-06-20 15:59:59 -04:00
Till Schneidereit
5751e01df7 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
2963da8a16 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
37047b92c6 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
e057c0b09d 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
6e5e28438e 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
d1e0385056 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
9762bd6b16 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
3b1eda0cea Bug 883450 - Miscellaneous requests. r=gabor 2013-06-20 11:05:34 -07:00
Bobby Holley
5c2e08f101 Bug 883450 - Remove custom request munging in XPCCallContext and use a JSAutoRequest. r=gabor 2013-06-20 11:05:34 -07:00
Bobby Holley
b1e24ff2ea Bug 883450 - Unscope the JSAutoRequest in XPCJSContextStack. r=gabor 2013-06-20 11:05:33 -07:00
Bobby Holley
9aca4442cf 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
32f134148b 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
cf9c1f29d6 Bug 884310 - IonMonkey: Inline function called from .call(), r=jandem 2013-06-20 18:11:25 +02:00
Kannan Vijayan
62a4531eac Bug 885112 - MFunctionEnvironment should be movable and alias nothing. r=h4writer 2013-06-20 11:18:39 -04:00
Hannes Verschore
1e062a292f Bug 883686: IonBuilder: Clean up the block upon removal, r=sstangl 2013-06-20 16:32:02 +02:00
Olli Pettay
62b1a05430 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
0c96062778 Merge mozilla-central and inbound 2013-06-20 09:20:10 +01:00
Ed Morley
867dc5785d Merge latest green birch changeset and mozilla-central 2013-06-20 09:01:19 +01:00
Gregor Wagner
30cb8eaf94 Bug 885025 - B2G: Add missing request in mozJSComponentLoader::UnloadModules. r=khuey 2013-06-19 21:09:48 -04:00
Brian O'Keefe
11bcc1cd9e 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
7ef9d73957 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
548b49488e 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
704013c183 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
f99d675d39 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
9ec088b762 Bug 844882 - Part 4: Ion inlining for self-hosted classes. (r=jandem) 2013-06-19 17:33:14 -07:00
Shu-yu Guo
95a42f9e3e 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
609d799e77 Bug 844882 - Part 2: Ion inlining for reserved slot intrinsics. (r=jandem) 2013-06-19 17:33:14 -07:00
Shu-yu Guo
c7c6c1c984 Bug 844882 - Part 1: Intrinsics to set/get reserved slots. (r=till) 2013-06-19 17:33:13 -07:00
Gary Kwong
b2bd47f849 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
c320e89807 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
0ea6c5d7cf 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
809ec95391 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
d6e7d04f85 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
4d56cc84c8 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
b4254de571 Fix XPC_DUMP_AT_SHUTDOWN bustage from Bug 882162 Part 1 (changeset efb0b493cc21). 2013-06-19 16:55:06 -07:00
Gary Kwong
a5fafca379 Backout 29e698ae2b5c for causing orange in a CLOSED TREE. 2013-06-19 14:34:31 -07:00
Ehsan Akhgari
38e7db2098 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
7d893e1ec2 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
155ae01c43 Bug 884410 - Remove JS_EnumerateResolvedStandardClasses; r=Waldo sr=luke
--HG--
extra : rebase_source : c50f54701f2a76a08d91845199b6694670a4e14d
2013-06-13 17:10:01 -07:00
Terrence Cole
b4bd85ffbe Bug 884410 - Handlify the JS_EnumerateStandardClasses interface; r=jonco
--HG--
extra : rebase_source : b111de82bde762c2d34897bd7e65c55cd239e0df
2013-06-13 17:10:00 -07:00
Terrence Cole
96ea8cfe09 Bug 884410 - Handlify the JS_ResolveStandardClass interface; r=jonco
--HG--
extra : rebase_source : 3ba45931aad97fb7cbca517ae9bccb974d42e57a
2013-06-13 17:10:00 -07:00
Terrence Cole
ecf0e80935 Bug 884410 - Handlify the JS_TransplantObject interfaces; r=jonco
--HG--
extra : rebase_source : f1c2adc7380e5806ce6b4fce5bb41f9400b9e1b1
2013-06-13 17:09:55 -07:00
Ehsan Akhgari
cbc68dece0 Bug 752034 - Use the Windows SDK when building with Clang on Windows; r=ted 2013-06-13 13:09:22 -04:00
Ehsan Akhgari
26880a184c 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
2bd8c307df Bug 871848 - Save volatile registers before inlined calls followed by a bailout. r=bhackett 2013-06-19 13:43:36 -07:00
Boris Zbarsky
b7a0d6e56a Bug 883887. Add an Unlink method to js::ExpandoAndGeneration. r=peterv 2013-06-19 14:48:44 -04:00
Boris Zbarsky
30f5cba73c 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
f85fe7c6ef 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
c26efb7b80 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
e9c735bc46 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
75d3452335 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
d7fb7452b4 Backed out changeset 9f852d187722 (bug 883789) 2013-06-19 13:09:45 -04:00
Kannan Vijayan
428ee83788 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
74452ff20c 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
3f8d6ad74f 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
870a22f5ff Bug 877589 - Add test case. DONTBUILD 2013-06-19 12:06:43 -04:00
Kannan Vijayan
79fca13120 Bug 870034 - Test case. 2013-06-19 11:33:38 -04:00
Ed Morley
43712ddab0 Merge mozilla-central and inbound 2013-06-19 15:51:08 +01:00
Ed Morley
ebe02808bd Merge latest green birch changeset and mozilla-central 2013-06-19 15:29:37 +01:00
Makoto Kato
a759f121af Bug 880590 - Remove _WIN64 define by configure. r=ted 2013-06-19 15:12:06 +09:00
Andrea Marchesini
91c64da847 Bug 841442 - Move HTMLFormElement to WebIDL, r=bz 2013-06-19 10:24:37 -04:00
Andrea Marchesini
3e4e0d931a 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
dbbef415ed bug 872087: mozbuild HOST_LIBRARY_NAME conversion cleanup. r=gps 2013-06-19 09:19:25 -04:00
Hannes Verschore
e692ffdc3c Bug 884298: IonMonkey: Allow inlining of functions containing JSOP_FUNCALL, r=jandem 2013-06-19 15:06:05 +02:00
Nicholas Nethercote
549fd96b30 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
6187668a0d 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
528c883ed0 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
25af8e3754 Backed out changeset 2f6babcfa00e (bug 882468) for JS crashes. 2013-06-18 19:50:20 -04:00
Till Schneidereit
657d3d88f7 Bug 882468 - Simplify BooleanGetPrimitiveValue. r=jwalden
--HG--
extra : rebase_source : 0cda3f7ea8a717b3b7207e6b9f9aae0c369c3fb0
2013-06-18 23:51:47 +02:00
Ryan VanderMeulen
c91554bbca Merge cypress and inbound. 2013-06-18 18:15:53 -04:00
Kyle Huey
319dda0e60 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
e47840a4b5 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
66fb46a26e Bug 882162: Part 9 - Kill nsCycleCollectionJSRuntime. r=mccr8 2013-06-18 12:02:16 -07:00
Kyle Huey
9ad3187e9b Bug 882162: Part 8 - Move the rest of nsCycleCollectionJSRuntime's implementation into mozilla::CycleCollectedJSRuntime. r=mccr8 2013-06-18 12:02:16 -07:00
Kyle Huey
213c4bdde8 Bug 882162: Part 7 - Move tracing of gray roots into mozilla::CycleCollectedJSRuntime. r=mccr8 2013-06-18 12:02:15 -07:00
Kyle Huey
3faff59469 Bug 882162: Part 6 - Move the runtime and zone CC participants into mozilla::CycleCollectedJSRuntime. r=mccr8 2013-06-18 12:02:15 -07:00
Kyle Huey
cbe30a8739 Bug 882162: Part 5 - Move most of nsCycleCollectionJSRuntime's implementation into mozilla::CycleCollectedJSRuntime. r=mccr8 2013-06-18 12:02:15 -07:00
Kyle Huey
09aff7b141 Bug 882162: Part 4 - Push tracing of global objects down into mozilla::CycleCollectedJSRuntime. r=mccr8 2013-06-18 12:02:15 -07:00
Kyle Huey
6459d7b826 Bug 882162: Part 3 - Replace GetJSRuntime() with just Runtime(). r=mccr8 2013-06-18 12:02:15 -07:00
Kyle Huey
fd912ef78f Bug 882162: Part 2 - Begin to push mJSHolders down into mozilla::CycleCollectedJSRuntime. r=mccr8 2013-06-18 12:02:14 -07:00
Kyle Huey
da1a10929b Bug 882162: Part 1 - Create a mozilla::CycleCollectedJSRuntime class. r=mccr8,bholley 2013-06-18 12:02:07 -07:00
Kyle Huey
a57dbb3230 Bug 877584: Route JS holding through the cycle collection runtime so it can do different things on different threads. r=mccr8 2013-06-18 12:01:26 -07:00
Joey Armstrong
ac2232fc29 bug 875549: mozbuild cleanup for HOST_CSRCS. r=gps 2013-06-18 09:10:50 -04:00
Jeff Walden
1fca02e691 Bug 884561 - Update test262 test imports to tip using the script added in bug 496923. r=generating-script-was-reviewed
--HG--
extra : rebase_source : a1f80cabc3669e15ad294d4bd31f26a0e98f7b7e
2013-06-17 18:35:38 -07:00
Jason Orendorff
a2b2d14935 Back out rev 5d35dc039af7 (bug 875433) due to Web compatibility issues (bug 881782, bug 883914). rs=Waldo on IRC. 2013-06-18 15:35:22 -05:00
Luke Wagner
fa4134fee1 Bug 853239 - warn on a statement expression use (r=jorendorff)
--HG--
extra : rebase_source : dcf55a0ac3312f5d8750c9a0ccbdd1968925dbd5
2013-06-18 13:22:58 -07:00
Jan de Mooij
f9c34c1d8f Bug 882323 - Fix LoadTypedArrayElementHole type barrier. r=bhackett 2013-06-18 13:44:06 +02:00
Jan de Mooij
9e92147e10 Bug 883748 - Specialize MUrsh as double if needed. r=bhackett 2013-06-18 13:44:01 +02:00
Jon Coppeard
a30b14261f Bug 877762 - GC: Post-barrier cycle collector participants - 7 Convert most JSObect to use Heap<T> (ex. XBL) r=bz 2013-06-18 11:00:38 +01:00
Jon Coppeard
b028ce34ad Bug 877762 - GC: Post-barrier cycle collector participants - 6 Convert jsid and JS::String to use Heap<T> r=smaug 2013-06-18 11:00:38 +01:00
Jon Coppeard
5b896f6665 Bug 877762 - GC: Post-barrier cycle collector participants - 5 Convert JS::Value to use Heap<T> r=smaug 2013-06-18 11:00:37 +01:00
Jon Coppeard
76fb4b825c Bug 877762 - GC: Post-barrier cycle collector participants - 4 Convert JSScript* to use Heap<T> r=smaug 2013-06-18 11:00:37 +01:00
Jon Coppeard
7295df4d69 Bug 877762 - GC: Post-barrier cycle collector participants - 1 Fixes and updates to JS::Heap<T> r=terrence 2013-06-18 11:00:37 +01:00
Hannes Verschore
115cb86ff1 Bug 880471: IonMonkey: Remove the request for unused temp. variable for x86/arm unboxing, r=jandem 2013-06-18 11:43:34 +02:00
Jan de Mooij
fb8cbdd709 Bug 704356 - Remove the JS property cache. r=njn, sr=luke
--HG--
extra : rebase_source : 67079f154c13fd401388792ec1410adb04157092
2013-06-18 09:16:57 +02:00
Gregory Szorc
f1dc3f5c2d Bug 879809 - Don't export MOZBUILD_BACKEND_CHECKED to independent build systems; r=ted 2013-06-18 12:22:56 -07:00
Olli Pettay
09024c5489 Bug 847611 - Paris bindings for autogenerated events, r=peterv 2013-06-18 21:48:45 +03:00
Nathan Froyd
9243c80784 Bug 874132 - Part 1: Handle SDK layout differences in the Android r22 SDK. r=nalexander
Author:    Nathan Froyd <froydnj@gmail.com>

--HG--
extra : rebase_source : 614b386efc0a2b13c6570c99d09d6ec99146c3e1
2013-06-18 09:25:15 -07:00
Hannes Verschore
ac238c8b06 Bug 883626: Skip looking to inactive Activations, r=luke 2013-06-18 17:53:57 +02:00
Nicholas Nethercote
c82376944c Bug 634839 (part 2) - Remove more unnecessary #includes from SpiderMonkey. r=jorendorff.
--HG--
extra : rebase_source : 32a4ee649fe206ddb966527eb0f6275c076cbea2
2013-06-06 21:35:53 -07:00
Boris Zbarsky
1afac1f438 Bug 883358 part 1. When creating getter/setter functions for the JSPROP_NATIVE_ACCESSORS case in JS_DefineProperties/JS_DefineProperty, give them the name of the property. r=till 2013-06-17 16:31:04 -04:00
Dan Gohman
edcdfc8b7d Bug 883574 - Add const qualifiers to variables and pointers in the JS tree. r=evilpies 2013-06-17 18:31:47 -07:00
Dan Gohman
053882c4b7 Bug 883569 - X86 assembly spew fixes r=sstangl 2013-06-17 14:00:50 -07:00
Terrence Cole
8f4e494194 Bug 883466 - Followup fix for failure on TBPL that does not reproduce locally; r=njn
--HG--
extra : rebase_source : bb2f18dd6acee248070a05998bdc541e7eeedbab
2013-06-17 17:54:55 -07:00
Brian Hackett
86a703d64b Bug 883973 - Try disabling PGO around InlineFrameIteratorMaybeGC::findNextFrame, r=djvj. 2013-06-17 18:51:38 -06:00
Till Schneidereit
49b1ae52e1 Bug 882468 - Simplify BooleanGetPrimitiveValue. r=waldo,evilpie
--HG--
extra : rebase_source : a3fd6b6aed8e214235c139f532d8ba4c50e48c9f
2013-06-13 00:58:21 +02:00
Jon Coppeard
5b6945a3ef Bug 884371 - Remove JSMutableHandleXXX from the js/src directory r=terrence 2013-06-19 11:32:27 +01:00
Jon Coppeard
d61000e77b Bug 884371 - Remove JSMutableHandleXXX from the js directory r=bholley 2013-06-19 11:32:27 +01:00
Jon Coppeard
e2a2d38706 Bug 884283 - GC: Rename RootMethods to GCMethods r=terrence 2013-06-19 11:32:26 +01:00
Jan de Mooij
ced151ecd4 Bug 883171 - Remove JSContext::fp() and JSContext::regs(). r=luke 2013-06-19 11:33:13 +02:00
Terrence Cole
d452b85408 Bug 883466 - Fix build failure in GGC caused by jsobjinlines.h reorganization; r=njn
--HG--
extra : rebase_source : 7fe3ba7e1d7efbd650d6b88f9bc8cea46f8dadac
2013-06-17 11:46:50 -07:00
Ryan VanderMeulen
71c9853712 Backed out 3 changesets (bug 883358) for Android mochitest-3 failures on a CLOSED TREE.
Backed out changeset 84b35dd1879d (bug 883358)
Backed out changeset b5e6522257cb (bug 883358)
Backed out changeset 757a3f2e5de6 (bug 883358)
2013-06-17 19:51:12 -04:00
Hannes Verschore
e86571ca22 Bug 883490: Add annotation to testfile it returns a type error, r=philor 2013-06-17 23:30:37 +02:00
David Zbarsky
815faf1b41 Fix a typo, no bug 2013-06-17 14:28:11 -07:00
Nicholas Nethercote
7ee9d34222 Bug 884649 (part 2) - Remove jsdhash.{h,cpp}. r=luke. 2013-06-19 16:57:11 -07:00
Nicholas Nethercote
cef32afe0b Bug 884649 (part 1) - Used PLDHash instead of JSDHash in xpconnect. r=mccr8.
--HG--
extra : rebase_source : 7a206a6dfba19d8678ef9aee7517b4833c2a4f00
2013-06-19 16:15:21 -07:00
Emanuel Hoogeveen
7be7aa926c Bug 883697 (part 5) - Make include guards consistent in js/src/ion/. r=njn.
--HG--
extra : rebase_source : bdd84890437618d2ce85b4825b1f66d08e824daf
2013-06-19 18:06:37 -07:00
Emanuel Hoogeveen
cac1f891a3 Bug 883697 (part 4b) - Make include guards consistent in js/src/yarr/. r=njn.
--HG--
extra : rebase_source : e0f023d29eabfbb28e614f73d8eabb817d74a11a
2013-06-19 18:06:22 -07:00
Emanuel Hoogeveen
2e6891d3e4 Bug 883697 (part 4a) - Make include guards consistent in still more of js/src/. r=njn.
--HG--
extra : rebase_source : 4095ac207c0468df9bd3975d49edc6848043403b
2013-06-19 18:04:28 -07:00
Emanuel Hoogeveen
c9e34d1860 Bug 883697 (part 3) - Make include guards consistent in some more of js/src/. r=njn.
--HG--
extra : rebase_source : 7103c57165f3ed54d94b4c05837281a35224f706
2013-06-19 18:01:23 -07:00
Emanuel Hoogeveen
92a19ae235 Bug 883697 (part 2) - Make include guards consistent in some of js/src/. r=njn.
--HG--
extra : rebase_source : 86e3e36e1711191a6e8a01bc44f01cffc6b48b96
2013-06-19 17:59:46 -07:00
Emanuel Hoogeveen
e0a70e1fe3 Bug 883697 (part 1) - Make include guards consistent in js/ductwork/, js/ipc/ and js/public/. r=njn.
--HG--
extra : rebase_source : 34f5559ba6e64831905686e12356b70109d873a8
2013-06-19 17:59:09 -07:00
Hannes Verschore
215edf6590 Bug 883490: OdinMonkey: FFI call should look to the return value for ion errors, r=luke 2013-06-17 22:58:21 +02:00
Terrence Cole
e6082d520c Bug 883383 - Fix some more static root analysis failures in SpiderMonkey; r=sfink
--HG--
extra : rebase_source : b43a23b00233c0f53f8506eef300f941093f113d
2013-06-14 14:28:26 -07:00
Boris Zbarsky
0b60b2f776 Bug 883358 part 1. When creating getter/setter functions for the JSPROP_NATIVE_ACCESSORS case in JS_DefineProperties/JS_DefineProperty, give them the name of the property. r=till 2013-06-17 16:31:04 -04:00
Boris Zbarsky
5b3cb06a12 Bug 882653 part 3. Make the "does not implement interface" error reporting better in WebIDL bindings. r=smaug 2013-06-17 13:07:03 -04:00
Brian Hackett
c199407440 Bug 883661 - Fix and document numeric comparator invariants. 2013-06-17 10:51:16 -06:00
Jason Orendorff
5b3dbeeccb Bug 883523 - Regression: 'if(1) /a/.test("a")' causes a SyntaxError after landing bug 872735. r=till. 2013-06-17 11:27:33 -05:00
Brian Hackett
a3616fe0d3 Bug 883661 - Handle lazy functions when doing higher order fast invokes and in numeric comparator pattern matching, r=luke. 2013-06-17 10:14:33 -06:00
Brian Hackett
013389ee23 Bug 883656 - Handle lazy functions in b[a] lambda pattern matching, r=luke. 2013-06-17 10:12:36 -06:00
Dan Gohman
5eb35445eb Bug 883571 - Since label() calls spew, call it once and reuse the result instead of calling it multiple times. r=mrosenberg 2013-06-17 07:41:21 -07:00
Nicholas Nethercote
903105f77c Bug 880041 (part 14) - Use JSObject::{is,as} for DeclEnvObject. r=evilpies.
--HG--
extra : rebase_source : f4b916ae894c1ed1eefe31d82abd459181621f69
2013-06-16 19:02:10 -07:00
Nicholas Nethercote
2404efd7c9 Bug 880041 (part 13) - Use JSObject::{is,as} for CallObject. r=evilpies.
--HG--
extra : rebase_source : 6d7f5171a03d5cd963ac869566b7661bb7ddbc2d
2013-06-16 18:46:36 -07:00
Nicholas Nethercote
dacb418647 Bug 880041 (part 12) - Use JSObject::{is,as} for BlockObject. r=evilpies.
--HG--
extra : rebase_source : c41de9544c966c8859a429a8a0c63875c7d00b71
2013-06-16 18:40:16 -07:00
Nicholas Nethercote
c2e0d1ba4f Bug 880041 (part 11) - Use JSObject::{is,as} for SetIteratorObject. r=evilpies.
--HG--
extra : rebase_source : de562a03da15209322232e0c9f00d1f0c07abbfb
2013-06-16 18:07:08 -07:00
Nicholas Nethercote
a40283b3bc Bug 880041 (part 10) - Use JSObject::{is,as} for ScriptSourceObject. r=evilpies.
--HG--
extra : rebase_source : d55f1fa65735074b96e8006a76939defc5f40379
2013-06-16 18:07:07 -07:00
Nicholas Nethercote
b57ff1695a Bug 880041 (part 9) - Use JSObject::{is,as} for RegExpObject. r=sfink.
--HG--
extra : rebase_source : 083c58e8a82bf7edb2a46e24cae47236af51a2ac
2013-06-16 17:39:43 -07:00
Nicholas Nethercote
6ad8a3fa28 Bug 880041 (part 8) - Use JSObject::{is,as} for PropertyIteratorObject. r=sfink.
--HG--
extra : rebase_source : 07cb730830bc8f61d6c28148c8c1e7e3ee94a6c8
2013-06-16 17:34:45 -07:00
Nicholas Nethercote
38ade04f8d Bug 880041 (part 7) - Remove JSObject::isPrimitive, because it's dead. r=sfink.
--HG--
extra : rebase_source : 1e71fe2261b01b3769ecbb4377f8ef19d3a813da
2013-06-16 17:28:41 -07:00
Nicholas Nethercote
535fd8eebe Bug 880041 (part 6) - Use JSObject::{is,as} for MapIteratorObject. r=sfink.
--HG--
extra : rebase_source : 32577e3ec9c0aebc94dfedd46e7af29d8475c927
2013-06-16 17:27:16 -07:00
Nicholas Nethercote
b7ceec6f60 Bug 880041 (part 5) - Use JSObject::{is,as} for ElementIteratorObject. r=sfink.
--HG--
extra : rebase_source : 0f71366ff461d7c4d021e1d0381dad1b45462342
2013-06-16 17:24:34 -07:00
Nicholas Nethercote
659658f731 Bug 880041 (part 4) - Use JSObject::{is,as} for DataViewObject. r=luke.
--HG--
extra : rebase_source : 07ff2585a6e592d0ae0ec9716556d61165eb6a50
2013-06-16 17:19:53 -07:00
Nicholas Nethercote
03ea5702f9 Bug 880041 (part 3) - Use JSObject::{is,as} for ArrayBufferObject. r=luke.
--HG--
extra : rebase_source : 0c37996aa68c943451a52e819d6c6fb71eb0a7b4
2013-06-16 17:07:35 -07:00
Nicholas Nethercote
f27d4f199a Bug 880041 (part 2) - Use JSObject::{is,as} for {Normal,Strict,}ArgumentsObjects. r=luke.
--HG--
extra : rebase_source : 1648dd8eae1d1fdcc28644b9865960560ba301f8
2013-06-16 17:06:04 -07:00
Jason Orendorff
de3c995fe0 Bug 880041 (part 1) - Introduce JSObject::{is,as} template functions, and use them for ModuleObject. r=nnethercote.
--HG--
extra : rebase_source : 46a475d54d29fd8a20ca3f201368b350b6d69008
2013-06-16 16:47:30 -07:00
Kyle Machulis
8d9cdb4c81 Bug 877859 - Change configure.in for new valgrind include path; r=mwu 2013-06-18 21:26:22 -07:00
Nicholas Nethercote
e3c139cd0f Bug 881579 - Use the canonical #ifndef wrapper form in SpiderMonkey headers so that GCC and clang can avoid including them more than once per compilation unit. r=benjamin.
--HG--
extra : rebase_source : f9d2b33defe07837da4828a57c66fe0ea6772bae
2013-06-16 16:11:24 -07:00
Nicholas Nethercote
e8555b91b5 Bug 883691 - Fix some simple clang warnings in SpiderMonkey. r=bhackett.
--HG--
extra : rebase_source : 168fe0710a42ebf3f90c14ecb12de32305987586
2013-06-16 18:12:35 -07:00
Douglas Crosher
98a01c5b49 Bug 883106 - IonMonkey: avoid emitting zero length perf Jit map entries, r=nmatsakis 2013-06-14 21:03:19 +10:00
Douglas Crosher
d1b9bd138f Bug 883108 - Asm.js: re-enable Ion Spew, r=nmatsakis 2013-06-14 21:16:55 +10:00
Brian Hackett
3444a4cb1a Bug 883562 - Check for lazy functions when bailing out from Ion to Baseline. 2013-06-16 10:37:56 -06:00
Brian Hackett
17af22f50a Bug 883630 - Watch for lazy functions when iterating inline Ion frames, clean up methods for accessing function scripts. 2013-06-16 10:24:45 -06:00
Brian Hackett
0c69b8dfcd Bug 883623 - Check free variables within eval'ed code before restarting processing of top level statements in the eval. 2013-06-16 07:12:20 -06:00
Ryan VanderMeulen
36f9729a1c Merge inbound and m-c. 2013-06-15 21:34:21 -04:00
Ryan VanderMeulen
826c3c1dc4 Bug 809306 - Fix Win64 bustage. 2013-06-14 22:23:21 -04:00
Jason Orendorff
e1a9ad5b62 Bug 881056 - Remove unused hasFunctionStmt parameter from some Parser methods. r=bhackett. 2013-06-14 16:30:40 -05:00
Jason Orendorff
e232f66483 Bug 872735, part 5 - Remove newNullary from the ParseHandler protocol. It is only used for array holes; replace it with a newElision method. Add PNK_ELISION to distinguish elisions from sequence expressions (which use PNK_COMMA). r=Waldo. 2013-06-14 16:30:40 -05:00
Jason Orendorff
0fd058b967 Bug 872735, part 4 - Remove setBinaryRHS from the ParseHandler protocol. It was only used in parsing switch statements. It is replaced by a newCaseOrDefault method. r=Waldo. 2013-06-14 16:30:40 -05:00
Jason Orendorff
dca3ea32f8 Bug 872735, part 3 - Add PNK_LABEL for labeled statement nodes. Remove ForgetUse. r=Waldo. 2013-06-14 16:30:40 -05:00
Jason Orendorff
12bf3bb1a0 Bug 872735, part 2a - Rename ParseNode::noteLValue -> markAsAssigned and add an assertion about pn_op, as requested in review. rs=Waldo. 2013-06-14 16:30:39 -05:00
Jason Orendorff
56565de69b Bug 872735, part 2 - Remove noteLValue from the handler protocol. The main point of this change is to remove the noteLValue method from SyntaxParseHandler, because who knows what that is supposed to mean (anyway it is never called). r=Waldo. 2013-06-14 16:30:39 -05:00
Jason Orendorff
50a0ee9355 Bug 872735, part 1 - Remove isEmptySemicolon from the ParseHandler protocol. It was only used for a warning about "if (foo);". r=Waldo. 2013-06-14 16:30:39 -05:00
Nicholas Nethercote
02a1b0ba64 Bug 880565 (part 2) - Remove unnecessary #includes in jsobjinlines.h. r=benjamin.
--HG--
extra : rebase_source : 0a447cc5ed0f06ce8f01fdce799660f98b2ff780
2013-06-06 17:48:12 -07:00
Nicholas Nethercote
f2854337c3 Bug 880565 (part 1) - Move isFunction() et al from jsobjinlines.h to jsobj.h and minimize the number of files that #include jsobjinlines.h. r=benjamin.
--HG--
extra : rebase_source : f0d6b1b5825e115b33f2d14c0a6ed9c7ee4ef1ca
2013-06-05 19:07:43 -07:00
Vladimir Vukicevic
f4af325139 b=882906; remove EXTRA_DSO_LIBS; r=ted 2013-06-13 22:58:22 -04:00
Tom Schuster
0499d1be43 Bug 867771: Make Debugger.Object.prototype.getClass switch compartments correctly. r=jorendorff 2013-06-14 11:59:27 -07:00
Marty Rosenberg
e0a44c9006 bug 882486: The truncate instruction should saturate to the full range of integers on receiving an out of bounds input (r=h4writer) 2013-06-14 14:25:17 -04:00
Marty Rosenberg
e65aea454e bug 871290: If there someone takes a reference into the instruction stream, then a pool is placed, make sure we step over this pool when trying to patch code. (r=jbramley) 2013-06-14 14:25:16 -04:00
Terrence Cole
5cb801c42a Bug 883234 - Fix GGC oranges caused by lazy parsing; r=bhackett
Lazy parsing allows a new function clone site to flow into scripts. This site
needs to create its functions tenured.

--HG--
extra : rebase_source : fecc7ff5de3994b0fc8eda01c13b8cd9f00d1d52
2013-06-14 11:09:56 -07:00
Trevor Saunders
f31d4e7e40 bug 809306 - fix a bunch of static initializers caused by ion monkey's assembler headers r=dvander 2013-06-07 15:49:03 -04:00
Luke Wagner
41fa141751 Bug 881882 - OdinMonkey: take the percentage back out (it's wrong and misleading with parallel compilation) (r=me)
--HG--
extra : rebase_source : 1bec8d8901fbaeb7929b1ca390cfeeae39ef1b0a
2013-06-14 10:09:18 -07:00
Peter Van der Beken
6ba9bc75ac Bug 851465 - Remove slim wrappers - rename WRAPPER_MULTISLOT. r=bholley. 2013-06-13 16:55:40 +02:00
Brian Hackett
fa2deb6d8d Bug 883524 - Don't assume a non-lazy script when analyzing a 'new' script's properties. 2013-06-15 16:00:04 -06:00
Brian Hackett
b6c65e38fe Bug 883544 - Watch for orphaned lazy scripts when delazifying for debug mode. 2013-06-15 15:57:41 -06:00