Commit Graph

27773 Commits

Author SHA1 Message Date
David Caabeiro
25559b4564 Bug 717379, part 2 - Add JIT support for new ES6 Math functions, except Math.hypot(). r=jorendorff.
--HG--
extra : rebase_source : f92507aa60224c3383968c96cfb29c6ba2ae8105
2013-07-15 10:03:14 -05:00
David Caabeiro
2e97c41aa5 Bug 717379, part 1 - Implement the new ES6 math functions. r=jorendorff.
--HG--
extra : rebase_source : 4383cf6dee7c126cf2067b7ec5a8b695f008764e
2013-07-15 10:03:14 -05:00
Ryan VanderMeulen
b8afdbdee5 Backed out 4 changesets (bug 889911) for Windows bustage.
Backed out changeset 5e55ddfc9dc3 (bug 889911)
Backed out changeset 5e296989dd3d (bug 889911)
Backed out changeset 6e48a408d1de (bug 889911)
Backed out changeset e4ec71ab768f (bug 889911)
2013-07-15 15:28:29 -04:00
Justin Lebar
ff89e05abb Bug 893281 - Don't require a no-args constructor for elements in a JS::Vector if you call GrowByUninitialized(). r=luke 2013-07-15 12:10:59 -07:00
Terrence Cole
5e9764bf43 Bug 892287 - Simplify post barriering of TypedArray's internal pointers; r=sfink
--HG--
extra : rebase_source : ce417f347a577c559847f28aa2ca84d7cb7c2bc1
2013-07-11 15:14:20 -07:00
Terrence Cole
038548f8d0 Bug 892287 - Add re-entrancy guards to store buffer mark/put; r=billm
--HG--
extra : rebase_source : 14396f2bebeb8794c7b22a0eadff9de0a471b31d
2013-07-11 15:00:53 -07:00
Bobby Holley
f7d58acf7f Bug 889911 - Switch xpcshell to SystemErrorReporter with a little bit of special magic. r=mrbkap
XPCShell currently overrides all the JSContexts whose creation it observes with
its own custom error reporter. This reporter does all sorts of funny things which
we try to clean up for the most part. But there are a few very intricate
considerations at play.

First, the old xpcshell error reporter does some mumbo jumbo with the
XPCCallContext stack to try to guess whether some other code might catch the
exception. This is total garbage on a number of fronts, particularly because
the XPCCallContext stack has no concept of saved frame chains, nested event
loops, sandbox boundaries, origin boundaries, or any of the myriad of
complicating factors that determine whether or not an exception will propagate.

So we get rid of it. But this causes some crazy debugger tests to fail, because
they rely on an exception from uriloader/exthandler/nsHandlerService.js getting
squelched, and can't handle anybody reporting errors to the console service at
the particular moment of contortionism when the exception is raised. So we need
to introduce an explicit mechanism to disable the error reporter here to keep
things running.

Second, we have to be very careful about tracking the return status of the
xpcshell binary. The old code would simply flag an error code if the error
handler was invoked, and we can mostly continue to do that. But there are some
complications. See the comments.

