Commit Graph

36774 Commits

Author SHA1 Message Date
Jason Orendorff
3364493dd4 Bug 889628, part 5 - Enforce ES6 rules about assigning to eval or arguments in destructuring assignment. r=Waldo.
--HG--
extra : rebase_source : 865c3056ded7d74d26bc2e24f3f2e66066a7bd3f
2013-07-15 11:21:17 -05:00
Jason Orendorff
3eeeacba79 Bug 889628, part 4 - Remove another redundant BindNameToSlot call. r=Waldo.
--HG--
extra : rebase_source : 9408237df183256ecddf4ee9f2de505a80a9a086
2013-07-15 10:28:57 -05:00
Jason Orendorff
32607610b7 Bug 889628, part 3 - Don't set pn_op on PNK_DOT and PNK_ELEM nodes in assignment. r=Waldo.
--HG--
extra : rebase_source : fbcd7b2cb4cecbbdcd6326e4f4726232d9af7f51
2013-07-15 10:28:46 -05:00
Jason Orendorff
1d75ca964d Bug 889628, part 2 - Do not look at lhs->getOp() when selecting opcodes for destructuring assignment, except if lhs is a name and we just called BindNameToSlot. r=Waldo.
--HG--
extra : rebase_source : 955e32774099d85cab5b5d6b83a9d5233493fa08
2013-07-15 10:28:35 -05:00
Jason Orendorff
d7d180d58c Bug 889628, part 1 - Merge setLvalKid with setIncOpKid. Rename it to checkAndMarkAsIncOperand. Rename setAssignmentLhsOps to checkAndMarkAsAssignmentLhs. r=Waldo.
--HG--
extra : rebase_source : cd6f0c140aa6e11ca6fd5a60230f7d623e957455
2013-07-15 10:28:18 -05:00
Jason Orendorff
78bd188aa2 Fix trailing whitespace in jsobj.cpp, noted by Ms2ger in bug 886087 comment 5. no_r=me.
--HG--
extra : rebase_source : b0a5cd29a6f3e5322d080343a1d4d15d54cb3f35
2013-07-15 10:26:49 -05:00
David Caabeiro
2e23622f38 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
2d8132167a 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
0c9a0a1b98 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
acccca26c0 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
1776d568d9 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
f596467758 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
5ceb4432cd 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
fb145e40d2 Bug 889911 - Replace mozJSLoaderErrorReporter with SystemErrorReporter and remove the former. r=mrbkap 2013-07-15 11:44:50 -07:00
Bobby Holley
9d6c49843f Bug 889911 - Introduce xpc::SystemErrorReporter, roughly based on mozJSComponentLoader's error reporter. r=mrbkap 2013-07-15 11:44:49 -07:00
Marty Rosenberg
2c97e9e86e 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
b79f1d0c2a 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
9e2dee9332 Bug 892187 - Fix spurious uses of ExclusiveContext->asJSContext(), r=billm. 2013-07-15 08:12:40 -06:00
Douglas Crosher
4ad0c03ad5 Bug 893317 - Fix VTune include files. r=njn 2013-07-13 15:23:48 +10:00
Douglas Crosher
03934cb43e Bug 893315 - More uses of Move need renaming to mozilla::Move. r=Waldo 2013-07-13 14:15:01 +10:00
Douglas Crosher
6a341714fd Bug 893314 - More uses of js_AtomToPrintableString need renaming to AtomToPrintableString. r=bhackett 2013-07-13 14:00:53 +10:00
Mike Hommey
6932c7388c 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
9358336f75 Implement CPOW support in MessageManager (bug 870180, r=smaug,billm). 2013-07-10 15:05:39 -07:00
Phil Ringnalda
c85a2e23ff Back out 757e87bb1c1e:2c2bb15bf160 (bug 884676) for make check failures
CLOSED TREE
2013-07-13 21:59:07 -07:00
Joshua Cranmer
8258da2d0d Bug 884676 - Part 2: Remove JS_ATOMIC_* in favor of mozilla::Atomic, r=Waldo. 2013-07-13 20:07:11 -05:00
Joshua Cranmer
44a60190fc Bug 884676 - Part 1: Remove unused ThreadPool::submitOne method. r=Waldo 2013-07-13 20:05:11 -05:00
Till Schneidereit
0beda2cea6 Bug 886949 - Add Number.parseInt and Number.parseFloat. r=jwalden 2013-07-13 15:10:46 +02:00
Till Schneidereit
a9379ca98a Bug 885798 - Add ES6's Number.EPSILON. r=jwalden 2013-07-13 15:09:32 +02:00
Nicholas Nethercote
e5799a9b9b 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
a80ab8e7e0 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
c618a3cb48 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
9124bcfc6a Add test for bug 880377 rs=tests 2013-07-12 17:01:43 -04:00
Nicholas Nethercote
edeba39609 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
874de834c8 Bug 892544 - Stub out exception handling code. r=h4writer 2013-07-12 14:14:48 -04:00
Jason Orendorff
538d6c1103 Bug 889599, part 4 - Remove unnecessary JSScript parameter from Parser::standaloneFunctionBody(). r=Waldo. 2013-07-12 12:20:58 -05:00
Jason Orendorff
8d47db7148 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
11f4e06d98 Bug 889599, part 2 - Remove unnecessary FunctionBox out-parameter from Parser::standaloneFunctionBody. r=Waldo. 2013-07-12 12:20:58 -05:00
Jason Orendorff
e5697ebbe9 Bug 889599, part 1 - Fix ParseNode.h comment about PNK_FUNCTION nodes. r=Waldo. 2013-07-12 12:20:58 -05:00
Jason Orendorff
79309616f7 Bug 889584, part 4 - Remove an unnecessary setFunctionBody call. r=Waldo. 2013-07-12 12:20:58 -05:00
Jason Orendorff
b3562e89e1 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
cc1ea2ec49 Bug 889584, part 2 - Comment withStatement specialization for syntax-only mode. r=Waldo. 2013-07-12 12:20:57 -05:00
Jason Orendorff
6fe643a25c 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
22553eb3be 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
f82dba7419 Bug 838146 part 9. Turn on WebIDL bindings for Navigator. r=smaug 2013-07-12 10:37:23 -04:00
Wei Wu
80a7845ac7 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
be559fe75a Bug 892861 - Remove useless -D flags 'IMPL_THEBES,_IMPL_NS_GFX,...'. r=glandium 2013-07-12 08:56:54 -04:00
Nicholas D. Matsakis
eb3b74035a Bug 841621 - Add inline hint for self-hosted code r=dvander 2013-05-31 14:59:38 -04:00
Jan de Mooij
37086f326e 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
5e681ec894 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
9cdaaf7828 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