Commit Graph

35138 Commits

Author SHA1 Message Date
Ed Morley
d464a5f858 Bug 864694 - Remove the string "Assertion failure:" from jsreftest summaries to avoid TBPL false positives; r=terrence 2013-04-24 09:52:04 +01:00
Shu-yu Guo
99e752ad92 Bug 863505 - Disallow unbound name ops in self-hosted code. (r=till) 2013-04-23 21:41:08 -07:00
David Zbarsky
720289e06b Bug 861729 - Remove nsPIDOMWindow::GetExtantDocument r=Ms2ger 2013-04-24 00:22:37 -04:00
Brian Hackett
69a54035dc Bug 862103 - Split GuardShapeOrType into GuardShape and GuardObjectType, r=dvander. 2013-04-23 16:34:02 -06:00
Luke Wagner
e0963bf366 Bug 864872 - OdinMonkey: protect all the code pages on Windows (r=sstangl)
--HG--
extra : rebase_source : 711eceb2de98b5da053d8ed341e4f5c59d634594
2013-04-23 14:03:45 -07:00
Brian Hackett
c418c8786f Bug 864216 - Allow generating IonScriptCounts for asm.js compiled functions, r=luke. 2013-04-23 13:31:03 -06:00
Douglas Crosher
a5b8af1331 Bug 863725 - Fix an IonSpew format string typo in Baseline IC. r=jandem 2013-04-20 00:23:54 +10:00
Douglas Crosher
9034678b8d Bug 814179 - Optimize BC ARM JSOP_URSH for a double type result. r=jandem 2013-04-19 22:40:28 +10:00
Chris Peterson
ece29c4cd0 Bug 863804 - Fix -Wunused-but-set-variable warnings in NunboxAssembler.h. r=dvander 2013-04-18 19:30:22 -07:00
Chris Peterson
a5206f5e4c Bug 863804 - Fix -Wsign-compare warning in MacroAssemblerARM::transferMultipleByRunsImpl(). r=dvander 2013-04-18 19:12:06 -07:00
Andrew McCreight
11073b0e0a Bug 863766 - crash when destroying a JSContext with outstanding requests. r=luke 2013-04-23 09:56:02 -07:00
Bobby Holley
02a2496bc2 Bug 860494 - Move the named property check further down in XrayWrapper. r=bz 2013-04-23 12:50:17 -04:00
Bobby Holley
416b2c4c8c Bug 860494 - Check for native properties before checking named children on XOWs. r=bz 2013-04-23 12:50:17 -04:00
Bobby Holley
820adfebdf Bug 860494 - Clarify the semantics of XrayTraits::resolveOwnProperty. r=bz
Right now, it sometimes fills out |desc|, and sometimes just defines the property
on the holder. This can get confusing, so let's refine the semantics here and
describe them in a big comment.
2013-04-23 12:50:17 -04:00
Bobby Holley
d4a09bba16 Bug 860494 - Make resolveNativeProperty a virtual instance method in XrayTraits like resolveOwnProperty. r=bz
The current setup is just an artifact of how it used to be before I refactored
Xrays. Have it as a virtual trap is more flexible since it allows us to invoke
the right trap by just calling GetXrayTraits(wrapper) from non-templatized code.
2013-04-23 12:50:16 -04:00
Tom Schuster
7cc0f09323 Bug 856477 - Root rest of XPComponents. r=bholley,terrence 2013-04-23 17:48:05 +02:00
Tom Schuster
fc6da29a3e Bug 862834 - Root mozJSComponentLoader. r=bholley,terrence 2013-04-23 17:48:05 +02:00
Felix S. Klock II
357b771916 Bug 862932 - Fix inlineUnsafeSetTypedArrayElement to match other inlined array ops. r=nmatsakis 2013-04-17 14:58:07 +02:00
Felix S. Klock II
4b820587a4 Date: Wed Apr 17 18:54:12 2013 +0200
Bug 862926 - Generalize the DEBUG code in ParCallToUncompiledScript. r=shu

    The old code assumed that the argument `func` will always have a
    script associated with it.  But this is not true in some cases,
    e.g. in the case of ES6 bound functions `(a,b) => ...`.

    This patch has two effects:

    1. Remove the assumption that the input function has a script.  Print
       *something* in all cases, regardless of whether we can find a
       script or not.

    2. For bound functions, attempt to follow the chain of bindings to
       find some script at the end of the chain.
2013-04-17 10:26:00 -04:00
Felix S. Klock II
b231a01ce3 Bug 862921 - Generalize AssertSequentialIsOK logic and improve its message. r=nmatsakis
1. If one passes a `mode` argument without a property named `mode`,
       the previous version will fall into the ThrowError branch
       (because mode.mode => undefined and undefined !== "seq")

    2. The old error message used the strings "par" and "seq", which might
       make the reader think that the assertion is solely about the
       appropriate value for the `mode` property, which happens to take on
       the values "par" or "seq" in some cases.  But the real condition
       being signalled here is not about the string values "par" or "seq";
       it is instead about the dynamic behavior of the runtime system.
       This changes the error message to use longer phrases, which should
       hopefully make the intent clearer.

    There is a third change I want to make, changing the logic of the
    conditional guard further, but that change is not as important to me
    as the two above.