Finally, we don't anything analogous in XPCShellEnvironment, because I have
patches in bug 889714 to remove its state-dependence on the error reporter.
I'll switch it to SystemErrorReporter in that bug.
2013-07-15 11:44:51 -07:00
Bobby Holley
773913d40f Bug 889911 - Replace mozJSLoaderErrorReporter with SystemErrorReporter and remove the former. r=mrbkap 2013-07-15 11:44:50 -07:00
Bobby Holley
3b5f53a397 Bug 889911 - Introduce xpc::SystemErrorReporter, roughly based on mozJSComponentLoader's error reporter. r=mrbkap 2013-07-15 11:44:49 -07:00
Marty Rosenberg
8d489d11c1 bug 858940: fix an additional case where we inspect the instruction stream without going through an iterator. r=jbramley 2013-07-15 14:21:46 -04:00
Jan de Mooij
909a15d9ab Bug 866064 - Fix CodeLocationJump/CodeLocationLabel asserts to not use a magic value. r=nbp
--HG--
extra : rebase_source : 972088f94d0b5ab6ae4ae445ca275b3b3275a6b1
2013-07-15 15:45:56 +02:00
Brian Hackett
6f2cac125c Bug 892187 - Fix spurious uses of ExclusiveContext->asJSContext(), r=billm. 2013-07-15 08:12:40 -06:00
Douglas Crosher
7b553da7a9 Bug 893317 - Fix VTune include files. r=njn 2013-07-13 15:23:48 +10:00
Douglas Crosher
12b436dbb6 Bug 893315 - More uses of Move need renaming to mozilla::Move. r=Waldo 2013-07-13 14:15:01 +10:00
Douglas Crosher
3f362aa700 Bug 893314 - More uses of js_AtomToPrintableString need renaming to AtomToPrintableString. r=bhackett 2013-07-13 14:00:53 +10:00
Mike Hommey
82b9fd31cd Bug 850576 - Statically link stlport on b2g and android, and always use a custom built stlport for that. r=ted 2013-07-15 18:48:39 +09:00
David Anderson
0930e61030 Implement CPOW support in MessageManager (bug 870180, r=smaug,billm). 2013-07-10 15:05:39 -07:00
Phil Ringnalda
ce1b2a4951 Back out 757e87bb1c1e:2c2bb15bf160 (bug 884676) for make check failures
CLOSED TREE
2013-07-13 21:59:07 -07:00
Joshua Cranmer
928a085fb3 Bug 884676 - Part 2: Remove JS_ATOMIC_* in favor of mozilla::Atomic, r=Waldo. 2013-07-13 20:07:11 -05:00
Joshua Cranmer
94fcee5284 Bug 884676 - Part 1: Remove unused ThreadPool::submitOne method. r=Waldo 2013-07-13 20:05:11 -05:00
Till Schneidereit
2033581698 Bug 886949 - Add Number.parseInt and Number.parseFloat. r=jwalden 2013-07-13 15:10:46 +02:00
Till Schneidereit
867f3888bb Bug 885798 - Add ES6's Number.EPSILON. r=jwalden 2013-07-13 15:09:32 +02:00
Nicholas Nethercote
47083cc116 Bug 888768 (part 3) - Remove unnecessary *-inl.h #includes, as found by include-what-you-use. r=till.
--HG--
extra : rebase_source : 74b89e7ed7d9279061d88b29fff8e9c50c3a0050
2013-07-11 18:31:01 -07:00
Nicholas Nethercote
27342d58d4 Bug 888768 (part 2) - Remove frontend/SharedContext-inl.h. r=till.
--HG--
extra : rebase_source : d9bb2d56d54eed908a8d9301519866bd417321df
2013-07-11 18:00:17 -07:00
Ryan VanderMeulen
627b09c4b2 Backed out 9 changesets (bug 838146) for suspected B2G Mn orange on a CLOSED TREE.
Backed out changeset 955a14e3c181 (bug 838146)
Backed out changeset fddccc5fce6e (bug 838146)
Backed out changeset 7cddfebc261c (bug 838146)
Backed out changeset fd3a62dd3910 (bug 838146)
Backed out changeset f06b420e0dfa (bug 838146)
Backed out changeset e0c3d84965cf (bug 838146)
Backed out changeset d3b135e58350 (bug 838146)
Backed out changeset 1bc7f2167503 (bug 838146)
Backed out changeset 483fbc6878a8 (bug 838146)
2013-07-12 18:15:10 -04:00
Nicholas D. Matsakis
99c795c8bf Add test for bug 880377 rs=tests 2013-07-12 17:01:43 -04:00
Nicholas Nethercote
7cde5e2c89 Bug 893158 - Tweak store buffer size to avoid overflow in pdfjs. r=terrence.
--HG--
extra : rebase_source : b93412ef09710038d730a78d746ab9df7c69e319
2013-07-11 23:41:27 -07:00
Kannan Vijayan
fd212826fd Bug 892544 - Stub out exception handling code. r=h4writer 2013-07-12 14:14:48 -04:00
Jason Orendorff
81d540d1fe Bug 889599, part 4 - Remove unnecessary JSScript parameter from Parser::standaloneFunctionBody(). r=Waldo. 2013-07-12 12:20:58 -05:00
Jason Orendorff
be55cb7acd Bug 889599, part 3 - Create function parse nodes in the Parser rather than in frontend::CompileFunctionBody. r=Waldo. 2013-07-12 12:20:58 -05:00
Jason Orendorff
62bc8adc2d Bug 889599, part 2 - Remove unnecessary FunctionBox out-parameter from Parser::standaloneFunctionBody. r=Waldo. 2013-07-12 12:20:58 -05:00
Jason Orendorff
b3455fb467 Bug 889599, part 1 - Fix ParseNode.h comment about PNK_FUNCTION nodes. r=Waldo. 2013-07-12 12:20:58 -05:00
Jason Orendorff
257bb24f7c Bug 889584, part 4 - Remove an unnecessary setFunctionBody call. r=Waldo. 2013-07-12 12:20:58 -05:00
Jason Orendorff
0edeb92d28 Bug 889584, part 3 - Un-specialize Parser::expr(). The code was effectively the same in both specializations. r=Waldo. 2013-07-12 12:20:57 -05:00
Jason Orendorff
ca89aaf73c Bug 889584, part 2 - Comment withStatement specialization for syntax-only mode. r=Waldo. 2013-07-12 12:20:57 -05:00
Jason Orendorff
0b9d395c57 Bug 889584, part 1 - Make the switch statement in Parser::statement handle all the cases, and make each case return. r=Waldo. 2013-07-12 12:20:57 -05:00
Nicholas D. Matsakis
7121e3ef8b Bug 880377 - Make UCE abort if some blocks are only reachable from OSR entry point r=bhackett 2013-07-11 12:55:47 -04:00
Boris Zbarsky
25bd1a6122 Bug 838146 part 9. Turn on WebIDL bindings for Navigator. r=smaug 2013-07-12 10:37:23 -04:00
Wei Wu
a1a20e5b48 Bug 892369 - Update the default value of the 'usesBeforeCompile' option in
jsshell's usage. r=bhackett
2013-07-12 09:25:41 -04:00
Benoit Girard
103cc87697 Bug 892861 - Remove useless -D flags 'IMPL_THEBES,_IMPL_NS_GFX,...'. r=glandium 2013-07-12 08:56:54 -04:00
Nicholas D. Matsakis
a8121a0b9e Bug 841621 - Add inline hint for self-hosted code r=dvander 2013-05-31 14:59:38 -04:00
Jan de Mooij
117e2ff371 Bug 892931 - CallKnown should not emit a slow path if callee can't be Ion-compiled but can be Baseline-compiled. r=h4writer 2013-07-12 13:37:27 +02:00
Nicholas Nethercote
bcbe40286a Bug 887558 (part 3) - Use JSObject::{is,as} for JSObject itself. r=sfink.
--HG--
extra : rebase_source : 510677697603e6502c738f5460b7bea4bffd7f27
2013-07-04 00:50:50 -07:00
Nicholas Nethercote
5fc822fbee Bug 887558 (part 2) - Move various functions into ProxyObject and FunctionProxyObject. r=jorendorff.
--HG--
extra : rebase_source : 14402b9ab7eda3389eb1b812ee961e46067b5b1d
2013-06-20 22:39:22 -07:00
Nicholas Nethercote
1d402ae3bc Bug 887558 (part 1) - Introduce ProxyObject and some sub-classes. r=jorendorff.
--HG--
extra : rebase_source : 33ed2aff35acbe4de8891a9fb34c60e7a314d9c8
2013-06-20 21:27:28 -07:00
Dan Gohman
991c8fd154 Bug 891702 - IonMonkey: After ReorderCommutative, constants are always on the right. r=sstangl 2013-07-11 23:32:41 -07:00
Trevor Saunders
238525e2d8 bug 887483 - remove a bunch of useless assignments to FORCE_STATIC_LIB implied by LIBXUL_LIBRARY=1 r=mshal 2013-07-11 11:06:34 -04:00
Gregory Szorc
6cbb690469 Bug 892646 - Remove unsued final-link-{libs,comps,comp-names} files; r=glandium 2013-07-11 19:44:54 -07:00
Benjamin Bouvier
b226e3fc08 Bug 892291: Correctly compute ranges for Math.imul; r=nbp
--HG--
extra : rebase_source : 0b6d8d27bbb01fee911e90fc571f683e175fdbbc
2013-07-11 18:56:28 -07:00
Nicholas Nethercote
3262706d66 Bug 888768 (part 1) - Remove unnecessary js*inlines.h #includes, as found by include-what-you-use. r=bhackett.
--HG--
extra : rebase_source : 255befadc7d1bd1ed0ef1720cb8043db74ce48a8
2013-07-11 15:15:17 -07:00
Mike Hommey
b20f881e7c Bug 892401 - Remove NEW_H. r=ted 2013-07-12 09:16:41 +09:00
Mike Hommey
5377dc0e9d Bug 892361 - Default to gcc 4.7 from the NDK if it's there. r=ted 2013-07-12 09:16:11 +09:00
Mike Hommey
f8d2405fcc Bug 892339 - Fail the build when there are text relocations. r=ted 2013-07-12 09:13:31 +09:00
Brian Hackett
e1af6a5691 Bug 891534 - Use asm.js ops for truncated unsigned div/mod, allow div ops to be marked as truncated, r=jandem. 2013-07-11 17:11:04 -06:00
Brian Hackett
f426863a2f Bug 891400 - Don't use LoadTypedArrayElementStatic for uint32 arrays. 2013-07-11 16:50:27 -06:00
Kannan Vijayan
957a02a6a6 Bug 877826 - Make GetPcScript handle rectifier frames appropriately. r=jandem 2013-07-11 18:26:35 -04:00
Steve Fink
df4af9618c Bug 848146 - Do not need to SkipRoot inline assembler buffers, r=terrence
--HG--
extra : rebase_source : 7b0011ba3b5b2749d1b57eec635ec7ccb2d1bdad
2013-03-05 14:57:49 -08:00
Nicholas Nethercote
a238c848b1 Bug 892187 (part 0) - Fix busted GGC builds. r=bhackett.
--HG--
extra : rebase_source : a4be26dc5bc99ea987e76023f437a64304001639
2013-07-11 15:05:25 -07:00
Terrence Cole
af5ce72172 Bug 891773 - Check ArrayBufferView's back reference before marking; r=sfink
--HG--
extra : rebase_source : 9509d8304020457f31cbb6b90ae5f6f4cc9270db
2013-07-11 14:34:54 -07:00
Terrence Cole
011c331a46 Bug 891773 - Do not assume RelocatablePtr is only used on JSObject; r=billm
--HG--
extra : rebase_source : ff327374ac7900626fe166b307fba5b1fcd31f3f
2013-07-11 14:34:48 -07:00
Brian Hackett
e50e097204 Bug 891400 - Improve pattern matching on static typed array accesses, r=jandem. 2013-07-11 15:08:26 -06:00
Gregory Szorc
d98f76c5d1 Bug 891474 - Establish unified directory for Python build actions; r=glandium, ted
--HG--
rename : config/purge_directories.py => python/mozbuild/mozbuild/action/purge_manifests.py
rename : build/xpccheck.py => python/mozbuild/mozbuild/action/xpccheck.py
extra : rebase_source : 46bc960aa62c1117a7bf215653b768dc78b48d9a
2013-07-11 13:42:26 -07:00
Adam Roach [:abr]
64a655c353 Bug 892594 - Fix LIR-Common.h to work with clang++ 4.1 r=nbp 2013-07-11 15:38:58 -05:00
Jason Orendorff
3cd652a520 Bug 885761 - Remove Token::t_op and KeywordInfo::op. r=till.
--HG--
extra : rebase_source : f1d267e99b76d1ed575beb214fbc0360cf8ebe7b
2013-07-10 16:37:45 -05:00
Jason Orendorff
311c871236 Backout rev 89551867dc2a for having the wrong bug number in the commit message (was bug 885762, should be bug 885761). Pointed out by Ms3ger. no_r=me.
--HG--
extra : rebase_source : 2171490306c5559161f34e537f035c2c69e1fdd2
2013-07-10 16:36:58 -05:00
Tom Schuster
0a070ad4d7 Bug 890729 - Reorder the CPOW traps. r=dvander 2013-07-11 11:23:34 -04:00
Nicholas D. Matsakis
88e95e2e7f Bug 829896 - Make typed array element accesses return undefined if the element is out of bounds, rather than accessing the prototype chain r=jandem 2013-07-09 15:29:39 -04:00
Norbert Lindenberg
dd67825892 Bug 854320 - ECMA-402 tests ch10/10.1/10.1.1_a.js, ch11/11.1/11.1.1_a.js, ch12/12.1/12.1.1_a.js failing. r=jwalden 2013-07-11 09:54:09 -04:00
Norbert Lindenberg
ed5b4a688f Bug 834989 - Use of RegExp in self-hosted code can be observed through RegExp statics. r=jwalden 2013-07-11 09:53:56 -04:00
Shu-yu Guo
8f9c8f97a4 Bug 890968 - Followup: forgot to qualify JSString::maybeChars() with const. DONTBUILD 2013-07-11 03:01:36 -07:00
Nicholas Nethercote
a020b2cc02 Bug 891215 (part 20) - Slim down String-inl.h. r=terrence.
--HG--
extra : rebase_source : 5b141ad99549d41ebb174d24df8b04d60fed3aae
2013-07-10 16:23:28 -07:00
Nicholas Nethercote
6605ada0bc Bug 891215 (part 19) - Slim down Shape-inl.h. r=terrence.
--HG--
extra : rebase_source : 77cbecf4148cfcc6df2588001b36c78658eb90ea
2013-07-10 16:23:28 -07:00
Nicholas Nethercote
664b1a11bb Bug 891215 (part 18) - Slim down RegExpStatics-inl.h. r=terrence.
--HG--
extra : rebase_source : 244cf0dbc08fd04307a0e371bfc753d1e4640a9d
2013-07-10 16:23:28 -07:00
Nicholas Nethercote
c835f23f43 Bug 891215 (part 17) - Move SizeOfRegExpStaticsData() into the RegExpStaticsObject class. r=terrence.
--HG--
extra : rebase_source : 5ab7214b39e0ea7633e08eb912bb9dcbc7f973ef
2013-07-10 16:23:28 -07:00
Nicholas Nethercote
2991a0e057 Bug 891215 (part 16) - Slim down RegExpObject-inl.h. r=terrence.
--HG--
extra : rebase_source : b868181ba37ae1332589a08a7d9a97bd649ea115
2013-07-09 13:41:16 -07:00
Nicholas Nethercote
92cd5a92ad Bug 891215 (part 15) - Slim down Interpreter-inl.h. r=terrence.
--HG--
extra : rebase_source : dea8c481504ce50b2b1869d81b4d6aa1a1f1a212
2013-07-09 13:19:37 -07:00
Nicholas Nethercote
d3b16160bf Bug 891215 (part 14) - Slim down GlobalObject-inl.h. r=terrence.
--HG--
extra : rebase_source : 126eaa4ad6cebf3e2794fec62b84cec610af4604
2013-07-09 13:19:08 -07:00
Wes Kocher
e4601507f5 Backout 129da44ac469 (bug 870180) for breaking message manager 2013-07-10 18:22:34 -07:00
Shu-yu Guo
0f274cbbca Bug 891946 - Rename ThreadSafeContext variables from tcx -> cx. (r=bhackett) 2013-07-10 18:25:42 -07:00
Shu-yu Guo
3250f01e3b Bug 885017 - Fix length handling in ParallelArray.scatter. (r=pnkfelix) 2013-07-10 18:25:42 -07:00
Shu-yu Guo
2df1fc9404 Bug 889346 - Check for NULL TypeObject when inlining ParallelArray constructors. (r=nmatsakis) 2013-07-10 18:25:42 -07:00
Shu-yu Guo
16c9313251 Bug 881593 - Part 2: Add ParallelSpew intrinsic. (r=nmatsakis) 2013-07-10 18:25:34 -07:00
Shu-yu Guo
d2c0bc7345 Bug 881593 - Part 1: Change LossyTwoByteCharsToNewLatin1CharsZ to take ThreadSafeContext. (r=billm) 2013-07-10 18:25:33 -07:00
Shu-yu Guo
c481b972f1 Bug 881988 - Support calling natives in parallel. (r=djvj) 2013-07-10 18:25:33 -07:00
Shu-yu Guo
6641b744a2 Bug 877893 - Followup: add testcase. (r=me) 2013-07-10 18:24:39 -07:00
Shu-yu Guo
1b1d9b4f6c Bug 890968 - Part 3: RAII wrapper for inspecting contents of JSStrings in a thread safe way. (r=nmatsakis) 2013-07-10 18:24:39 -07:00
Shu-yu Guo
5e752148bc Bug 890968 - Part 2: Add nondestructive getChars to JSString. (r=bhackett) 2013-07-10 18:24:39 -07:00
Shu-yu Guo
284f58e3bc Bug 890968 - Part 1: Revert thread unsafe JSString methods to JSContext. (r=bhackett) 2013-07-10 18:24:39 -07:00
Shu-yu Guo
002288d11d Bug 888618 - Part 2: Make String post barriers take ThreadSafeContext. (r=terrence) 2013-07-10 18:21:23 -07:00
Shu-yu Guo
8627080ecc Bug 888618 - Part 1: Add Cell::tenuredIsInsideZone for threadsafe asserts. (r=billm) 2013-07-10 18:21:23 -07:00
Nicholas Nethercote
4b4f1c454e Bug 891209 (part 2) - Parse "detectably simple" expressions quickly. r=jorendorff.
--HG--
extra : rebase_source : c501dc470978a94898fd68311b776574034fb654
2013-07-08 19:09:34 -07:00
Nicholas Nethercote
4f1ed35b0d Bug 891209 (part 1) - Change TOK_ERROR from -1 to 0 so that TokenKind values can be used to index into arrays. r=jorendorff.
--HG--
extra : rebase_source : 197cfb12f68da77496aa1dae67261b8b48def897
2013-07-10 17:04:18 -07:00
David Anderson
144a6b0e34 Implement CPOW support in MessageManager (bug 870180, r=smaug,billm). 2013-07-10 15:05:39 -07:00
Jeff Walden
a2ead3b20d Bug 891177 - Move js::Swap to mozilla::Swap. r=terrence
--HG--
extra : rebase_source : 925bccd4fa3f95e1aa4e17d94ad5a443fc7a63aa
2013-07-03 15:57:33 -07:00
Jeff Walden
6fc6164554 Bug 891177 - Add ReentrancyGuard.h as a helper class for asserting that use of a class is non-reentrant. r=terrence
--HG--
extra : rebase_source : 3751e523c0b0315697cb6e005dfd8ee625f6dd58
2013-07-02 17:47:08 -07:00
Jeff Walden
70d30e3e5b Bug 891177 - Use MOZ_STATIC_ASSERT, not JS_STATIC_ASSERT, in Vector.h. r=terrence
--HG--
extra : rebase_source : 35bf9a16df56ff308ff2761f0f088a1ca980f04a
2013-07-02 17:33:32 -07:00
Jeff Walden
c010dec60f Bug 891177 - s/JS_ALWAYS/MOZ_ALWAYS/g and s/JS_NEVER/MOZ_NEVER/g on Vector.h. r=terrence
--HG--
extra : rebase_source : 345ebb6b5d7f7b023bcebdf1610de4f03c98cf46
2013-07-02 17:31:49 -07:00
Jeff Walden
a5efd836c8 Bug 891177 - s/JS_ASSERT/MOZ_ASSERT/g on Vector.h. r=terrence
--HG--
extra : rebase_source : 9ed551860edfb8801725a3575335039c1bb07692
2013-07-02 17:29:29 -07:00
Jeff Walden
d13ea6b69f Bug 891177 - Implement Move.h to define a move-construction interface. r=terrence
--HG--
extra : rebase_source : 45f9bb87fc0ee96ea35005ca0dcb263aa11745b8
2013-07-02 17:25:13 -07:00
Jeff Walden
616c67fb9d Bug 891177 - Add AllocPolicy.h to define an implementation policy concept for use in mfbt. r=terrence
--HG--
extra : rebase_source : f6336b5ba3298bbf9c5418b4e9d993b9173f7926
2013-07-02 17:16:07 -07:00
David Keeler
2fc8775cb1 bug 891992 - fix typo in js/jsd/jsdebug.h r=timeless 2013-07-10 13:53:27 -07:00
David Keeler
593fac08cf bug 891992 - remove LIVEWIRE from jsd r=timeless 2013-07-10 13:53:11 -07:00
Hannes Verschore
c52be22933 Bug 889186: IonMonkey: When optimizing a compare mark replaced operands correspondingly as being folded, r=bhackett 2013-07-10 22:48:25 +02:00
Jim Blandy
c8668c0429 Bug 892014: Don't pass the 'vp' argument to handleUncaughtException if it's just going to be ignored. r=jorendorff 2013-07-10 13:15:57 -07:00
Gregory Szorc
0a41c9c2f9 Bug 891632 - Port NO_DIST_INSTALL to moz.build; r=joey
Many of the moved variables are likely not needed. moz.build should one
day validate the sandbox's output and error if "useless" variables are
present.

