Commit Graph

26891 Commits

Author SHA1 Message Date
Nicholas D. Matsakis
818d3e7044 Bug 856246 - Adjust filter-very-few to adapt to varying input sizes. rs=tests 2013-06-12 11:10:23 -04:00
Nicholas D. Matsakis
48cca5ad3e Bug 880640 - In the transitive compilation loop, monitor use counts and
wait for scripts to either stop being called or to be baseline-compiled
before we attempt par ion compilation. r=djvj
2013-06-07 06:29:26 -04:00
Nicholas D. Matsakis
5cf557e6a9 Bug 856246 - Update test suite to consistently use minItemsTestingThreshold and other abstractions r=till 2013-06-07 06:32:17 -04:00
Kannan Vijayan
b0cefd1489 Bug 875720 - Use baseline to identify arithmetic ops with double specialization instead of looking at TI overflow flag. r=jandem 2013-06-12 10:48:05 -04:00
Andrea Marchesini
0abf71d713 Bug 856410 - Implement futures - Part 2: Future.then() and Future.catch(). r=mounir, r=bz, r=smaug 2013-06-11 21:41:22 -04:00
Ed Morley
aa048e78a3 Merge mozilla-central and inbound 2013-06-12 08:41:06 +01:00
Ms2ger
43b0a494b4 Bug 881358 - Kill build warnings in XPConnect; r=bholley 2013-06-12 09:00:09 +02:00
Kannan Vijayan
574eaaff65 Bug 859609 - Inline functions that use the scope chain, and also inline call sites with monomorphic cloned lambdas. r=h4writer 2013-06-11 15:49:51 -04:00
Ryan VanderMeulen
79cab24538 Backed out changeset 1df122edcf0d (bug 823978) for bustage (again).
CLOSED TREE (again)
2013-06-11 15:27:46 -04:00
Benjamin Peterson
ad3fb45421 Bug 823978 - Rename JSOPTION_STRICT to JSOPTION_EXTRA_WARNINGS. r=Waldo
--HG--
extra : rebase_source : 1396c8ec5bd99ab35343cfff2b87d22955671243
2013-06-11 11:30:18 -07:00
Phil Ringnalda
10c5964711 Back out 2ccb9ec11a9f:d27ecea31590 (bug 856410) for b2g mochitest-3 failures
CLOSED TREE
2013-06-11 21:24:56 -07:00
Dan Gohman
1f7d9a8c4d Bug 881382 - Cleanup some ARM code to be more consistent with the corresponding x86 code. r=mjrosenb 2013-06-11 18:50:27 -07:00
Andrea Marchesini
cb935c984c Bug 856410 - Implement futures - Part 2: Future.then() and Future.catch(). r=mounir, r=bz, r=smaug 2013-06-11 21:41:22 -04:00
Ryan VanderMeulen
911f19ec09 Backed out changeset 7e69e102a432 (bug 823978) for bustage.
CLOSED TREE
2013-06-11 14:28:17 -04:00
Jan de Mooij
6a7f46d569 Bug 868437 follow-up - Disable MSVC PGO for ScriptFrameIter methods to fix PGO crashes. rs=luke 2013-06-11 20:05:13 +02:00
Benjamin Peterson
bf9614501d Bug 823978 - Rename JSOPTION_STRICT to JSOPTION_EXTRA_WARNINGS. r=Waldo
--HG--
extra : rebase_source : f5c0e9c743dadb0431eacef6b46b6e274264d3aa
2013-06-11 10:55:21 -07:00
Luke Wagner
9e7d6fc156 Bug 881608 - OdinMonkey: handle Type::Unknown when checking call args (r=bbouvier)
--HG--
extra : rebase_source : ca7bed61121e080743f5fc6dd35a7b36e1aa93dd
2013-06-11 09:53:53 -07:00
Dan Gohman
94823d4552 Bug 881409 - Pull the parts of AssertGraphCoherency that can be checked before SplitCriticalEdges out into a separate function and call it before SplitCriticalEdges. r=jandem 2013-06-11 08:55:54 -07:00
Jeff Walden
87327cff09 Bug 798179 - Bustage fix in a CLOSED TREE for another bug's patch that landed after the try run here. r=aargh 2013-06-11 08:57:35 -07:00
Jeff Walden
a63e5feb0f Bug 880591 - Keep length metadata correct for frozen arrays. r=bhackett
--HG--
extra : rebase_source : d2caf062d0f43c438c8cf0e4b407009951dacf36
2013-06-07 16:30:28 -07:00
Jeff Walden
99f84749f1 Bug 798179 - Rewrite ToIntWidth to more simply act upon the actual bits of the IEEE-754 representation. r=froydnj
--HG--
extra : rebase_source : fb2da4e55b258b6b62c1c9449447fccff8c2012d
2013-06-07 13:22:45 -07:00
Jeff Walden
9bfb447d5d Bug 880920 - Simplify some absolute-value-computing code in lexicographic sorts of numeric arrays. r=luke
--HG--
extra : rebase_source : f7b164d212bdf2d94a80064c7d5575ef0cd31e88
2013-06-10 12:13:38 -07:00
Joey Armstrong
a0d9ebd7ba bug 875549: move HOST_CSRCS to mozbuild (file batch #1). r=mshal 2013-06-11 11:31:11 -04:00
Ed Morley
64b2bc1c50 Merge mozilla-central and inbound 2013-06-11 16:24:51 +01:00
Ed Morley
71b7df3bfd Backed out changeset 2864e2610800 (bug 877584) for causing bug 881266 2013-06-11 16:11:14 +01:00
Ed Morley
f5d357a991 Backed out changeset 94fb66d82988 (bug 877584) 2013-06-11 16:10:51 +01:00
Luke Wagner
fb1a2224d7 Backout 841ffd181e14 (Bug 878433) 2013-06-10 17:25:20 -07:00
Luke Wagner
cbf9313358 Bug 878505 - OdinMonkey: store to float array should accept doublish (r=bbouvier)
--HG--
extra : rebase_source : 3f4af584882995a49475903a0c4b87cf2b52d4af
2013-06-10 16:37:18 -07:00
Luke Wagner
6ac4c467d3 Bug 878433 - OdinMonkey: (signed % signed) should be intish, not int (r=bbouvier)
--HG--
extra : rebase_source : c2a1d3a7da1ac3b7dd8507772a8b1cdb33e3415e
2013-06-10 16:23:44 -07:00
Luke Wagner
520329b4ae Bug 878429 - IonMonkey: don't conflate 0 and -0 in IsConstant (r=jandem)
--HG--
extra : rebase_source : d51c8f2984c1346eeb377be9f08546ca3ba57f04
2013-06-10 16:22:57 -07:00
Luke Wagner
085b8e281d Bug 878526 - OdinMonkey: handle 'unknown' type properly for FFI functions with unused results (r=bbouvier)
--HG--
extra : rebase_source : 13c2a08c6c1e1c8b00272a8aa0c5e7e17031e8ca
2013-06-10 16:21:21 -07:00
Dan Gohman
019518045d Bug 881397 - Minor dominator-tree computation cleanups. r=sstangl 2013-06-10 15:48:10 -07:00
Dan Gohman
506c48a283 Bug 881366 - Simplify CheckOverrecursed sequences. r=sstangl 2013-06-10 15:48:10 -07:00
Brian Hackett
6782186cda Bug 881333 - Fix break in GGC builds. 2013-06-10 16:08:55 -06:00
Brian Hackett
59e2a34200 Bug 881333 - Use accessor methods for cx->compartment and cx->runtime, r=luke. 2013-06-10 15:22:18 -06:00
Dan Gohman
9de5fef6a7 Bug 881401 - Use explicit template instantiation. r=bhackett 2013-06-10 14:13:57 -07:00
Dan Gohman
724da5d8ce Bug 881380 - Pull the LDouble class into shared code. r=luke 2013-06-10 14:13:57 -07:00
Dan Gohman
4186cda125 Bug 881372 - Refactor lowerForFPU to be shared between x86 and x64. r=jandem 2013-06-10 14:13:56 -07:00
Shu-yu Guo
a1cfd9438d Bug 879723 - Make sure property types reflect inherited types from the prototype when specializing a setgname. (r=bhackett) 2013-06-10 12:10:13 -07:00
Terrence Cole
d688649660 Bug 880776 - Check verifier nursery inclusion explicity in JIT post barriers; r=bhackett 2013-06-07 13:46:26 -07:00
Kannan Vijayan
4de22d4259 Bug 878992 - Clean up Jaeger related flags. r=jandem 2013-06-10 12:00:30 -04:00
Jan de Mooij
3d1b62c8ea Bug 877378 - Fix shell-only compartment mismatch with evaluate and saveFrameChain. r=luke 2013-06-10 16:43:03 +02:00
Nick Fitzgerald
a26de060a2 Bug 870361 - Change the symbol for source map pragmas from @ to #. r=jorendorff 2013-06-10 08:36:23 -04:00
Jan de Mooij
b59459aecb Bug 876465 - Skip arguments-object slot in InlineFrameIterator::thisObject() and SnapshotIterator::readFrameArgs. r=djvj 2013-06-10 14:00:27 +02:00
Kyle Huey
3329670a4b Bug 877584: Add missing #ifdef DEBUG. r=me 2013-06-09 16:08:19 -07:00
Kyle Huey
756f02ce3d Bug 877584: Route JS holding through the cycle collection runtime so it can do different things on different threads. r=mccr8 2013-06-09 16:02:02 -07:00
Hannes Verschore
eb6bc7661e Bug 880891 - IonMonkey: Only trigger invalidation when decided to inline function, r=djvj 2013-06-09 11:57:59 +02:00
Landry Breuil
21273d6caa Bug 618485: Finally remove uintptr_t word payload union member on 64BE, it grows jsval_layout size and is unused. r=luke 2013-06-08 12:49:10 +02:00
C. Scott Ananian
4026e0ce22 Bug 880807 - OdinMonkey: Fix signature of int multiplication by constant (r=luke)
--HG--
extra : rebase_source : 6b4d2bcb2261c9d466e5ce8098a70212a5b7c78f
2013-06-07 18:33:50 -04:00
Boris Zbarsky
51217ccdd9 Bug 877281 another followup for the Windows bustage. r=jandem pending 2013-06-08 00:06:39 -04:00
Boris Zbarsky
8aa1bc1906 Bug 877281 bustage fix. Deal with the fact that Value has 8-byte alignment. r=jandem 2013-06-07 23:40:35 -04:00
Jason Orendorff
f7e4b064e2 Bug 880575, part 5 - Factor out EvalAndPrint from ReadEvalPrintLoop. Use CompileOptions to eliminate some more manual memory management. Make ReadEvalPrintLoop take both input and output FILEs as arguments instead of using gOutFile. r=jwalden. 2013-06-07 22:25:08 -05:00
Jason Orendorff
f2e4058507 Bug 880575, part 4 - Use a Vector<char> instead of manually allocating the input buffer in ReadEvalPrintLoop. r=jwalden. 2013-06-07 22:25:08 -05:00
Jason Orendorff
7e6ac96fc1 Bug 880575, part 3 - Declare variables at initialization in ReadEvalPrintLoop. r=jwalden. 2013-06-07 22:25:08 -05:00
Jason Orendorff
666830c9de Bug 880575, part 2 - Factor out RunFile() from Process(). r=jwalden. 2013-06-07 22:25:07 -05:00
Jason Orendorff
1a1fb08c55 Bug 880575, part 1 - Factor out ReadEvalPrintLoop() from Process(). r=jwalden. 2013-06-07 22:25:07 -05:00
Boris Zbarsky
f68f0da53c Bug 872669. Slightly speed up our named proxy gets by making use of the inline chars/length getters we can have when our id is an atom. r=waldo,peterv 2013-06-07 22:45:46 -04:00
Boris Zbarsky
aec6c97d07 Bug 877281 part 5. Add a set() method to Rooted. r=terrence 2013-06-07 22:45:45 -04:00
Boris Zbarsky
ec718b51e3 Bug 877281 part 1. Convert WebIDL bindings to using something CallArgs-like. r=peterv,jandem 2013-06-07 22:45:44 -04:00
Bobby Holley
a0507f61d6 Bug 770840 - Add Runtime aborts when using XPCWrappedJS off-main-thread. v2 2013-04-12 15:35:00 -04:00
Bobby Holley
360f1a1f1e Bug 770840 - Remove XPConnect test that explicitly runs JS on a seperate thread. v1 2013-04-12 15:34:00 -04:00
Jan de Mooij
d9e3b5ba11 Bug 868437 - Add a linked list of activations to JSRuntime and rewrite ScriptFrameIter to use it. r=luke 2013-05-27 11:43:15 +02:00
Felix S. Klock II
665c29dba1 Bug 881223: Issue warnings on GC bailouts. r=nmatsakis 2013-06-10 07:40:00 -04:00
Hannes Verschore
33249591c0 Bug 879168 - IonMonkey: Improve the typeset of |this| when inlining a constructing call, r=bhackett 2013-06-11 16:00:54 +02:00
Gabor Krizsanits
08c61f7f29 Bug 877760 - XPConnect always logs an error when a component doesn't implement a method. r=mrbkap 2013-06-11 12:01:33 +02:00
Jan de Mooij
71d79d8cb5 Bug 881410 - Remove some TI code we no longer need without JM. r=bhackett 2013-06-11 10:11:04 +02:00
Hannes Verschore
d1519fbef7 Bug 876607 - Fix accidental switching of lhs/rhs in the code, rs=luke 2013-06-08 00:34:16 +02:00
Benjamin Bouvier
bbad0508b6 Bug 878495 - In shell, print "[native code]" for native functions. r=luke 2013-06-07 10:57:21 -07:00
Benjamin Bouvier
1e5b25ad09 Bug 877965 - Ignore empty statements in var declarations in asm.js mode. r=luke 2013-05-31 16:27:00 -07:00
Benjamin Bouvier
e93e1008b8 Bug 877965 - In asm.js mode, use the last return statement instead of the last statement to find the return type of a function. r=luke 2013-06-07 12:06:53 -07:00
Kannan Vijayan
c3486ad31a Bug 880539 - Fix CodeGenerator::guardTypeSet to handle MagicArgs type. r=bhackett 2013-06-07 15:06:53 -04:00
Terrence Cole
6df78c5573 Bug 880392 - Fix use-after free with exact rooting in XPCShell; r=sfink
--HG--
extra : rebase_source : a509e84b7165b8a40f4a06e006dfc614665eef2c
2013-06-07 11:34:57 -07:00
Ryan VanderMeulen
8716f9c7cb Backed out changeset d6db31e46b02 (bug 878495) for jit-test failures. 2013-06-07 11:16:36 -04:00
Benjamin Bouvier
336f4cf0c6 Bug 878435 - In asmjs mode, compare in uint32 mode only if both operands are unsigned. r=luke 2013-06-06 17:00:08 -07:00
Ryan VanderMeulen
289a9dd76e Backed out changeset aa9a0b34bbd8 (bug 878435) for checktest failures. 2013-06-07 10:43:33 -04:00
Arnaud Sourioux
a5d79837b1 Bug 880089 - Remove unused parameter 'flags' from nsIXPConnect.idl's in setDefaultSecurityManager() methods correctly. r=bholley 2013-06-07 08:40:56 -04:00
Benjamin Bouvier
ba92c1f855 Bug 878495 - In shell, print "[native code]" for native functions. r=luke 2013-06-06 17:57:15 -07:00
Benjamin Bouvier
14d84bf8d6 Bug 878435 - In asmjs mode, compare in uint32 mode only if both operands are unsigned. r=luke 2013-06-06 17:00:08 -07:00
Benjamin Bouvier
4cfb93da4d Bug 877908 - Precludes also directives after "use asm". r=luke 2013-06-06 13:49:13 -07:00
Anand Soni
0981ee2607 Bug 875449 - Rename ListBase to DOMProxy, since these proxies are used for all sorts of objects that aren't in any way like lists. r=djvj 2013-06-07 00:02:26 +05:30
Martin Husemann
aa04b10b63 Bug 870325 - Fix alignment of Bindings on SPARC64. r=nnethercote.
--HG--
extra : rebase_source : d89c154f8b3484079cc7fb4fa656cf8ff72bae8a
2013-06-06 22:03:12 -07:00
Jason Orendorff
a88777a861 Bug 879831, part 7 - Isolate the frontend. Make files outside the frontend include frontend/BytecodeCompiler.h or frontend/SourceNotes.h if possible; those two act as facades and do not include all the rest of the frontend headers. r=njn. 2013-06-06 22:49:17 -05:00
Jason Orendorff
c9e08462b7 Bug 879831, part 6 - Factor out Debugger inlines that depend on other "inlines" headers into vm/Debugger-inl.h. r=njn. 2013-06-06 22:49:03 -05:00
Jason Orendorff
c707c0de2f Bug 879831, part 5 - Factor out js::Probes functions that depend on "inlines" headers into vm/Probes-inl.h. r=njn.
--HG--
rename : js/src/jsprobes.h => js/src/vm/Probes-inl.h
rename : js/src/jsprobes.cpp => js/src/vm/Probes.cpp
2013-06-06 22:48:45 -05:00
Jason Orendorff
d9ab0a4b94 Bug 879831, part 4 - Make vm/String-inl.h not include gc/Barrier-inl.h, breaking an #include cycle. Make vm/Shape-inl.h not #include itself. r=njn. 2013-06-06 22:48:32 -05:00
Jason Orendorff
cdf4226c2f Bug 879831, part 3 - Make jsobjinlines.h not include jsscriptinlines.h, eliminating the #include cycle jsscriptinlines.h -> vm/Shape-inl.h -> jsobjinlines.h -> jsscriptinlines.h. r=njn. 2013-06-04 16:24:43 -05:00
Jason Orendorff
8fa7f5b04d Bug 879831, part 2 - Move JSObject::asModule from Module.h to jsobjinlines.h since it requires another inline function defined in that header. r=njn. 2013-06-06 22:48:00 -05:00
Jason Orendorff
506ffbea73 Bug 879831, part 1 - Uninline JSScript::sourceObject. Same as bug 877444, but actually uninline sourceObject all the way out to a .cpp file. r=njn. 2013-06-06 22:47:40 -05:00
Jason Orendorff
38062bb90b Bug 879831, part 0 - Add defined(JS_ION) guard to more ion headers, to prevent the need for #ifdef JS_ION around #includes in other files. r=njn. 2013-06-06 22:47:23 -05:00
Jason Orendorff
a522114b37 Bug 872717 - Remove PNX_FORINVAR. Its only user, jsreflect.cpp, does not really need the hint. r=luke. 2013-06-06 22:47:23 -05:00
Jason Orendorff
74b1747201 Bug 872720 - Do not bother calling clearParent in Parser::newRegExp. r=Waldo. 2013-06-06 22:47:23 -05:00
Jason Orendorff
436fe74f12 Bug 879817 - Remove unused method Debugger::isDebugWrapper. r=jonco. 2013-06-06 22:47:22 -05:00
Benjamin Bouvier
f1e6fea5c4 Bug 878520: don't clone native asm.js functions; r=luke 2013-06-06 14:48:40 -07:00
Jim Blandy
f5b50e03cb Bug 877444: Remove new 'inline function used but not defined' warnings for ScriptSourceObject-related functions. r=terrence 2013-06-06 14:47:12 -07:00
Jon Coppeard
1c5049851e Bug 878486: Improve sweeping of breakpoints r=terrence 2013-06-06 14:47:12 -07:00
Eddy Bruel
31a698f4b5 Bug 858060 - Throw SyntaxError on module syntax. Fix bogus assertion. r=jorendorff.
--HG--
extra : rebase_source : ea25ab9fa70ff070ab85a5d4187d9b7312817557
2013-06-05 14:17:43 -05:00
Jason Orendorff
6386ad36fa Bug 877639 - Switch some code in frontend/FoldConstants.cpp from getOp() to getKind(). r=jwalden.
--HG--
extra : rebase_source : 97c448dc52660fc0257d81730b1c07eb2b89df40
2013-06-05 14:17:43 -05:00
Sankha Narayan Guria
d0c792512a Bug 875433 - Array.prototype.iterator is the same function object as .values. r=jorendorff.
--HG--
extra : rebase_source : 0b9b93bd796ba2c528b89c377b8aac922631ec98
2013-06-05 14:17:35 -05:00
Sankha Narayan Guria
93726c7d29 Bug 869996 - Implement Set.prototype.{keys, values, entries}. r=jorendorff.
--HG--
extra : rebase_source : 6d978d49d2fb696162b1cef5b643a209a01a4711
2013-06-05 14:17:30 -05:00
Sean Stangl
c9422a7b70 Bug 858586 - Drop temporary MGetPropertyCache reference if native inlining fails. r=h4writer 2013-06-05 17:05:28 -07:00