2013-04-17 17:53:31 +02:00
Brian Hackett
c2cc318ef0 Merge from mozilla-inbound 2013-04-23 05:39:49 -06:00
Brian Hackett
23cf07a83c Merge from mozilla-inbound 2013-04-22 20:39:26 -06:00
Brian Hackett
00fb4c3075 Bug 863518 - Consider types added by loop body when unboxing OSR values, r=dvander. 2013-04-22 20:22:30 -06:00
Xin Zhang
2fa2b688ad Bug 857385 - Make various JSFunctionSpec arrays const. r=waldo
--HG--
extra : rebase_source : 24141998ffad3b0e6bad98b6fc0ce3754e448d5b
2013-04-22 14:15:49 -07:00
Xin Zhang
41e99c0b10 Bug 857385 - Make various JSPropertySpec arrays const. r=waldo
--HG--
extra : rebase_source : 4ad63f7ddf8c441219bb7f30e19d66abf1747fe2
2013-04-22 14:15:36 -07:00
Jon Coppeard
1ad8c56d8b Bug 864046 - GC: Almost the last rooting fixes in XPConnect - part 2 r=bholley 2013-04-20 13:08:16 +01:00
Jon Coppeard
721057a505 Bug 864046 - GC: Almost the last rooting fixes in XPConnect - part 1 r=bholley 2013-04-20 10:41:47 +01:00
Jon Coppeard
7b2f5e54d8 Bug 863767 - GC: Rooting for XPCCallContext r=bholley 2013-04-20 09:52:56 +01:00
Brian Hackett
5a2f96632a Bug 861419 - Add comment, r=dvander. 2013-04-18 15:18:42 -06:00
Brian Hackett
bb6c18c326 Bug 863439 - Use BoxInputsPolicy for MUnbox. 2013-04-18 15:12:07 -06:00
Brian Hackett
3e7d763516 Merge from mozilla-inbound. 2013-04-18 13:26:42 -06:00
Ryan VanderMeulen
5125740ec4 Backed out changeset 36ffb85842ac (bug 862501) for mochitest crashes. 2013-04-18 14:04:14 -04:00
Brian Hackett
59565fda50 Bug 862184 - Don't check for extra parallel array bailouts if --no-baseline or --baseline-eager are used. 2013-04-18 09:51:36 -06:00
Brian Hackett
d6f6d7b06f Bug 862103 - Address review comments, r=jandem. 2013-04-18 07:39:33 -06:00
Brian Hackett
55c319d857 Bug 804676 - Address review comments, r=dvander. 2013-04-18 06:53:31 -06:00
Brian Hackett
230e724d9e Bug 862699, bug 862708 - Fix a couple of fuzz bugs. 2013-04-17 16:56:29 -06:00
Jon Coppeard
6b41db971f Bug 863289 - GC: Continue the rooting of XPConnect r=bholley 2013-04-17 16:38:44 +01:00
Jan Beich
0211bf7319 Bug 864013 - Let internal libevent use kqueue/kevent with gcc_hidden.h. r=glandium 2013-04-23 10:58:16 +02:00
Brian Hackett
5cea8b5390 Bug 862103 - Various benchmark performance fixes. 2013-04-15 17:12:51 -06:00
Brian Hackett
0010e03b67 Merge m-i to ionmonkey 2013-04-15 05:37:53 -06:00
Brian Hackett
6adc9ceac6 Bug 861439 - Add type barriers when reading from undefined properties of singleton objects. 2013-04-15 05:16:23 -06:00
Brian Hackett
91f5501e6a Bug 861419 - Consider values in prototype when reading global names during Ion compilation. 2013-04-14 06:40:58 -06:00
Luke Wagner
abc056eb68 Bug 864402 - OdinMonkey: int MAdd/MMul should be marked commutative (r=sstangl)
--HG--
extra : rebase_source : 53a771c126bfa101f6b7b5b75c81ce22666728da
2013-04-22 16:31:41 -07:00
Bill McCloskey
9fb36a9cd7 Bug 862606 - Shift around some marking for brain transplants (r=bhackett) 2013-04-22 14:04:10 -07:00
Nicholas Nethercote
e585d5de07 Bug 864205 - Put the baseline memory reports in a tree. r=jandem.
--HG--
extra : rebase_source : 96362bd538979832f1fbe6ec55e42fd9a71c22bd
2013-04-22 13:35:44 -07:00
Xin Zhang
46e29cd0d7 Bug 857385 - Make JS_InitClass, js_InitClass and js::DefineConstructorAndPrototype take const function specs and property specs. Remove const_cast in js::DefinePropertiesAndBrand. r=waldo 2013-04-22 16:17:38 -04:00
Ryan VanderMeulen
104b8b9345 Merge m-c to inbound. 2013-04-22 13:27:13 -04:00
Ryan VanderMeulen
9d2dac0e32 Backed out changesets f2387d9f146c and d12788533ab7 (bug 860145) for causing topcrashers. 2013-04-22 13:20:12 -04:00
Kannan Vijayan
0e8778dc85 Bug 857838 - Fix script-pc calculatins when iterating on baseline frames. r=jandem 2013-04-22 12:06:46 -04:00
Daniel Holbert
e3f73eb26f Bug 864342: Add static_cast for known-nonnegative signed value, to fix gcc warning. r=djvj 2013-04-22 08:54:30 -07:00