--HG--
extra : rebase_source : 3abdea056c18d00ede8c15b37db60532eca58630
2013-07-10 12:08:21 -07:00
Dan Gohman
5c28187fdb Bug 891702 - IonMonkey: Delete dead code. r=djvj 2013-07-10 11:57:15 -07:00
Dan Gohman
6227ba59c5 Bug 891070 - IonMonkey: Implement range analysis for nodes with Boolean return types. r=nbp 2013-07-10 11:48:28 -07:00
Dan Gohman
020e915138 Bug 891697 - IonMonkey: Make MIRGraph and MBasicBlock's dump methods more useful. r=nbp 2013-07-10 11:15:03 -07:00
Dan Gohman
d0bae8cbbf Bug 891087 - IonMonkey: Add MOZ_FINAL on getOperand, setOperand, and friends which are not meant to be further overridden. 2013-07-10 10:54:44 -07:00
Dan Gohman
7448890a7f Bug 891087 - IonMonkey: Annotate several classes with MOZ_FINAL. 2013-07-10 10:54:44 -07:00
Dan Gohman
5c882c6406 Bug 891087 - IonMonkey: Optimize that Ary classes' congruentTo implemtations to get better devirtualization. r=nbp 2013-07-10 10:54:44 -07:00
Dan Gohman
ad4c31e90a Bug 891087 - IonMonkey: Add explicit downcasts to enable more devirtualization. r=nbp 2013-07-10 10:54:44 -07:00
Dan Gohman
6afa20a433 Bug 891087 - IonMonkey: Move the input() accessor out of most of MUnaryInstruction's subclasses into MUnaryInstruction itself. r=nbp 2013-07-10 10:54:44 -07:00
Dan Gohman
195fb88846 Bug 891087 - IonMonkey: Eliminate an unnecessary getNumOperands call. r=nbp 2013-07-10 10:54:44 -07:00
Dan Gohman
918c414cf6 Bug 891087 - IonMonkey: When iterating through operand lists, call getNumOperands() once, instead of once per operand, since it is a virtual function call. r=nbp 2013-07-10 10:54:44 -07:00
Ryan VanderMeulen
1d7eff0f7a Backed out changeset b7d6458d2a3c (bug 887483) for apparently causing Android robocop-2 failures. 2013-07-10 13:51:28 -04:00
Brian Hackett
91e2fb6d54 Bug 885758 - Use consistent visibility in declarations for AutoGCRooter. 2013-07-10 10:06:12 -06:00
Brian Hackett
d38fee1f7f Bug 885758 - Add ExclusiveContext for use by threads with exclusive access to their compartment, r=billm. 2013-07-10 09:29:52 -06:00
Trevor Saunders
d82043f811 bug 887483 - rm a bunch of useless assignments to FORCE_STATIC_LIB r=mshal 2013-06-25 14:29:26 -04:00
Ryan VanderMeulen
ec6b3d53b5 Merge m-c to inbound. 2013-07-10 09:45:16 -04:00
Jason Orendorff
dd58fd7bb8 Bug 880447 - Permit 'yield yield expr;'. r=till. 2013-07-10 08:14:03 -05:00
Jason Orendorff
d54e7a4d5a Bug 885219 - Assertion failure: !exprBody, at jsfun.cpp. r=till. 2013-07-10 08:14:03 -05:00
Jason Orendorff
0b0099e63b Bug 885762 - Remove Token::t_op and KeywordInfo::op. r=till. 2013-07-10 08:14:03 -05:00
Jason Orendorff
564cd4f0e6 Bug 886087 - Explicitly tell js_ReportGetterOnlyAssignment whether the assignment was strict rather than examining the stack. r=Waldo. 2013-07-10 08:14:02 -05:00
Jason Orendorff
7526052f3c Bug 866849, part 2 - Implement Array.of. r=evilpie. 2013-07-10 08:14:02 -05:00
Jason Orendorff
7475fe406c Bug 866849, part 1 - Add assertEqual testing function in jit-test/lib/asserts.js. r=evilpies. 2013-07-10 08:14:02 -05:00
Jason Orendorff
528f5dcd9c Bug 844805, part 3 - Remove a call to FoldConstants from Parser::memberExpr. r=Waldo. 2013-07-10 08:14:02 -05:00
Jason Orendorff
b72354fc1a Bug 844805, part 2 - Don't even set the pn_op field of PNK_DOT/ELEM nodes. r=Waldo. 2013-07-10 08:14:02 -05:00
Jason Orendorff
ea51f26e9b Bug 844805, part 1 - Don't use the pn_op field of PNK_DOT/ELEM nodes. r=Waldo. 2013-07-10 08:14:01 -05:00
Jason Orendorff
86bdf166b6 Bug 888002 - Constant folding affects meaning of some weird delete operands. r=Waldo. 2013-07-10 08:14:01 -05:00
Justin Lebar
de5a8e7e70 Bug 891694 - Increase the maximum amount dumped per line in a GC log from 1kb to 32kb. r=njn 2013-07-10 07:01:54 -04:00
Justin Lebar
afba200044 Bug 889956 - Dump the length of the string when we do a GC log. r=njn 2013-07-10 07:01:53 -04:00
Christian Holler
7e4a22e32f Bug 879701 - Split up the used/bound assertion in ARM CodeGenerator. r=mjrosenb 2013-07-10 12:24:01 +02:00
Tom Schuster
a396c6c012 Bug 890729 - Implement the missing CPOW traps. r=dvander 2013-07-09 22:45:08 -04:00
Jeff Walden
52e9e935e9 Fix a use of JS_CEILING_LOG2 in AsmJSModule.h to actually make sense, in anticipation of converting that macro to a function. No bug, r=mjrosenb over IRC
--HG--
extra : rebase_source : 138fe54c00d52c71529e81390f0fc9d21d3d6cfa
2013-07-09 19:43:20 -07:00
Terrence Cole
438a15498e Bug 886630 - Post barrier generator frames when they stop running; r=billm
--HG--
extra : rebase_source : 2ca76bcd7f4a7ea70548abceefdd031b54a1376a
2013-07-09 17:31:42 -07:00
Nicholas Nethercote
dd3d1773ed Bug 891215 (part 13) - Slim down ArgumentsObject-inl.h. r=terrence.
--HG--
extra : rebase_source : 79499e11b72b79a1b6436c08c94a09228c6b8fa3
2013-07-08 23:03:03 -07:00
Nicholas Nethercote
ac57e7a3fe Bug 891215 (part 12) - Slim down ScopeObject-inl.h. r=terrence.
--HG--
extra : rebase_source : ea982556f2203254cd8c79272d746d6271c3a904
2013-07-08 23:03:03 -07:00
Nicholas Nethercote
4a88cf67d9 Bug 891215 (part 11) - Remove PcScriptCache-inl.h. r=terrence.
--HG--
extra : rebase_source : 50b2fa3ce2e18d90cce94dfa7aafd34cc2377d1b
2013-07-08 23:03:03 -07:00
Nicholas Nethercote
f7f6c920e8 Bug 891215 (part 10) - Slim down IonFrames-inl.h. r=terrence.
--HG--
extra : rebase_source : 4f47ec9244cbfa8e359d792e5ba825bfaad2db57
2013-07-08 23:03:03 -07:00
Nicholas Nethercote
1edc87a1fd Bug 891215 (part 9) - Slim down IonFrameIterator-inl.h. r=terrence.
--HG--
extra : rebase_source : 9857155ba2628a7319e9d712116eba4839689be1
2013-07-08 22:01:29 -07:00
Nicholas Nethercote
6f09a83d63 Bug 891215 (part 8) - Slim down CompileInfo-inl.h. r=terrence.
--HG--
extra : rebase_source : 5b53fc7f228949210cc6183a00bc9320dcb1b2de
2013-07-08 21:40:19 -07:00
Nicholas Nethercote
b8d4de12ad Bug 891215 (part 7) - Remove FindSCCs-inl.h. r=terrence.
--HG--
extra : rebase_source : b0fb167901fe2fd6e165f48b1b7d6b7934b6f027
2013-07-08 21:08:28 -07:00
Nicholas Nethercote
6d79d1a59b Bug 891215 (part 6) - Slim down SharedContext-inl.h. r=terrence.
--HG--
extra : rebase_source : 285dee0a66dd433666dbf6a8d836ffc9bc25f5dc
2013-07-08 20:50:40 -07:00
Nicholas Nethercote
63cb03dbdb Bug 891215 (part 5) - Remove Parser-inl.h. r=terrence.
--HG--
extra : rebase_source : c511369509fdeb8d28c5e0df0970d342b34bb01e
2013-07-08 20:43:11 -07:00
Nicholas Nethercote
2df105ce21 Bug 891215 (part 4) - Slim down ParseNode-inl.h. r=terrence.
--HG--
extra : rebase_source : 282aa80825d69f2faf012d920ac0cf916dda6b93
2013-07-08 20:20:00 -07:00
Nicholas Nethercote
2c0072d2b9 Bug 891215 (part 3) - Slim down ParseMaps-inl.h. r=terrence.
--HG--
extra : rebase_source : 0140681bbca31837b14deb70035adcf2dee0a971
2013-07-08 20:07:23 -07:00
Nicholas Nethercote
89c472a29a Bug 891215 (part 2) - Remove BytecodeEmitter-inl.h. r=terrence.
--HG--
extra : rebase_source : 32028b77fd03d052b37251ae4c66d4ab42386794
2013-07-08 19:44:52 -07:00
Nicholas Nethercote
4d5a9aae12 Bug 891215 (part 1) - Slim down Iterator-inl.h. r=terrence.
--HG--
extra : rebase_source : 44548f23517a5059849e95a4bfedec508f7c3506
2013-07-08 19:42:34 -07:00
Sean Stangl
516d5dbdc8 Bug 887676 - Always zero RegExp lastIndex upon failure to match. r=Waldo 2013-07-09 15:58:34 -07:00
Terrence Cole
743ca17aa9 Bug 888117 - Properly barrier the JSON stringifier's CycleDetection set; r=billm
--HG--
extra : rebase_source : 9cd269cf38bacfb63cbceef5dec795da2c24750c
2013-06-27 18:12:54 -07:00
Terrence Cole
07f8b773ce Bug 891436 - Skip heap walk for profilingScripts during minor GC; r=billm
--HG--
extra : rebase_source : acc76b0b299412c420c7fcc4cc3dc269b82cbeb8
2013-07-09 14:37:08 -07:00
Olli Pettay
6767d0a1a8 bug 789919, (snow-white) make addref/release of CCable objects faster by removing indirect refcnt increase/decrease, r=mccr8, test changes r=ehsan
--HG--
extra : rebase_source : 2a3b22425c14d6daedc91d62a652c34431acd2fb
2013-07-09 13:30:58 -04:00
Ms2ger
1475a22d49 Bug 213324 - Remove getter_AddRefs(T*); r=ehsan 2013-07-10 11:56:21 +02:00
Ms2ger
5164d8900d Bug 888574 - Remove TAR_CREATE_FLAGS_QUIET, make TAR_CREATE_FLAGS quiet by default; r=gps+ted 2013-07-10 11:55:01 +02:00
Peter Van der Beken
9cbb0938bb Bug 734503 - Add new DOM binding for TouchList; r=jst. 2013-07-10 11:53:53 +02:00
Dan Gohman
3c2b0a7324 Bug 891070 - IonMonkey: RangeAnalysis simplifications. r=nbp 2013-07-08 20:26:27 -07:00
Dan Gohman
4538c73709 Bug 891070 - IonMonkey: Reimplement MUrsh::canOverflow using range information. r=nbp 2013-07-08 20:24:56 -07:00
Dan Gohman
450e204ccf Bug 891070 - IonMonkey: Minor cleanups for lsh range analysis: fix a -Wsign-compare warning, and use a 32-bit shift instead of a 64-bit shift. r=nbp 2013-07-08 20:23:26 -07:00
Dan Gohman
29c6f3de43 Bug 891070 - IonMonkey: Stronger range analysis for or, xor, and not. r=nbp 2013-07-08 19:51:56 -07:00
Dan Gohman
643fefc38f Bug 762095 - Ignore resume points in blocks containing nothing but goto. 2013-07-08 19:38:36 -07:00
Dan Gohman
e1886eda4f Bug 891121 - When a test times out, print TIMEOUT instead of FAIL. r=terrence 2013-07-08 19:36:07 -07:00
Dan Gohman
5afb769bde Bug 891083 - Make the ImmWord version of x64's movq always use smaller immediate fields when possible; use movWithPatch when a patchable 64-bit immediate field is needed. Also, implement movq_i32r, which is useful for immediates in the range [INT32_MIN, 0). r=sstangl 2013-07-08 19:28:20 -07:00
Phil Ringnalda
2af5055f90 No bug, alter comment whitespace to trigger shell builds on a CLOSED TREE 2013-07-08 17:23:42 -07:00
Emanuel Hoogeveen
9e0ec18236 Bug 890714 - Fix mixed line endings. r=joe, r=jesup 2013-07-08 16:33:15 -04:00
Bobby Holley
fb8f42b563 Bug 867486 - Remove |Components| from content sandboxes. r=gabor 2013-07-08 10:05:31 -07:00
Trevor Saunders
ace23958ea bug 886526 - disallow MODULE_NAME and IS_COMPONENT for makefiles in libxul r=bsmedberg 2013-06-25 11:15:21 -04:00
Joey Armstrong
df6123b0bc bug 870407: cleanup bug. r=mshal 2013-07-08 11:53:00 -04:00
Brian Hackett
6a7df7aaf3 Bug 890636 - Remove JSOPTION_PCCOUNT, r=jandem. 2013-07-08 09:17:35 -06:00
Jan de Mooij
22d5857262 Bug 890414 - Fix backtracking allocator to track slots/elements pointers in safepoints. r=bhackett 2013-07-08 16:16:41 +02:00
Brian Hackett
3e59abea5d Bug 887549 - Don't handle destructuring shorthand in syntax parser, r=jandem. 2013-07-08 07:08:15 -06:00
Brian Hackett
96eb6d7022 Bug 886803 - Populate both script and function box bindings for new Function() functions, so heavyweight tests work, r=jandem. 2013-07-08 07:01:20 -06:00
Jan de Mooij
a7c04b2ec9 Bug 890524 - Fix Ion perf regression with SETELEM and double arrays. r=h4writer 2013-07-08 12:47:27 +02:00
Shu-yu Guo
b97ad254e9 Bug 881536 - Part 4: Implement ParallelGetElementIC. (r=nbp) 2013-07-08 03:24:55 -07:00
Shu-yu Guo
9d5cb5bd4f Bug 881536 - Part 3: Pure path for GetElement in the VM. (r=bhackett) 2013-07-08 03:24:55 -07:00
Shu-yu Guo
5218a7f798 Bug 881536 - Part 2: Refactor initializeAddCacheState into DispatchIonCache. (r=nbp) 2013-07-08 03:24:55 -07:00
Shu-yu Guo
30b141b8bc Bug 881536 - Part 1: Factor out stubbedShape logic to ParallelIonCache. (r=nbp) 2013-07-08 03:24:54 -07:00
Shu-yu Guo
58244f153b Bug 881574 - Part 2: Support Array.length for ParallelGetPropertyIC. (r=nbp) 2013-07-08 03:24:54 -07:00
Shu-yu Guo
df2800bdd4 Bug 881574 - Part 1: Support Array.length in GetPropertyPure. (r=bhackett) 2013-07-08 03:24:54 -07:00
Dan Gohman
4c2ae44923 Micro-optimize a hot spot in LinearScan; this partially addresses Bug 741317. r=jandem 2013-07-07 22:11:39 -07:00
Nicholas Nethercote
558378ac93 Bug 890192 (part 5) - Slim down jscntxtinlines.h. r=terrence.
--HG--
extra : rebase_source : 699aa06a514d801ad15b33c64e5deaaae3e4b35a
2013-07-04 00:57:00 -07:00
Nicholas Nethercote
99f9a66471 Bug 890192 (part 4) - Slim down jsgcinlines.h. r=terrence.
--HG--
extra : rebase_source : 6fd284d8b887ad89c1621c969286af7fa82d78bd
2013-07-04 00:55:46 -07:00
Nicholas Nethercote
18bde7ddd4 Bug 890192 (part 3) - Slim down jsstrinlines.h. r=terrence.
--HG--
extra : rebase_source : 554a1eb91ea60130c2aa3c5581d6b69831a57cfc
2013-07-03 19:53:18 -07:00
Nicholas Nethercote
118e71325d Bug 890192 (part 2) - Slim down jsscriptinlines.h. r=terrence.
--HG--
extra : rebase_source : 5f374385b657ba28661ddd50a6b50344455de9af
2013-07-03 19:47:14 -07:00
Nicholas Nethercote
c158a1e28f Bug 890192 (part 1) - Slim down jsopcodeinlines.h. r=terrence.
--HG--
extra : rebase_source : 15755ff706fbbde8933fd083723faaafc9458613
2013-07-03 19:35:15 -07:00
Trevor Saunders
adfd71c863 bug 888493 - add MOZ_CONSTEXPR_VAR r=waldo 2013-06-28 17:34:51 -04:00
Randy Lin
e4abcaea62 Bug 803414 - Part 0: Add RecordErrorEvent. r=smaug 2013-06-20 14:06:39 +08:00
Brian Hackett
78b96c8eb0 Bug 886957 - Allow compiling even larger functions off thread, and increase use count thresholds for larger scripts, r=jandem. 2013-07-06 07:19:36 -06:00
Brian Hackett
3761374fdc Backout 3f4d5bcba1fb (bug 883973). 2013-07-05 16:55:43 -06:00
Till Schneidereit
42c97a1d82 Bug 872644 - Rename UnsafeSetElement intrinsic to UnsafePutElements. r=shu
--HG--
extra : rebase_source : 0f7e49b1a29a33b38b6be3c77073e11d3d6373c9
extra : amend_source : 529aa068a6592e8f1b1c818dc7d29612b3528908
2013-07-05 21:57:43 +02:00
Ehsan Akhgari
3c0afe53b2 Bug 890382 - Implement a Web IDL event constructor for IDBVersionChangeEvent; r=smaug 2013-07-05 13:57:28 -04:00
Till Schneidereit
dc230478e6 Bug 866471 - fix broken assert implementation. r=bustage 2013-07-05 16:06:31 +02:00
Sankha Narayan Guria
7490673120 Bug 866471 - Change assert for self-hosted functions into debug-only macro. r=tschneidereit
--HG--
extra : rebase_source : ea2b8aa1f44f0d392e9fc2cc9d0631bd99c59b07
2013-07-05 14:39:21 +05:30
Nicholas Nethercote
3714e935ae Bug 888083 (part 2) - Remove the final case where a vanilla .h file #includes an inline-header. r=jandem.
--HG--
extra : rebase_source : cd4497c7136e17ca25446644af25294c09108b89
2013-07-03 21:57:47 -07:00
Nicholas Nethercote
c1f7b30da1 Bug 888083 (part 1) - Remove all but one of the cases where a vanilla .h file #includes an inline-header. r=jandem.
--HG--
extra : rebase_source : db025d7525529f28dfa112f009597e9fe982cfef
2013-07-03 20:41:30 -07:00
Masatoshi Kimura
c4547c9358 Bug 889148 - Remove legacy QS/classinfo bits from events even more. r=smaug, peterv 2013-07-05 07:53:59 +09:00
Phil Ringnalda
af1c32b2a0 Backed out changeset 454706720bbc (bug 888493) for build bustage
CLOSED TREE
2013-07-04 13:06:07 -07:00
Trevor Saunders
922e268c2b bug 888493 - add MOZ_CONSTEXPR_VAR r=waldo 2013-06-28 17:34:51 -04:00
Shu-yu Guo
fd4560618a Bug 890249 - Have jit_test.py --tbpl also run the shell without any flags. (r=jandem) 2013-07-04 09:40:53 -07:00
Steve Fink
0657e8eff7 Bug 890076 - Move isConstructing to CallArgs, r=Waldo
--HG--
extra : rebase_source : f66e59fbd201153a4329a82264c32ad72465d654
2013-07-03 22:59:43 -07:00