Commit Graph

36833 Commits

Author SHA1 Message Date
Tom Schuster
c6c8f740f8 Bug 893858 - More testing for CPOWs and two small bug fixes. r=dvander 2013-07-17 09:27:49 -04:00
Shu-yu Guo
33daf36a24 Bug 894782 - Fix callsite cloning interaction with inline dispatch in Ion. (r=jandem) 2013-07-17 06:11:18 -07:00
Brian Hackett
7040cac9db Bug 894669 - Add analysis for finding variables unnecessarily entrained by inner functions, r=luke. 2013-07-16 18:54:47 -06:00
Ryan VanderMeulen
4acf421a02 Backed out changeset 56423bbe9a13 (bug 891695) because it didn't un-bust itself automagically. 2013-07-17 08:54:01 -04:00
Carsten "Tomcat" Book
0813e6c9d0 Relanding after backout Bug 891695 - IonMonkey: Avoid passing pointers by const reference. r=rpearl 2013-07-17 14:16:17 +02:00
Carsten "Tomcat" Book
8b33a5f903 Backed out changeset 5939320824b1 (bug 894242) "CLOSED TREE" 2013-07-17 10:36:12 +02:00
Mike Hommey
ee38231acc Bug 894242 - Make C++0x/C++11 mode of gcc/clang mandatory. r=ted 2013-07-17 16:19:25 +09:00
Mike Hommey
06f13c6bd6 Backout changeset cd67ffb5ca47 (bug 883381), effectively restoring bug 877937 2013-07-17 16:18:46 +09:00
Mike Hommey
19a4ba5c90 Bug 894240 - Fix pointer dereference in js::cli::OptionParser::extractValue. r=Waldo 2013-07-17 16:16:55 +09:00
Wes Kocher
da8562250d Backout 1372b813d76f (bug 891695) for suspicion of causing bustage on a CLOSED TREE
--HG--
extra : amend_source : 9e9d1d7792df7060a2d61d5e8721b67602e14451
2013-07-16 20:47:17 -07:00
Bobby Holley
eb2e873e6c 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-16 20:38:44 -07:00
Bobby Holley
8676271e71 Bug 889911 - Replace mozJSLoaderErrorReporter with SystemErrorReporter and remove the former. r=mrbkap 2013-07-16 20:38:44 -07:00
Bobby Holley
55116a74ad Bug 889911 - Introduce xpc::SystemErrorReporter, roughly based on mozJSComponentLoader's error reporter. r=mrbkap 2013-07-16 20:38:44 -07:00
Benoit Girard
41b1df67ba Bug 838803 - Remove HAVE_STDCALL to work around clang bug. r=glandium
--HG--
extra : rebase_source : e1cdb524a4f7f0742f2051e5915e5e21db4c0423
2013-07-16 22:01:50 -04:00
Wes Kocher
544b3a179f Backout 399362c3e135 (bug 894669) for bustage 2013-07-16 18:41:52 -07:00
Ryan VanderMeulen
e168631670 Backed out 10 changesets (bug 889911, bug 889714) due to merge conflicts on a CLOSED TREE.
Backed out changeset 1a1a536121da (bug 889714)
Backed out changeset 2cd88ef9eea5 (bug 889714)
Backed out changeset 489723887eca (bug 889714)
Backed out changeset 2b38ce22cf97 (bug 889714)
Backed out changeset 87b0a59a5d51 (bug 889714)
Backed out changeset 13229bab2ba4 (bug 889714)
Backed out changeset 234bd6d1fbed (bug 889714)
Backed out changeset 4f5f62284917 (bug 889714)
Backed out changeset 18537c4436c7 (bug 889911)
Backed out changeset ca7060ab1588 (bug 889911)
2013-07-16 21:16:31 -04:00
Bobby Holley
c1403cacc4 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-16 18:04:49 -07:00
Bobby Holley
feb75218b2 Bug 889911 - Introduce xpc::SystemErrorReporter, roughly based on mozJSComponentLoader's error reporter. r=mrbkap 2013-07-16 18:04:48 -07:00
Dan Gohman
e39cb28ffb Bug 891695 - IonMonkey: Avoid passing pointers by const reference. r=rpearl 2013-07-16 16:00:03 -07:00
Brian Hackett
bd08998dbb Bug 894669 - Add analysis for finding variables unnecessarily entrained by inner functions, r=luke. 2013-07-16 18:54:47 -06:00
Jan de Mooij
2eccb5dbc0 Bug 852421 - Remove MarkTypeObjectUnknownProperties call from Object.create. r=bhackett
--HG--
extra : rebase_source : efbc9855ea3b548838b7c2b74feac3db987814e5
2013-07-16 21:34:02 +02:00
Till Schneidereit
6eaf1fae9e Bug 827396 - rm TypeObject::CONTRIBUTION_LIMIT and TypeObject::contribution. r=bhackett
--HG--
extra : rebase_source : c564216435bafeea58c0bfb32bdae07a3587fa72
2013-07-16 20:42:44 +02:00
Norbert Lindenberg
fec3708139 Bug 853706 - Fixed a test case that depended on incorrect number of significant digits for 0. r=jwalden
--HG--
extra : rebase_source : a0789030f25b4541d7c3262200f840bda8f10e52
2013-07-16 11:22:57 -07:00
Jeff Walden
8bde04eebd Bug 853706 - Fix nits noted in review of a new test. r=me 2013-07-16 11:09:56 -07:00
Norbert Lindenberg
dff3bd5287 Bug 853706 - Added new test case for formatting 0 with significant digits. r=jwalden
--HG--
extra : rebase_source : 359a1afdbe2132ebf135809e3d1c121457c5b595
2013-07-16 10:40:33 -07:00
Norbert Lindenberg
364fd0aa66 Bug 853706 - Enable previously failing conformance test. r=jwalden
--HG--
extra : rebase_source : f855b031368b37a10d819a3913003f8520228a12
2013-07-16 10:40:21 -07:00
Jeff Walden
a3eb8d6dbc Bug 894181 - Convert a bunch of SHAPE_* macros to inline functions to eliminate warnings, enhance debuggability. r=terrence
--HG--
extra : rebase_source : 2b8a5ba43a3303470b99788b7637488c38050764
2013-07-16 08:14:57 -07:00
Jeff Walden
23e86d44d0 Bug 894172 - Eliminate DO_NEXT_OP(len) in favor of an unadorned goto the label in question. This eliminates tautological |len == len| compares that clang+ccache warns about, and it eliminates the previous apparent possibility that any value could be passed to DO_NEXT_OP, when in fact only |len| (or a value equal to it) could be passed. r=terrence
--HG--
extra : rebase_source : 0e1561a7bcabc6811fea6b167251046c2871224d
2013-07-16 08:14:57 -07:00
Boris Zbarsky
669388cd6b Bug 894463. Go back to deoptimizing vanilla objects and arrays more eagerly to unregress ss-tagcloud. r=bhackett 2013-07-16 13:42:03 -04:00
Jan de Mooij
c7840c5470 Bug 870356 - Fix IonMonkey Math.round bug on x86/x64 hardware without SSE 4.1. r=sstangl 2013-07-16 17:55:29 +02:00
Jeff Walden
997a76eb45 Convert SN_MAKE_TERMINATOR and SN_IS_TERMINATOR to inline functions to avoid clang+ccache warnings about over-parenthesized equality expressions. No bug, rs=terrence
--HG--
extra : rebase_source : 50b8f70501a481a4dda715284ccd9a21bbfa0eb6
2013-07-15 15:26:04 -07:00
Jeff Walden
8bad2a44e0 Bug 891437 - Implement mozilla/Array.h, a class suitable for use where a C array would be used, with additional debug bounds-checking. r=Ms2ger
--HG--
extra : rebase_source : 314232d817e67d9a26dfa215b5c897e0dd0be353
2013-02-07 15:32:20 -08:00
Ryan VanderMeulen
97510a9940 Backed out changeset 302fb81f0729 (bug 858940) for frequent Android test crashes. 2013-07-16 11:05:11 -04:00
Brian O'Keefe
f4815f2203 Bug 883502 - Part 1: Move 'chromium_config.mk' includes after rules.mk. r=gps 2013-07-04 08:28:43 -04:00
Ryan VanderMeulen
6f6b64bf82 Backed out 2 changesets (bug 893362) for check-sync-dir bustage.
Backed out changeset cb79166bb8fa (bug 893362)
Backed out changeset 9db461b687fd (bug 893362)
2013-07-16 09:57:12 -04:00
Ryan VanderMeulen
0975b21c15 Bug 893362 - Fix check-sync-dirs bustage. 2013-07-16 09:47:16 -04:00
ISHIKAWA, Chiaki
54474cfbc5 Bug 893362 - Align the target name for the START and FINISH in the build log. r=gps 2013-07-16 09:33:22 -04:00
Gabor Krizsanits
5cbb7ab212 Bug 874158 - Crash in GetNativeForGlobal. r=bholley 2013-07-16 15:04:28 +02:00
Jan de Mooij
4f61dc3337 Bug 867082 - Use JSPROP_SHARED for the customNative global property in the JS shell. r=jwalden
--HG--
extra : rebase_source : 8d275654d7242d000416ce30f3116b85657ed26a
2013-07-16 15:05:02 +02:00
Jan Beich
069f70cd57 Bug 893508 - Don't hide ios/ostream symbols to fix build with some C++ runtimes. r=glandium 2013-07-16 14:09:24 +02:00
Boris Zbarsky
53cee71509 Bug 893897. Don't deoptimize typeobjects in TypeScript::MonitorAssign if they only have a few properties. r=bhackett 2013-07-16 01:32:18 -04:00
Boris Zbarsky
2e1a03a7a3 Bug 838146 part 10. Turn on WebIDL bindings for Navigator. r=smaug 2013-07-12 10:37:23 -04:00
Luke Wagner
6f1da03856 Bug 880538 - Generalize strict-mode reparsing (r=jorendorff)
--HG--
extra : rebase_source : 423ae5c1f922efa523f07ade811e78a1b243c057
2013-06-25 10:28:04 -07:00
Wes Kocher
5d7de56a01 Backout 476a4bbbfdb2 (bug 890722) on a CLOSED TREE for breaking debug mochitests 2013-07-15 19:56:08 -07:00
Shu-yu Guo
2557cd2077 Bug 893679 - Followup: Make sure rvalType is MIRType_Value when barrier is true to fix bustage on a CLOSED TREE. (r=bhackett) 2013-07-16 01:49:54 +02:00
Luke Wagner
ed626a4fbf Bug 888469 - rm startOffset argument (r=bhackett) 2013-06-27 18:27:58 -07:00
Luke Wagner
299adad703 Bug 888469 - rm funName argument (r=bhackett) 2013-06-25 00:20:51 -07:00
Luke Wagner
03e9846f0b Bug 888469 - rm dead assignment to 'body' (r=bhackett) 2013-06-25 00:02:49 -07:00
Luke Wagner
f086025924 Bug 888469 - rm 'strict' argument in some places (r=bhackett) 2013-06-24 23:16:33 -07:00
Luke Wagner
bc88f36c2f Bug 888469 - rm PND_BLOCKCHILD (r=bhackett) 2013-06-24 18:15:43 -07:00