Commit Graph

26007 Commits

Author SHA1 Message Date
Luke Wagner
925b241539 Bug 857700 - Fix race condition in AsmJSMachExceptionHandler (r=vlad)
--HG--
extra : rebase_source : bba872fdedfc119468ad586eca97b00881a5dee9
2013-04-18 21:45:33 -07:00
Bobby Holley
f4fb2c0693 Bug 865260 - Use IsXrayWrapper rather than ObjectIsNativeWrapper in nsWindowSH. r=bz
There are some other uses of ObjectIsNativeWrapper in other scriptable helpers
that are tempting to remove as well, but it's probably just better to wait for
that stuff to just go away. Given that the issue we're running into here is
Window-specific, there's not a pressing need to fix the other stuff.
2013-04-24 15:21:26 -07:00
Till Schneidereit
cbcc26a5b0 Bug 856246 - support specifying thread count in jit-test metalines. r=terrence 2013-04-24 15:46:37 +01:00
Till Schneidereit
8125daee22 Bug 851788 - prevent jsd_SetExecutionHook from operating on self-hosted functions. r=jimb 2013-04-23 12:58:24 +01:00
Jon Coppeard
944a8fc0d8 Bug 861887 Review comments for prev patch r=bholley
--HG--
extra : rebase_source : 7f91680f5f7249c9fb09708eb790bdc19c779c67
2013-04-24 14:22:21 +01:00
Felix S. Klock II
bd1d278cbd Bug 863234 - Fix inlineDump handling for MParDump. r=nmatsakis 2013-04-18 15:38:13 +02:00
Jan de Mooij
7af1562988 Bug 858551 part 2 - Optimize calls from Ion to Baseline code. r=djvj 2013-04-24 12:43:24 +02:00
Jon Coppeard
ca8a10bd6b Bug 864002 - IonMonkey: Assertion failure: (ptrBits & 0x7) == 0, at ./dist/include/js/Value.h:733... r=djvj 2013-04-24 11:34:38 +01:00
Jon Coppeard
e29fd72022 Bug 860145 - IonMonkey: Add support for ArgumentsObject r=nbp 2013-04-24 11:34:38 +01:00
Jon Coppeard
6ba0acddc0 Bug 861887 - GC: Rooting in XrayWrapper.cpp - part 2 r=bholley 2013-04-24 10:45:41 +01:00
Jon Coppeard
a590630107 Bug 861887 - GC: Rooting in XrayWrapper.cpp - part 1 r=terrence 2013-04-15 18:33:27 +01:00
Jon Coppeard
203717c2c2 Bug 861912 - GC: Remove use of AUTO_MARK_JSVAL in XPConnect r=bholley 2013-04-09 16:42:32 +01:00
Jon Coppeard
362746def2 Bug 864748 - Avoid accessing uninitialized data when calling a getter r=bholley 2013-04-24 10:45:40 +01:00
Jon Coppeard
204e28320f Bug 864738 - Shell crashes when run with GC zeal 10,1 from command line r=billm 2013-04-24 10:45:40 +01:00
Ed Morley
8f70d125c2 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
41362100fc Bug 863505 - Disallow unbound name ops in self-hosted code. (r=till) 2013-04-23 21:41:08 -07:00
David Zbarsky
e7c500d80d Bug 861729 - Remove nsPIDOMWindow::GetExtantDocument r=Ms2ger 2013-04-24 00:22:37 -04:00
Brian Hackett
b14719bb2d Bug 862103 - Split GuardShapeOrType into GuardShape and GuardObjectType, r=dvander. 2013-04-23 16:34:02 -06:00
Luke Wagner
c880e28ec5 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
c82520f2a0 Bug 864216 - Allow generating IonScriptCounts for asm.js compiled functions, r=luke. 2013-04-23 13:31:03 -06:00
Douglas Crosher
38bb9ac294 Bug 863725 - Fix an IonSpew format string typo in Baseline IC. r=jandem 2013-04-20 00:23:54 +10:00
Douglas Crosher
9a7bdb4017 Bug 814179 - Optimize BC ARM JSOP_URSH for a double type result. r=jandem 2013-04-19 22:40:28 +10:00
Chris Peterson
160c46240e Bug 863804 - Fix -Wunused-but-set-variable warnings in NunboxAssembler.h. r=dvander 2013-04-18 19:30:22 -07:00
Chris Peterson
f0be2c4126 Bug 863804 - Fix -Wsign-compare warning in MacroAssemblerARM::transferMultipleByRunsImpl(). r=dvander 2013-04-18 19:12:06 -07:00
Andrew McCreight
9682bb329c Bug 863766 - crash when destroying a JSContext with outstanding requests. r=luke 2013-04-23 09:56:02 -07:00
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