Commit Graph

26047 Commits

Author SHA1 Message Date
Jon Coppeard
d59fbdeff9 Bug 861887 - GC: Rooting in XrayWrapper.cpp - part 1 r=terrence 2013-04-15 18:33:27 +01:00
Jon Coppeard
a10b75f310 Bug 861912 - GC: Remove use of AUTO_MARK_JSVAL in XPConnect r=bholley 2013-04-09 16:42:32 +01:00
Jon Coppeard
acbf815198 Bug 864748 - Avoid accessing uninitialized data when calling a getter r=bholley 2013-04-24 10:45:40 +01:00
Jon Coppeard
dde018a4e7 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
4bd274d30f 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
745d0fc380 Bug 863505 - Disallow unbound name ops in self-hosted code. (r=till) 2013-04-23 21:41:08 -07:00
David Zbarsky
82391d9a22 Bug 861729 - Remove nsPIDOMWindow::GetExtantDocument r=Ms2ger 2013-04-24 00:22:37 -04:00
Brian Hackett
986ed711e2 Bug 862103 - Split GuardShapeOrType into GuardShape and GuardObjectType, r=dvander. 2013-04-23 16:34:02 -06:00
Luke Wagner
b3ca7bafc4 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
b5321f5c82 Bug 864216 - Allow generating IonScriptCounts for asm.js compiled functions, r=luke. 2013-04-23 13:31:03 -06:00
Douglas Crosher
64659d64f2 Bug 863725 - Fix an IonSpew format string typo in Baseline IC. r=jandem 2013-04-20 00:23:54 +10:00
Douglas Crosher
823802ad6d Bug 814179 - Optimize BC ARM JSOP_URSH for a double type result. r=jandem 2013-04-19 22:40:28 +10:00
Chris Peterson
e66d4332b2 Bug 863804 - Fix -Wunused-but-set-variable warnings in NunboxAssembler.h. r=dvander 2013-04-18 19:30:22 -07:00
Chris Peterson
7b5717d764 Bug 863804 - Fix -Wsign-compare warning in MacroAssemblerARM::transferMultipleByRunsImpl(). r=dvander 2013-04-18 19:12:06 -07:00
Andrew McCreight
112097d7d0 Bug 863766 - crash when destroying a JSContext with outstanding requests. r=luke 2013-04-23 09:56:02 -07:00
Bobby Holley
84a715a03b Bug 860494 - Move the named property check further down in XrayWrapper. r=bz 2013-04-23 12:50:17 -04:00
Bobby Holley
a7ec941075 Bug 860494 - Check for native properties before checking named children on XOWs. r=bz 2013-04-23 12:50:17 -04:00
Bobby Holley
69cb919957 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
6259a0e4e1 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
80ab1b136c Bug 856477 - Root rest of XPComponents. r=bholley,terrence 2013-04-23 17:48:05 +02:00
Tom Schuster
57cd547745 Bug 862834 - Root mozJSComponentLoader. r=bholley,terrence 2013-04-23 17:48:05 +02:00
Felix S. Klock II
c4f5638822 Bug 862932 - Fix inlineUnsafeSetTypedArrayElement to match other inlined array ops. r=nmatsakis 2013-04-17 14:58:07 +02:00
Felix S. Klock II
cbd47a1d4e 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
25b57d0026 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
8c92702ecd Merge from mozilla-inbound 2013-04-23 05:39:49 -06:00
Brian Hackett
3d239d98d1 Merge from mozilla-inbound 2013-04-22 20:39:26 -06:00
Brian Hackett
64473f527d Bug 863518 - Consider types added by loop body when unboxing OSR values, r=dvander. 2013-04-22 20:22:30 -06:00
Xin Zhang
5d0104d77b Bug 857385 - Make various JSFunctionSpec arrays const. r=waldo
--HG--
extra : rebase_source : 24141998ffad3b0e6bad98b6fc0ce3754e448d5b
2013-04-22 14:15:49 -07:00
Xin Zhang
25f43429b6 Bug 857385 - Make various JSPropertySpec arrays const. r=waldo
--HG--
extra : rebase_source : 4ad63f7ddf8c441219bb7f30e19d66abf1747fe2
2013-04-22 14:15:36 -07:00
Jon Coppeard
e59e17e471 Bug 864046 - GC: Almost the last rooting fixes in XPConnect - part 2 r=bholley 2013-04-20 13:08:16 +01:00
Jon Coppeard
c97d17668c Bug 864046 - GC: Almost the last rooting fixes in XPConnect - part 1 r=bholley 2013-04-20 10:41:47 +01:00
Jon Coppeard
6990ddac50 Bug 863767 - GC: Rooting for XPCCallContext r=bholley 2013-04-20 09:52:56 +01:00
Brian Hackett
46327a4270 Bug 861419 - Add comment, r=dvander. 2013-04-18 15:18:42 -06:00
Brian Hackett
25ab746246 Bug 863439 - Use BoxInputsPolicy for MUnbox. 2013-04-18 15:12:07 -06:00
Brian Hackett
7796408fa7 Merge from mozilla-inbound. 2013-04-18 13:26:42 -06:00
Ryan VanderMeulen
49aee7fb75 Backed out changeset 36ffb85842ac (bug 862501) for mochitest crashes. 2013-04-18 14:04:14 -04:00
Brian Hackett
1ecb9aa61b 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
220a7d9c7f Bug 862103 - Address review comments, r=jandem. 2013-04-18 07:39:33 -06:00
Brian Hackett
598edcfbee Bug 804676 - Address review comments, r=dvander. 2013-04-18 06:53:31 -06:00
Brian Hackett
efaca8cab2 Bug 862699, bug 862708 - Fix a couple of fuzz bugs. 2013-04-17 16:56:29 -06:00
Jon Coppeard
5bba3f2017 Bug 863289 - GC: Continue the rooting of XPConnect r=bholley 2013-04-17 16:38:44 +01:00
Jan Beich
5ae775d041 Bug 864013 - Let internal libevent use kqueue/kevent with gcc_hidden.h. r=glandium 2013-04-23 10:58:16 +02:00
Brian Hackett
97f5312406 Bug 862103 - Various benchmark performance fixes. 2013-04-15 17:12:51 -06:00
Brian Hackett
b6c152005a Merge m-i to ionmonkey 2013-04-15 05:37:53 -06:00
Brian Hackett
dd96bb8cec Bug 861439 - Add type barriers when reading from undefined properties of singleton objects. 2013-04-15 05:16:23 -06:00
Brian Hackett
433f02381c Bug 861419 - Consider values in prototype when reading global names during Ion compilation. 2013-04-14 06:40:58 -06:00
Luke Wagner
e7560b807c 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
259685d273 Bug 862606 - Shift around some marking for brain transplants (r=bhackett) 2013-04-22 14:04:10 -07:00
Nicholas Nethercote
db1e996d21 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
d384ca9436 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
5bf5a8b84c Merge m-c to inbound. 2013-04-22 13:27:13 -04:00
Ryan VanderMeulen
7d7f88c30c Backed out changesets f2387d9f146c and d12788533ab7 (bug 860145) for causing topcrashers. 2013-04-22 13:20:12 -04:00
Kannan Vijayan
2b3a1e04bf Bug 857838 - Fix script-pc calculatins when iterating on baseline frames. r=jandem 2013-04-22 12:06:46 -04:00
Daniel Holbert
0e8c79280d 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
730feee6f8 Backout 3e7970330a3e for being wrong 2013-04-22 02:01:36 -04:00
Brian Hackett
433aec423e Bug 804676 - Fix various fuzz bugs. 2013-04-12 07:25:50 -06:00
Brian Hackett
835a37c42d Bug 804676 - Remove dependence of Ion compilation on ScriptAnalysis::analyzeTypes. 2013-04-11 18:39:32 -06:00
Brian Hackett
70cc5abe48 No bug - Fix warning spam, r=shu. 2013-04-11 16:25:43 -06:00
Brian Hackett
d63684e291 Bug 855088 - Watch for 'arguments' variables declared within 'with' blocks, r=luke. 2013-04-11 16:19:10 -06:00
Jan de Mooij
39c97d978a Bug 864265 - Move integer exponent check from js_math_pow to ecmaPow. r=h4writer 2013-04-22 12:19:19 +02:00
Ms2ger
88e0c63e61 Merge m-c to m-i. 2013-04-21 09:54:41 +02:00
David Zbarsky
a670bfb881 Bug 856962 - Move Touch to WebIDL bindings; r=mounir 2013-04-21 08:42:19 +02:00
Ms2ger
7aa8595c13 Bug 862999 - Mark XPCCallContext as a stack class; r=bholley 2013-04-21 08:41:17 +02:00
Ms2ger
0f519733b9 Bug 863365 - Log a message when linking libxul with make -s; r=gps 2013-04-21 08:41:13 +02:00
Jan de Mooij
fbf523b8a3 Bug 863349 - Optimize IonMonkey double truncation for large numbers on x86 and x64. r=bhackett 2013-04-19 17:26:53 +02:00
Nathan Froyd
8dadb1a625 Bug 859257 - Backout original fix 4c0d13ce4c4a since ab6e995676bd has superseded it 2013-04-19 10:09:57 -04:00
Bobby Holley
edbf96fe52 Bug 862918 - Add a utility method on Cu to get the class name of an object. r=bz
instanceof is behaving sketchily on modal window, and I want this test to be robust.
2013-04-19 09:49:57 -04:00
Jeff Walden
fe2ec43aaf Bug 863891 - Eliminate warnings by not reusing the *_MIN constants to implement the indefinite integer value. r=jandem
--HG--
extra : rebase_source : 976c96bd0e2fda121bf48c057954aef12f6d096a
2013-04-20 14:13:51 -07:00
David Zbarsky
65a41e7101 Bug 856472: Convert CanvasPattern to WebIDL r=bz 2013-04-19 04:49:22 -04:00
David Zbarsky
7235cdcd53 Bug 856472: Convert TextMetrics to WebIDL r=bz
* * *
Bug 857439 Part 4: Fix MediaStreamList wrapping r=bz
2013-04-19 04:49:22 -04:00
Luke Wagner
c7bbea87f2 Bug 863045 - OdinMonkey: fix duplicate-evaluation in double-to-int coercion (r=sstangl)
--HG--
extra : rebase_source : b6c832b6a2a5a1f25c137ca7e276316b85ff3650
2013-04-17 17:34:29 -07:00
Luke Wagner
94430291c3 Bug 858749 - OdinMonkey: fix join after break when block is empty (r=sstangl)
--HG--
extra : rebase_source : fef8266e5e5903443933bd84b149b904da3d3dee
2013-04-17 17:33:54 -07:00
Kannan Vijayan
0f5850099b Bug 862501 - Make baseline pass more accurate stack-pointer refeference for pushed SPS profiler frames. r=jandem 2013-04-18 12:20:45 -04:00
Bobby Holley
334259c166 Bug 860438 - Use nsCxPusher in JSD. r=gabor 2013-04-18 11:36:05 -04:00
Hannes Verschore
5e5ae073d9 Bug 862777: Hook Odinmonkey up to the spewlogger, r=luke 2013-04-18 15:15:21 +02:00
Tom Schuster
6e22249506 Bug 861461 - Resolve this in sandbox.importFunction. r=bholley 2013-04-14 18:45:36 +02:00
Mike Hommey
074ffdb0b1 Bug 854103 - Ignore the high bits of returnReg in js_InternalInterpret on x86_64 when it actually holds a bool. r=dvander 2013-04-14 10:21:59 +02:00
Mike Hommey
84672f781c Bug 462463 - Add missing add_phony_targets.py file. r=me 2013-04-14 10:12:33 +02:00
Phil Ringnalda
748dfe1092 Back out 104ba36f44c0 (bug 845596) for jsreftest assertions
CLOSED TREE
2013-04-13 19:15:33 -07:00
Jeff Walden
d1c2ba2804 Bug 860931 - Remove a bunch of deadwood autoconf defines. r=ted
--HG--
extra : rebase_source : a6adb8464dca8dc3800d92ea72e7695e928b3f82
2013-03-29 16:18:21 -07:00
Brian Hackett
452bea73bb Bug 845596 - Keep track of free variables during syntax parsing, r=jorendorff. 2013-04-13 18:59:42 -06:00
Phil Ringnalda
14ff153bf9 Back out 390be7c3dd3a (bug 853301) and 029a6cc8ca0a (bug 724533) for b2g desktop Windows build bustage and Windows xpcshell orange
CLOSED TREE
2013-04-13 13:31:01 -07:00
Norbert Lindenberg
eadb35dc1b Bug 724533 - Integrate ICU into the Mozilla build. r=glandium 2013-04-13 12:26:06 -04:00
Jan de Mooij
fa959e3473 Bug 860239 - Make Ion OSR a bit more robust against scripts with multiple loops. r=bhackett 2013-04-13 15:04:22 +02:00
Ryan VanderMeulen
f0a9fe5d92 Merge m-c to inbound. 2013-04-13 08:04:05 -04:00
Brian Hackett
6c10c79b3a Bug 846967 - Allow ParseContext chain to have contexts from different parsers, r=jorendorff. 2013-04-13 04:15:52 -06:00
Ms2ger
069d54680d Bug 858212 - Move FileReader to Paris bindings; r=bz 2013-04-13 09:06:31 +02:00
Ms2ger
5dba9c38a0 Bug 826740 - Part g: Remove HTMLCanvasElement quickstubs; r=khuey 2013-04-13 09:05:58 +02:00
Ms2ger
8f5d5c7049 Bug 841488 - Part d: Move HTMLSelectElement to WebIDL bindings, remove CI and QS; r=khuey 2013-04-13 09:01:59 +02:00
Nathan Froyd
e4396bdb71 Bug 859257 - include jscpucfg.h in NumericConversions.h so DoublePun definitions are correct; r=Waldo 2013-04-12 15:09:38 -04:00
Chris Peterson
0ebc8157d1 Bug 861073 - Add configure check that --with-android-version is at least 9. r=glandium 2013-04-11 23:07:27 -07:00
Douglas Crosher
ae66cd398a Bug 861139 - Fix the return of a floating point value from an ARM asm.js entry. r=mrosenberg 2013-04-12 22:13:51 +10:00
Boris Zbarsky
f7e751861b Bug 860591. Install WebIDL quickstubs for event interfaces as needed. r=smaug 2013-04-12 10:51:25 -04:00
Terrence Cole
4306cec02d Bug 854788 - Add a missing recursion check on Proxy::objectClassIs. r=m_kato, r=Waldo 2013-04-10 15:01:52 -07:00
Shu-yu Guo
68741abfa0 Bug 857836 - Assertion failure: paTypeObject->getPropertyCount() == NumFixedSlots, at builtin/ParallelArray.cpp. r=bhackett 2013-04-12 23:04:52 -04:00
Tom Schuster
7ec089ebaf Bug 854614 - Root result and argument JS::Values. r=bz 2013-04-11 13:57:03 +02:00
Ryan VanderMeulen
44378e44ad No bug - Fix typo. 2013-04-12 23:04:51 -04:00
Ryan VanderMeulen
b75fade323 Backed out changeset 8ce65f4eb1ba (bug 820170) for suspicion of causing bug 860903 on a CLOSED TREE. 2013-04-12 13:57:46 -04:00
Boris Zbarsky
cfcc19e96d Back out bug 860591 (rev 8488f69f8f91) because it causes orange, resulting in a CLOSED TREE 2013-04-12 12:50:06 -04:00
Ryan VanderMeulen
b880048f4e Backed out 2 changesets (bug 850362, bug 600307) for Windows XP leaks on a CLOSED TREE. 2013-04-11 17:00:28 -04:00