Commit Graph

25982 Commits

Author SHA1 Message Date
Bobby Holley
e37f15193b Bug 860494 - Move the named property check further down in XrayWrapper. r=bz 2013-04-23 12:50:17 -04:00
Bobby Holley
f8cf107b85 Bug 860494 - Check for native properties before checking named children on XOWs. r=bz 2013-04-23 12:50:17 -04:00
Bobby Holley
648f5a0630 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
086326bbd1 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
404b9fb391 Bug 856477 - Root rest of XPComponents. r=bholley,terrence 2013-04-23 17:48:05 +02:00
Tom Schuster
88d7dfb0b5 Bug 862834 - Root mozJSComponentLoader. r=bholley,terrence 2013-04-23 17:48:05 +02:00
Felix S. Klock II
0e84496a1d Bug 862932 - Fix inlineUnsafeSetTypedArrayElement to match other inlined array ops. r=nmatsakis 2013-04-17 14:58:07 +02:00
Felix S. Klock II
6ba087a6e6 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
3b88aa7514 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
83cb6b192b Merge from mozilla-inbound 2013-04-23 05:39:49 -06:00
Brian Hackett
119e362cf3 Merge from mozilla-inbound 2013-04-22 20:39:26 -06:00
Brian Hackett
110ab9881e Bug 863518 - Consider types added by loop body when unboxing OSR values, r=dvander. 2013-04-22 20:22:30 -06:00
Xin Zhang
5e389b35b8 Bug 857385 - Make various JSFunctionSpec arrays const. r=waldo
--HG--
extra : rebase_source : 24141998ffad3b0e6bad98b6fc0ce3754e448d5b
2013-04-22 14:15:49 -07:00
Xin Zhang
a0b5d7e7b5 Bug 857385 - Make various JSPropertySpec arrays const. r=waldo
--HG--
extra : rebase_source : 4ad63f7ddf8c441219bb7f30e19d66abf1747fe2
2013-04-22 14:15:36 -07:00
Jon Coppeard
0168573b24 Bug 864046 - GC: Almost the last rooting fixes in XPConnect - part 2 r=bholley 2013-04-20 13:08:16 +01:00
Jon Coppeard
c1a74a031c Bug 864046 - GC: Almost the last rooting fixes in XPConnect - part 1 r=bholley 2013-04-20 10:41:47 +01:00
Jon Coppeard
c8f9448382 Bug 863767 - GC: Rooting for XPCCallContext r=bholley 2013-04-20 09:52:56 +01:00
Brian Hackett
b0deb3709f Bug 861419 - Add comment, r=dvander. 2013-04-18 15:18:42 -06:00
Brian Hackett
73f5d13a99 Bug 863439 - Use BoxInputsPolicy for MUnbox. 2013-04-18 15:12:07 -06:00
Brian Hackett
6df18483a7 Merge from mozilla-inbound. 2013-04-18 13:26:42 -06:00
Ryan VanderMeulen
fd708b30d1 Backed out changeset 36ffb85842ac (bug 862501) for mochitest crashes. 2013-04-18 14:04:14 -04:00
Brian Hackett
ca5b7ec1f2 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
e072b3f322 Bug 862103 - Address review comments, r=jandem. 2013-04-18 07:39:33 -06:00
Brian Hackett
6e42b26aff Bug 804676 - Address review comments, r=dvander. 2013-04-18 06:53:31 -06:00
Brian Hackett
dc9a366fa8 Bug 862699, bug 862708 - Fix a couple of fuzz bugs. 2013-04-17 16:56:29 -06:00
Jon Coppeard
7a5d88e2a2 Bug 863289 - GC: Continue the rooting of XPConnect r=bholley 2013-04-17 16:38:44 +01:00
Jan Beich
be2d4b2e27 Bug 864013 - Let internal libevent use kqueue/kevent with gcc_hidden.h. r=glandium 2013-04-23 10:58:16 +02:00
Brian Hackett
412e5bed22 Bug 862103 - Various benchmark performance fixes. 2013-04-15 17:12:51 -06:00
Brian Hackett
3643a73141 Merge m-i to ionmonkey 2013-04-15 05:37:53 -06:00
Brian Hackett
ea9d5eb906 Bug 861439 - Add type barriers when reading from undefined properties of singleton objects. 2013-04-15 05:16:23 -06:00
Brian Hackett
045c325da9 Bug 861419 - Consider values in prototype when reading global names during Ion compilation. 2013-04-14 06:40:58 -06:00
Luke Wagner
de5a7249f9 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
db579e7cbe Bug 862606 - Shift around some marking for brain transplants (r=bhackett) 2013-04-22 14:04:10 -07:00
Nicholas Nethercote
f2da0908c8 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
52402c2b14 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
e190b1ec50 Merge m-c to inbound. 2013-04-22 13:27:13 -04:00
Ryan VanderMeulen
6530b3e00f Backed out changesets f2387d9f146c and d12788533ab7 (bug 860145) for causing topcrashers. 2013-04-22 13:20:12 -04:00
Kannan Vijayan
d549443ef1 Bug 857838 - Fix script-pc calculatins when iterating on baseline frames. r=jandem 2013-04-22 12:06:46 -04:00
Daniel Holbert
6837e0d82f Bug 864342: Add static_cast for known-nonnegative signed value, to fix gcc warning. r=djvj 2013-04-22 08:54:30 -07:00
David Zbarsky
478f402ed9 Backout 3e7970330a3e for being wrong 2013-04-22 02:01:36 -04:00
Brian Hackett
09310478d5 Bug 804676 - Fix various fuzz bugs. 2013-04-12 07:25:50 -06:00
Brian Hackett
2b38007157 Bug 804676 - Remove dependence of Ion compilation on ScriptAnalysis::analyzeTypes. 2013-04-11 18:39:32 -06:00
Brian Hackett
3ee89269e4 No bug - Fix warning spam, r=shu. 2013-04-11 16:25:43 -06:00
Brian Hackett
9e809c98e5 Bug 855088 - Watch for 'arguments' variables declared within 'with' blocks, r=luke. 2013-04-11 16:19:10 -06:00
Jan de Mooij
a0f885d6f8 Bug 864265 - Move integer exponent check from js_math_pow to ecmaPow. r=h4writer 2013-04-22 12:19:19 +02:00
Ms2ger
7c1ae1ff7c Merge m-c to m-i. 2013-04-21 09:54:41 +02:00
David Zbarsky
a32d3dd112 Bug 856962 - Move Touch to WebIDL bindings; r=mounir 2013-04-21 08:42:19 +02:00
Ms2ger
c8fdfda9cb Bug 862999 - Mark XPCCallContext as a stack class; r=bholley 2013-04-21 08:41:17 +02:00
Ms2ger
f82b48f7ca Bug 863365 - Log a message when linking libxul with make -s; r=gps 2013-04-21 08:41:13 +02:00
Jan de Mooij
6dfc83e220 Bug 863349 - Optimize IonMonkey double truncation for large numbers on x86 and x64. r=bhackett 2013-04-19 17:26:53 +02:00