Commit Graph

32939 Commits

Author SHA1 Message Date
Jon Coppeard
1e34d2334e Bug 992866 - Fix assertion in JSObject::initDenseElementsUnbarriered r=sfink 2014-04-15 09:44:01 +01:00
Shu-yu Guo
ed523a36d7 Bug 995076 - Unconditionally replace null/undefined/magic-typed OSR slots. (r=h4writer) 2014-04-14 22:00:07 -07:00
Shu-yu Guo
afd4d7e3b4 Bug 995077 - Preserve phis whose slots are arguments object inside functions that need it. (r=jandem) 2014-04-14 22:00:07 -07:00
Shu-yu Guo
4bb7a376ed Bug 994444. (r=nbp) 2014-04-14 22:00:07 -07:00
Bobby Holley
db7038119f Bug 993423 - Don't hoist <svg:use> content into the XBL scope. r=smaug 2014-04-14 20:38:54 -07:00
Bobby Holley
f223b1107f Bug 989528 - Rename AutoSystemCaller to AutoNoJSAPI, and assert against pre-existing exceptions. r=bz 2014-04-14 20:27:00 -07:00
Bobby Holley
e46565fd18 Bug 989528 - Introduce AutoJSAPIWithErrorsReportedToWindow as a replacement for AutoPushJSContextForErrorReporting. r=bz 2014-04-14 20:26:59 -07:00
Bobby Holley
bae8ff964e Bug 989528 - Introduce a mechanism to explicitly enter a null compartment. r=luke 2014-04-14 20:26:59 -07:00
Phil Ringnalda
5e0b2af8b2 Back out d1f1725198da (bug 983460) on suspicion of mochitest-chrome assertions
CLOSED TREE
2014-04-14 18:36:01 -07:00
Phil Ringnalda
1fc75dbc59 Back out c70626e77e9f (bug 978235) on suspicion of mochitest-chrome assertions
CLOSED TREE
2014-04-14 18:35:46 -07:00
Jeff Walden
8e3a6ac462 Bug 988619 - Fix bad includes bustage. r=njn over IRC to fix bustage in a CLOSED TREE
--HG--
rename : js/src/jit/ExecutionModeInlines.h => js/src/jit/ExecutionMode-inl.h
2014-04-14 18:26:15 -07:00
Brian Hackett
d379985ea4 Bug 988619 - Handle OOM when sweeping type information, r=jandem. 2014-04-14 18:22:17 -06:00
Eric Faust
2fde634149 Bug 978235 - ES6 Proxies: Implement [[IsExtensible]] trap. (r=jorendorff) 2014-04-14 15:52:26 -07:00
Eric Faust
ad1fc89453 Bug 983460 - Opcodes.h has an extra TMPSLOT for JSOP_SETPROP. (r=jandem) 2014-04-14 15:52:24 -07:00
Luke Wagner
2a67984039 Bug 980447 - Add persistenceType argument to nsIQuotaManager.clearStoragesForURI (r=janv)
--HG--
extra : rebase_source : 4d034bd92b099bd1385fc9e8a95fa959fc8e51e0
2014-04-14 15:48:49 -05:00
Tooru Fujisawa
8d898aff04 Bug 918987 - Implement String.prototype.normalize. r=jwalden
--HG--
extra : rebase_source : c634fd1961c1eb004bc4e0dd9ed26047abb285b4
2014-04-09 14:38:24 -07:00
Jeff Walden
0b6b929d17 Bug 983053 - Don't suppress-deleted-elements on an object that's not in the middle of iteration. r=jorendorff
--HG--
extra : rebase_source : 3cd83274ff2050c864411ddf81ff9e74b0a8dfbe
2014-03-25 10:29:59 -04:00
Tooru Fujisawa
24ff34c172 Bug 471713 - Part 5: Add documentation for operators and stack. r=jwalden
--HG--
extra : rebase_source : 4774a7b194cc4c172ee6fcf153fcae18db0c13b6
2014-04-02 19:33:14 +09:00
Terrence Cole
9043eb77b7 Bug 990336 - Deduplicate subsequent pushes to the store buffer; r=jonco
--HG--
extra : rebase_source : 7f7418c4e90ab292a39aa3931b25bb7a0a89634b
2014-04-08 10:23:56 -07:00
Terrence Cole
294fcd67ef Bug 990336 - Deduplicate the slots edge buffer normally; r=jonco 2014-04-08 10:23:50 -07:00
Bobby Holley
55d4fbb621 Bug 995123 - Associate sandboxPrototyped Sandboxes to their prototype Window, if it exists. r=bz 2014-04-14 08:56:38 -07:00
Benjamin Bouvier
8f936fb594 Bug 988416: Test for the Intl property existence before using it; r=till
--HG--
extra : rebase_source : 4a839ccee7d233de918898e88e3615eacd6d3c41
2014-04-14 17:43:33 +02:00
Nicolas B. Pierron
1026a06ffa Bug 950044 - Fix miss-interpretation of current Desktop GC settings. r=gwagner 2014-04-14 08:32:02 -07:00
Nicolas B. Pierron
fd58bde9f6 Bug 995165 - Fix ARM v6 GC settings. r=terrence 2014-04-14 08:32:02 -07:00
Benjamin Bouvier
3c4fb1d192 Bug 979867: Kill mixed sign comparison warning; r=lth
--HG--
extra : rebase_source : 91d3898d7716b3bfb36d20503d8d14b32b85152c
2014-04-14 17:03:11 +02:00
Terrence Cole
60eb0bb587 Bug 988950 - Speed up post barrier checks in Ion r=jandem 2013-09-30 14:18:01 -07:00
Benjamin Bouvier
eaa4a67faf Bug 994181: Tracelogger: convert integer to platform-specific pointer before writing it as a pointer; r=h4writer 2014-04-14 15:41:00 +02:00
Benjamin Bouvier
621ee2b32f Bug 995180: Eliminate unused FromMIRType function; r=luke
--HG--
extra : rebase_source : f5d5bddc797ee50c1b6949875f6fffbd6f0fed74
2014-04-14 12:05:51 +02:00
Jan de Mooij
5c619128de Bug 991457 - Don't DCE MLoadElement if it needs a hole check. r=h4writer 2014-04-14 15:20:11 +02:00
Ehsan Akhgari
239fa59ff5 Bug 995754 - Remove nsIDOMToString; r=bzbarsky 2014-04-13 18:53:36 -04:00
Nicholas Nethercote
c295279b43 Bug 992274 (part 1) - Tweak an edge case in line number handling. r=jorendorff. 2014-04-06 21:31:04 -07:00
Terrence Cole
9c089cfe19 Bug 984101 - Undo some of our more aggressive new poisoning to get back performance. r=jonco 2014-04-09 08:11:06 -07:00
Terrence Cole
578c145733 Bug 995442 - Don't post-barrier non-objects in the browser; r=sfink 2014-04-11 14:29:14 -07:00
Sean Stangl
8ffc6c5283 Bug 995421 - Fix out-of-order comment in TransparentTypedObject::class_. 2014-04-11 13:41:19 -07:00
Sean Stangl
0ca496badd Bug 856796 - Attempt detection of YARR bug; r=till 2014-04-07 13:43:50 -07:00
Olli Pettay
f2b59ae546 Bug 688580 - Run deferred scripts before DOMContentLoaded; r=hsivonen 2014-04-12 11:02:21 +02:00
Ms2ger
21fcb9c219 Bug 983989 - Part c: Cleanup XPCConvert::NativeData2JS; r=bholley 2014-04-12 10:15:58 +02:00
Ms2ger
d62cefa5cc Bug 983989 - Part b: Simplify code flow in XPCConvert::NativeData2JS; <3,r=bholley 2014-04-12 10:15:57 +02:00
Ms2ger
5356f4e89e Bug 983989 - Part a: Reindent XPCConvert::NativeData2JS; r=bholley 2014-04-12 10:15:56 +02:00
Boris Zbarsky
a13f2f38be Bug 995047. Change out stack/exception APIs to hand out AString instead of AUTF8String for filename/functionname, so we end up with fewer string conversions in practice. r=smaug 2014-04-11 22:20:40 -04:00
Brian Hackett
b799035ebb Bug 991336 - Improve checking around CompileInfo sweep indexes, r=jandem. 2014-04-11 17:25:34 -06:00
Brian Hackett
553f14a5f2 Bug 992256 - Crash on OOM during worker thread initialization, r=h4writer. 2014-04-11 17:17:18 -06:00
Tom Schuster
fcbd830f87 Bug 925123 - Add Math.clz32 builtin. r=till 2014-04-11 17:24:58 +02:00
Terrence Cole
f1c1c5d8c6 Bug 994054 - MacOS's madvise implementation is unworkably slow; r=jandem 2014-04-09 10:48:17 -07:00
Hannes Verschore
de09efab39 Bug 994163 - TraceLoggeing: Fix --disable-threadsafe builds, r=bbouvier 2014-04-11 23:33:20 +02:00
Ed Morley
c3bd41903d Backed out changeset e8dfde56e9ca (bug 925123) for jsreftest failures; CLOSED TREE 2014-04-11 17:32:38 +01:00
Kannan Vijayan
40cb1aee21 Bug 993071 - Add optimization tier info to js profiler pseudostack entries. r=luke 2014-04-11 11:58:55 -04:00
Bobby Holley
c21152b980 Bug 993438 - Stop implicitly cloning, and assertSameCompartment. r=billm 2014-04-11 08:47:43 -07:00
Bobby Holley
211b631fae Bug 993438 - Infer the eventual compartment for OMT-compiled script when the script is retrieved. r=billm
Currently, the script gets put in a compartment specified when the compilation
is initiated. Later on, when we retrieve that script and try to execute it, we
won't necessarily be in the same compartment. Currently, SM just handles this
and clones the script, but it's simpler and more efficient to just create the
script in the compartment of whoever calls FinishOffThreadScript.

Note that the existing code actually has a hazard in which the call to
GetBuiltinPrototypePure returns null - it just wasn't exercised in automation
(and was triggered by onNewScript-off-main-thread.js with this patch).
2014-04-11 08:47:43 -07:00
Bobby Holley
5a45588f17 Bug 993438 - Add the necessary APIs. r=billm 2014-04-11 08:47:42 -07:00
Tom Schuster
7c5de09f23 Bug 925123 - Add Math.clz32 builtin. r=till 2014-04-11 17:24:58 +02:00
Till Schneidereit
ddf9066491 Bug 911147 - Implement Array.prototype.fill. r=jorendorff
--HG--
extra : rebase_source : c75210fc3b73a6752f8d9e97c6e376c2f10fbc5c
2014-04-11 17:07:27 +02:00
Till Schneidereit
7a5e5856b4 Bug 995200 - Enable strict mode for self-hosted code in opt builds, too. r=jorendorff
--HG--
extra : rebase_source : bd1ba070396f8556b112dd1dc5b30b3ff5e40fb0
2014-04-11 16:07:30 +02:00
Bobby Holley
60b28294e0 Bug 990290 - Remove JS_GetObjectId. r=terrence 2014-04-11 07:59:47 -07:00
Bobby Holley
77804e57dd Bug 990290 - Expose JSAPI functions for creating and manipulating scripted WeakMaps. r=terrence 2014-04-11 07:59:46 -07:00
Dan Gohman
fadf255dc5 Bug 994993 - IonMonkey: Don't disable math function optimization when there's no cache. r=jandem 2014-04-11 06:50:10 -07:00
Luke Wagner
298c0cefa8 Bug 994937 - remove some JSOP_CALL opcodes (r=djvj)
--HG--
extra : rebase_source : 8859238bb98fe91f6c7bbb99d3eab3fee6936b69
2014-04-10 17:52:52 -05:00
Ed Morley
5a0814325c Backed out changeset 592e6de7211b (bug 983989) 2014-04-10 15:48:11 +01:00
Ed Morley
cb516b6ec5 Backed out changeset 91885eced736 (bug 983989) 2014-04-10 15:48:08 +01:00
Ed Morley
011ff99731 Backed out changeset 14ab9b8d15be (bug 983989) 2014-04-10 15:48:04 +01:00
Dan Gohman
5bb53b474c Bug 967709 - IonMonkey: Optimized implementations of Math.sin and Math.cos. r=jorendorff 2014-04-09 11:28:17 -07:00
Carsten "Tomcat" Book
6ffc5faca7 Backed out changeset df6f9e684cac (bug 993768) mochitest-1 test failure 2014-04-10 16:07:48 +02:00
Jon Coppeard
dc1acbbbdc Bug 993768 - Handle TypeArrayObjects when tenuring r=terrence 2014-04-10 13:46:58 +01:00
Till Schneidereit
e799f21b60 Bug 988416 - Part 2: Add safe _DefineValueProperty self-hosting intrinsic. r=jwalden
--HG--
extra : rebase_source : 029e4b5f57b692657b55781959e65c59ebfe355e
2014-04-10 14:07:03 +02:00
Till Schneidereit
955f4c3560 Bug 988416 - Part 1: Extract self-hosting #defines into builtin/SelfHostingDefines.h. r=jwalden
--HG--
extra : rebase_source : 73008ee9e390a527bdc48d27c6ee499b8593b983
2014-04-10 14:07:03 +02:00
Till Schneidereit
cf2dfac89d Bug 993075 - Change FinishTakingSrcNotes to return bool and take an outparam for the source note count. r=luke
--HG--
extra : rebase_source : 604fd7221d6fc3cd71e44cecb374640ed82c12f6
2014-04-10 14:07:03 +02:00
Ms2ger
90d03e3ff8 Bug 983989 - Part c: Cleanup XPCConvert::NativeData2JS; r=bholley 2014-04-10 13:24:25 +02:00
Ms2ger
b120ac1b56 Bug 983989 - Part b: Simplify code flow in XPCConvert::NativeData2JS; <3,r=bholley 2014-04-10 13:24:25 +02:00
Ms2ger
c3c1cc461d Bug 983989 - Part a: Reindent XPCConvert::NativeData2JS; r=bholley 2014-04-10 13:24:24 +02:00
Carsten "Tomcat" Book
661931f6a3 Backed out changeset 89a91619a2ae (bug 984101) for bustage 2014-04-10 10:03:47 +02:00
Terrence Cole
e3621d0260 Bug 984101 - Undo some of our more aggressive new poisoning to get back performance. r=jonco 2014-04-09 08:11:06 -07:00
Boris Zbarsky
adc450e8a7 Bug 993889 part 4. Remove the scope argument of xpc_FastGetCachedWrapper. r=bholley 2014-04-10 00:58:42 -04:00
Boris Zbarsky
3738611b99 Bug 993889 part 1. Remove "scope" argument from nsContentUtils::WrapNative. r=bholley 2014-04-10 00:58:41 -04:00
Benjamin Bouvier
7bb5ba0dba Bug 944392: Remove reference to PRThread in Tracelogger.h to reenable tracelogging compilation, on a CLOSED TREE; r=h4writer over irc 2014-04-09 18:16:40 +02:00
Hannes Verschore
7da63ea394 Bug 944392: Tracelogging: Fix --enable-nspr-build builds, r=bbouvier 2014-04-09 16:27:22 +02:00
Hannes Verschore
18b41f56d0 Bug 944392: Tracelogging: Fix incorrect numbering of files, r=bbouvier 2014-04-09 16:27:18 +02:00
Hannes Verschore
a4b0c524bb Bug 944392 - Tracelogging: Move to vm subdirectory, r=till,bbouvier
--HG--
rename : js/src/TraceLogging.cpp => js/src/vm/TraceLogging.cpp
rename : js/src/TraceLogging.h => js/src/vm/TraceLogging.h
2014-04-09 14:21:20 +02:00
Hannes Verschore
3be7d6b7cd Bug 989152 - Tracelogging: Log the ion compilation passes, r=bhackett 2014-04-09 14:21:04 +02:00
Hannes Verschore
a636f34117 Bug 989152 - Tracelogging: Add support for TLLOG flags, r=till 2014-04-09 14:20:56 +02:00
Hannes Verschore
f6843062b7 Bug 944706 - Tracelogging: Make it possible to flush an incomplete tree, r=bbouvier 2014-04-09 14:20:49 +02:00
Hannes Verschore
28d23c2884 Bug 944392 - Tracelogging: Land version 0.2, r=till,bbouvier 2014-04-09 14:20:39 +02:00
Jan de Mooij
02406ce983 Bug 988993 - Ion-compile scripts with arrow functions. r=bhackett 2014-04-09 13:57:32 +02:00
Hannes Verschore
59e1c9cc53 Bug 945512: IonMonkey: Make regexp only hoistable after analysis it is safe, r=sstangl 2014-04-09 13:16:20 +02:00
Dan Gohman
7cad134034 Bug 985130 - IonMonkey: Use possibleCalls() instead of isCall(), to handle nodes like ApplyArgs, on a CLOSED TREE r=me 2014-04-08 17:58:45 -07:00
Dan Gohman
fd6e1e6d15 Bug 985130 - IonMonkey: Omit over-recursion checks in leaf functions. r=luke 2014-04-08 16:00:29 -07:00
Terrence Cole
fe303ddb4d Bug 990336 - Change the representation of SlotEdge for better performance; r=jonco 2014-04-08 10:22:21 -07:00
Boris Zbarsky
35fca5eeeb Bug 991742 part 8. Remove the "aScope" argument of WebIDL/nsWrapperCache WrapObject() methods. r=bholley
This patch was mostly generated with the following command:

find . -name "*.h" -o -name "*.cpp" | xargs sed -e '/WrapObject(JSContext/ {; N; s/\(WrapObject(JSContext *\* *a\{0,1\}[Cc]x\),\n\{0,1\} *JS::Handle<JSObject\*> a\{0,1\}[sS]cope/\1/ ; }' -i ""

and then reverting the changes that made to
dom/bindings/BindingUtils.h, since those WrapObject methods are not
the ones we're trying to change here, plus a bunch of manual fixups
for cases that this command did not catch (including all the callsites
of WrapObject()).
2014-04-08 18:27:18 -04:00
Boris Zbarsky
56f44fdf10 Bug 991742 part 6. Remove the "aScope" argument of binding Wrap() methods. r=bholley
This patch was mostly generated with this command:

find . -name "*.h" -o -name "*.cpp" | xargs sed -e 's/Binding::Wrap(aCx, aScope, this/Binding::Wrap(aCx, this/' -e 's/Binding_workers::Wrap(aCx, aScope, this/Binding_workers::Wrap(aCx, this/' -e 's/Binding::Wrap(cx, scope, this/Binding::Wrap(cx, this/' -i ""

plus a few manual fixes to dom/bindings/Codegen.py, js/xpconnect/src/event_impl_gen.py, and a few C++ files that were not caught in the search-and-replace above.
2014-04-08 18:27:17 -04:00
Boris Zbarsky
d3234363d3 Bug 991742 part 1. Enter the compartment of the current wrapper before we try to reparent objects. r=bholley
This lets us preserve some invariants about our current compartment matching the scope we want to wrap into.
2014-04-08 18:27:15 -04:00
Jason Orendorff
fa1d1db711 Follow-up to bug 990787 - Fix GC hazards introduced by part 1 and part 4, caught by static analysis. Pushing to a CLOSED TREE. r=sfink. 2014-04-08 15:43:39 -05:00
Jason Orendorff
bdae1ae9c4 Bug 991036 - Improve temperamental assertion in js::jit::Label::~Label() when doing OOM testing. r=jandem.
--HG--
extra : rebase_source : 98b073ac3536b02b9e8740e61816ea3b9eddc96c
2014-04-08 12:52:24 -05:00
Jason Orendorff
ec4cfcd111 Bug 990787, part 12 - Propagate errors correctly in a few more places in js/src/jit. r=jandem.
--HG--
extra : rebase_source : ec8158e699bd0c29dd04bd3d9f4f401e680b6cb7
2014-04-08 12:35:19 -05:00
Jason Orendorff
c6595ec214 Bug 990787, part 11 - Properly report OOM in js::jit::AnalyzeNewScriptProperties. r=jandem.
--HG--
extra : rebase_source : 54b8f94fe52ab6ee3349dcd188861c73b134401d
2014-04-08 12:35:19 -05:00
Jason Orendorff
2cd99f5cc7 Bug 990787, part 10 (Note: There is no part 9; it was obsoleted by another bug) - Propagate OOM from MBasicBlock::addPredecessor to its callers. r=h4writer.
--HG--
extra : rebase_source : 79f913e614beb57045ff37c8ae6453a9a6552f89
2014-04-08 12:35:19 -05:00
Jason Orendorff
84614f9b19 Bug 990787, part 8 - Add an OOM check in WeakMap_set_impl. r=Waldo.
--HG--
extra : rebase_source : e97b20a18d5cc0b3f76f2bd2333a18cf5587fbaf
2014-04-08 12:35:19 -05:00
Jason Orendorff
41dd38dcf1 Bug 990787, part 7 - Propagate OOM from probes::EnterScript; make probes::ExitScript return void, as it can't fail. r=jandem.
--HG--
extra : rebase_source : 31e7a5643a5831c2fe1dae63f9d80c3f78df43fa
2014-04-08 12:35:18 -05:00
Jason Orendorff
0d58c7dde0 Bug 990787, part 6 - If a Compressor object is never successfully initialized, don't call deflateEnd in the destructor. r=luke.
--HG--
extra : rebase_source : 3ac0ef84110f119d7b5f89742434c7db9619df29
2014-04-08 12:35:18 -05:00
Jason Orendorff
e9541a4f84 Bug 990787, part 5 - When allocating a small object in Ion fails, explicitly crash rather than returning nullptr and then crashing near null when initializing the object. This is for the convenience of OOM testing machinery. r=njn.
--HG--
extra : rebase_source : 4108a6543428cd4823fea8c2f1525d612cc58aae
2014-04-08 12:35:18 -05:00
Jason Orendorff
a586c356ac Bug 990787, part 4 - When Shape::search fails to allocate a shape table, clear the OOM exception, as we are not going to propagate the error. r=shu.
--HG--
extra : rebase_source : b96f8477d7f4df70f9d0ba6b6e92b91c7b19ba4d
2014-04-08 12:35:18 -05:00
Jason Orendorff
32950f42e3 Bug 990787, part 3 - Add an OOM check in js_InitArrayClass. r=njn.
--HG--
extra : rebase_source : 60cef5ef99809dbf2c9d19dde1dcaa81fd70ebea
2014-04-08 12:35:17 -05:00
Jason Orendorff
e703146ea9 Bug 990787, part 2 - Don't call markUnknown again after GetProperty fails; once is enough. r=jandem.
--HG--
extra : rebase_source : e7776f6f054b5dc85339091497d65be7354afd38
2014-04-08 12:35:17 -05:00
Jason Orendorff
941ab7fb5d Bug 990787, part 1 - When JSObject::shrinkElements can't reallocate the array to shrink it, clear the OOM exception, as we are not going to propagate the error. r=shu.
--HG--
extra : rebase_source : 42d1d8c25a0b31d20b137ca4f2ff7f592e7fdcd8
2014-04-08 12:35:17 -05:00
Kannan Vijayan
85c81d99a9 Bug 993071 - Rename FunctionBoundary IR instructions to ProfilerStackOp. r=luke 2014-04-08 12:16:18 -04:00
Nicolas B. Pierron
f8f81167f9 Bug 989930 - Convert from reading frames to reading instructions. r=h4writer 2014-04-08 07:21:19 -07:00
Nicolas B. Pierron
163a30a71c Bug 989934 - Do not rely on SnapshotIterator::frameCount to iterate over inline frames. r=djvj 2014-04-08 07:21:19 -07:00
Nicolas B. Pierron
caf7ff8cc4 Bug 989759 part 2 - Dispatch base on the instruction identifier. r=jandem 2014-04-08 07:21:19 -07:00
Nicolas B. Pierron
fdad35afca Bug 989759 part 1 - Identify every ResumePoint RInstruction. r=jandem 2014-04-08 07:21:18 -07:00
Nicolas B. Pierron
730542971d Bug 989748 - Add RResumePoint to read recovery data. r=jandem 2014-04-08 07:21:18 -07:00
Nicolas B. Pierron
5e2d173fb5 Bug 989667 - Add writes of recovery meta-data to the MResumePoint. r=h4writer 2014-04-08 07:21:17 -07:00
Nicolas B. Pierron
f68fda258d Bug 989641 - Move FlattenedMResumePointIter into LRecover. r=jandem 2014-04-08 07:21:15 -07:00
Peter Van der Beken
bf31c92b39 Bug 993057 - Fix Xrays to disallow indexed expando properties on Xrays for Window with a WebIDL binding. r=bholley.
--HG--
extra : rebase_source : a7762fc56b9ad1801be22aa3380f430b44082f9e
2014-02-15 22:12:35 +01:00
Peter Van der Beken
6e2862710f Bug 993058 - Loosen aliasing assertion in LIRGenerator::visitGetDOMMember. r=bz.
--HG--
extra : rebase_source : 2680a3fdc0fced740627e858d2cdc9e192aab8cf
2014-03-25 19:17:46 +01:00
Peter Van der Beken
e28ddeb1c9 Bug 993053 - Add xpc::InitGlobal containing the common code for wrapping main-thread XPConnect and WebIDL globals. r=bholley.
--HG--
extra : rebase_source : b385e1a3bebc1ef76a49bd2fb0555b3dba640f0d
2014-02-05 22:09:19 +01:00
Peter Van der Beken
c0b23e34f5 Bug 990158 - Make inner windows use their wrapper cache. r=bz.
--HG--
extra : rebase_source : bc040c75280bb45ae7ab0ed302130ff5d7178153
2013-11-09 11:20:22 +01:00
Dan Gohman
2a9f258f73 Bug 993174 - SpiderMonkey: Fix missing declarations under --disable-unified-compilation r=mrosenberg 2014-04-08 06:53:42 -07:00
Peter Van der Beken
a12d286723 Bug 984497 - Use SpecialPowers more and change SpecialPower usage to deal with Window on WebIDL bindings. r=bz.
--HG--
rename : content/media/webspeech/synth/test/test_setup.html => content/media/webspeech/synth/test/file_setup.html
rename : content/media/webspeech/synth/test/test_speech_queue.html => content/media/webspeech/synth/test/file_speech_queue.html
rename : content/media/webspeech/synth/test/test_speech_simple.html => content/media/webspeech/synth/test/file_speech_simple.html
extra : rebase_source : 687daf9d78e69fe6ae21f7c1a26503cf88a18b97
2014-02-15 22:12:34 +01:00
Steve Fink
9b0b560e53 Bug 992402 - Make Intl test dependent on intl api, r=Waldo 2014-04-07 12:52:53 -07:00
Steve Fink
e018a915cb Bug 989484 - Record number of minor GCs between major GCs, r=terrence 2014-03-28 13:12:28 -07:00
Steve Fink
03f42f68f4 Bug 912456 - transferable MessagePorts, r=jorendorff
--HG--
extra : rebase_source : 5b8a2a9b261c53f0ff5a860e1dc2e7ede711105f
2013-11-14 20:42:34 -08:00
Jan de Mooij
be208243a0 Bug 970063 - Ignore jit-test timeouts on Windows 7 and Windows Server 2008. r=terrence 2014-04-07 11:05:00 -07:00
Marty Rosenberg
98d9c92ce4 bug 982398: Make sure a script isn't lazy before calling it. 2014-04-07 20:48:05 -04:00
Terrence Cole
c6672abf0b Bug 984101 - Expand SpiderMonkey's use of poisoning for diagnostics; r=jonco
--HG--
extra : rebase_source : 312db74b85c9b40db1ccfc98a96206d2e1381703
2014-03-20 14:38:50 -07:00
Terrence Cole
ce89318ece Bug 992535 - Add a missing barrier in ArrayPopShift; r=sfink
--HG--
extra : rebase_source : 9506fd7b727877bc635e8977171aaa079bc66199
2014-04-07 14:54:58 -07:00
Peter Van der Beken
7741df1efa Back out 75c95dac7fe0 (bug 984497) and f1b0d3d13755 (bug 990475) to fix bustage on a CLOSED TREE.
--HG--
extra : rebase_source : a63315cd428faeb95464f6ad76946d1c0c6d36c3
2014-04-07 22:18:53 +02:00
Brian Hackett
93a0fa7b72 Bug 987508 - Create array buffers lazily for small typed arrays, r=sfink. 2014-04-07 13:04:37 -07:00
Shu-yu Guo
efba8f28c1 Bug 975636 - Fix parallel bitop VM functions. (r=nmatsakis) 2014-04-07 13:02:20 -07:00
Shu-yu Guo
d3bbf75cb2 Bug 974201 - Remove filterPar chunking. (r=nmatsakis) 2014-04-07 13:02:20 -07:00
Ryan VanderMeulen
6ba3302194 Backed out changeset e35851f07b67 (bug 987508) for non-unified bustage. 2014-04-07 15:49:48 -04:00
Randell Jesup
80d8facaf9 Reland changeset 6b85b16dc226 (bug 958940) due to accidental backout rs=jesup 2014-04-07 15:46:21 -04:00
Randell Jesup
affa4b52c8 Backed out changeset cb0b6f2f3ca9 (bug 958940) 2014-04-07 15:35:58 -04:00
Peter Van der Beken
8cf720bdb0 Bug 984497 - Use SpecialPowers more and change SpecialPower usage to deal with Window on WebIDL bindings. r=bz.
--HG--
rename : content/media/webspeech/synth/test/test_setup.html => content/media/webspeech/synth/test/file_setup.html
rename : content/media/webspeech/synth/test/test_speech_queue.html => content/media/webspeech/synth/test/file_speech_queue.html
rename : content/media/webspeech/synth/test/test_speech_simple.html => content/media/webspeech/synth/test/file_speech_simple.html
extra : rebase_source : 3662ae8b0f35fefb250c9cd048e848d662863855
2014-02-15 22:12:34 +01:00
Brian Hackett
50cf7b748f Bug 987508 - Create array buffers lazily for small typed arrays, r=sfink. 2014-04-07 11:46:54 -07:00
Aaro Koskinen
ada558bfa0 Bug 958940 - Fix SpiderMonkey build failure on Linux/PA-RISC. r=nbp
--HG--
extra : rebase_source : 48566a3a03160356873cdb8912e27581ac2f677d
2014-04-07 09:39:33 -07:00
Douglas Crosher
3d35588c7c Bug 919592 - Ionmonkey (ARM): Guard against branches being out of range and bail out of compilation if so. r=mjrosenb 2014-03-21 14:27:31 +11:00
Till Schneidereit
029803996b Bug 981999 - Remove redundant (and not always agreeing) ways of counting sourcenotes. r=luke
--HG--
extra : rebase_source : 4c601f25e0fcc6a37e82c87a67e505b62ce3068b
2014-03-26 14:26:43 -04:00
Benjamin Bouvier
115e4ff553 Bug 985876 - kill unused 'cond' variable in testValueTruthyKernel; r=nbp over irc 2014-04-07 12:05:23 +02:00
Jon Coppeard
99c93dc1b3 Bug 986843 - Don't sweep empty zones if they contain marked compartments r=terrence 2014-04-07 11:03:22 +01:00
Till Schneidereit
85e5cf2d38 Bug 976536 - Don't relazify inlined functions. r=jandem
--HG--
extra : rebase_source : ce16ed7661390575d03d9948f841b1b18b496e88
2014-04-05 05:01:10 +02:00
Dan Minor
2c527450a6 Bug 988532 - Remove jit-tests from 'make check'; r=gps 2014-04-03 13:56:33 -04:00
Jan Beich
5ca1814e81 Bug 991966 - Add/sort missing asm.js stubs for --disable-ion after bug 878399. r=benj 2014-04-06 08:18:27 +02:00
Bobby Holley
8daf887f60 Bug 980537 - Only store FakeBackstagePass instances in mThisObjects. r=khuey 2014-04-06 12:32:39 -07:00
Jason Orendorff
d0f8b69eb4 Bug 990096, part 2 - Crash on OOM for various small allocations in Yarr. r=h4writer. 2014-04-04 17:03:13 -05:00
Jason Orendorff
7723b12147 Bug 990096, part 1 - Crash on OOM in Yarr vector class. r=h4writer. 2014-04-04 17:03:12 -05:00
Jason Orendorff
bae0290f93 Bug 990806, part 2 - Fix "Assertion failure: gGotError, at js/src/shell/js.cpp:448" after OOM in the shell by setting gGotError from an out-of-memory callback. r=terrence. 2014-04-04 17:03:12 -05:00
Jason Orendorff
f3961934a5 Bug 990806, part 1 - Call js_ReportOutOfMemory when deliberately triggering an OOM for testing. r=terrence. 2014-04-04 17:03:12 -05:00
Tooru Fujisawa
31625f8595 Bug 471713 - Add a script to generate documentation for SpiderMonkey opcodes from an index comment in vm/Opcodes.h and eventual comments by each opcode. (Actual opcode documentation to follow as reviews complete.) Document only JSOP_NOP for now, and comment out the sys.exit() in error(), so that we get broken but readable skeleton documentation. r=jwalden
--HG--
extra : rebase_source : 5d3c1feb8acbd24f661681fca6ecedacc7ce43a2
2014-04-02 18:38:44 +09:00
Jeff Walden
90dbe786c7 Remove TypedArrayObject::isArrayIndex. It's dead, Jim. No bug, r=jimb (natch)
--HG--
extra : rebase_source : 11953fdb442ca989c8f5fd102f6f91124a75014c
2014-04-03 20:04:34 -07:00
Eric Faust
75a58dbebc Bug 890686 - Implement JS_GlobalObjectTraceHook, and install it appropriately. (r=billm) 2014-04-04 16:58:08 -07:00
Sean Stangl
a5a1567999 Bug 985876 - Follow-up: Fix non-unified builds on a CLOSED TREE. no_r 2014-04-04 15:39:53 -07:00
Sean Stangl
ec437f0493 Bug 985876 - Follow-up: remove unnecessary masm.and32(). no_r 2014-04-04 14:55:02 -07:00
Branislav Rankov
e9a375909a Bug 985876 - IonMonkey MIPS: Refactor shared CodeGenerator code to be compatible with MIPS. r=sstangl 2014-04-03 17:59:28 +02:00
Branislav Rankov
920cb45b5f Bug 985876 - IonMonkey MIPS: Refactor shared Baseline and MacroAssembler code to be compatible with MIPS. r=sstangl 2014-04-03 17:53:04 +02:00
Branislav Rankov
1d62c4affd Bug 985876 - IonMonkey MIPS: Moved PushRegsInMask, PopRegsInMaskIgnore and clampDoubleToUint8 to architecture specific files. r=sstangl 2014-04-03 17:47:08 +02:00
Ryan VanderMeulen
939a901c30 Backed out 5 changesets (bug 989667, bug 989641, bug 989748, bug 989759) for B2G bustage on a CLOSED TREE.
Backed out changeset 3dcbb0f401d8 (bug 989759)
Backed out changeset ee9fbb00aa80 (bug 989759)
Backed out changeset 2900014098ce (bug 989748)
Backed out changeset 3bd8dc58dcf3 (bug 989667)
Backed out changeset 10b769a8f5f2 (bug 989641)
2014-04-04 15:07:48 -04:00
Nicolas B. Pierron
c3ab3084ed Bug 989759 part 2 - Dispatch base on the instruction identifier. r=jandem 2014-04-04 10:48:34 -07:00
Nicolas B. Pierron
e472a22d61 Bug 989759 part 1 - Identify every ResumePoint RInstruction. r=jandem 2014-04-04 10:48:34 -07:00
Nicolas B. Pierron
74a586ca5c Bug 989748 - Add RResumePoint to read recovery data. r=jandem 2014-04-04 10:48:34 -07:00
Nicolas B. Pierron
b8676cb95a Bug 989667 - Add writes of recovery meta-data to the MResumePoint. r=h4writer 2014-04-04 10:48:34 -07:00
Nicolas B. Pierron
18155520ea Bug 989641 - Move FlattenedMResumePointIter into LRecover. r=jandem 2014-04-04 10:48:33 -07:00
Jan de Mooij
9d059bd1f1 Bug 986678 - Fix type check in TryAddTypeBarrierForWrite. r=bhackett 2014-04-04 19:38:10 +02:00
Nicholas D. Matsakis
d95fb2472e Bug 977126 Part 3 -- Inline SetTypedObjectOffset intrinsic r=shu 2014-03-20 10:04:46 -04:00
Nicholas D. Matsakis
c57a385764 Bug 977126 Part 2 -- Changes to x86/x64 to support subPtr(Register,Address) r=jandem 2014-03-20 10:03:57 -04:00
Nicholas D. Matsakis
6e334eb7c1 Bug 977126 Part 1 -- Changes to arm to support subPtr(Register,Address) r=mrosenberg 2014-03-20 10:02:24 -04:00
Nicholas D. Matsakis
8fbc90c21a Bug 991234 -- Squelch warning r=h4writer 2014-04-03 05:45:39 -04:00
Benjamin Bouvier
3ecb45d830 Bug 991510: Make arrow functions not validate as asm.js modules; r=luke 2014-04-04 15:07:55 +02:00
Eric Faust
a17bdefa8b Bug 989204 - Followup: Fix --disable-optimize JS shell build. (r=jandem over IRC) 2014-04-04 02:25:46 -07:00
Nicholas Nethercote
1dc8e049fb Bug 991998 (part 2) - Limit JSFatInlineString's length to 11 on both 32-bit and 64-bit platforms. r=luke. 2014-04-03 23:31:20 -07:00
Nicholas Nethercote
785370cbd5 Bug 991998 (part 1) - Rename JSShortString as JSFatInlineString. r=luke.
--HG--
extra : rebase_source : 8ada8b2aa62d689388a9e1a0f713152d1ff96acb
2014-04-03 23:30:26 -07:00
Jeff Walden
79b89c899c Get rid of a bunch of redundant typedefs that just typedef'd an enum or struct to the same name -- useful in C, useless in C++. No bug, r=trivial
--HG--
extra : rebase_source : e6b815fdfab74d77b9e507ed1dea988517c2d0e6
2014-03-28 14:52:34 -04:00
Jeff Walden
91ccb328c1 Bug 985733 - Make assignments into typed arrays use ToNumber-style semantics. r=sfink, r=jandem
--HG--
extra : rebase_source : 1b2f2a2f4978951fc5683f97127d5120a34c8630
2014-03-20 16:38:12 -07:00
Jeff Walden
317bec10e6 Bug 985733 - Add a test for typed element-setting using ToNumber semantics. r=sfink
--HG--
extra : rebase_source : 64315d96fff2cc62bb3d3a1f25a8e70f9c580f61
2014-03-25 10:29:26 -04:00
Jeff Walden
6bb24b8bec Bug 985733 - Refactor element-setting code to not conflate typed array and dense element setting. r=sfink
--HG--
extra : rebase_source : 4aa073095fd71a8116460427b0e6b5108757dff2
2014-03-20 10:43:40 -07:00
Shu-yu Guo
9aaeb50e3d Bug 989509 - Part 1: js/ (r=luke) 2014-04-03 19:29:40 -07:00
Wes Kocher
a29aab4e41 Backed out changeset 533e61eb95d3 (bug 991234) for mochitest-2 bustage on Windows 2014-04-03 13:52:53 -07:00
Wes Kocher
21c1bebfcc Backed out 3 changesets (bug 977126) for mochitest-2 bustage on Windows
Backed out changeset 2daa537b62e6 (bug 977126)
Backed out changeset d87a13b71afc (bug 977126)
Backed out changeset 3bd335914852 (bug 977126)
2014-04-03 13:52:36 -07:00
Bill McCloskey
f38a7de260 Bug 986317 - Stop exposing urgent semantics in IPDL files (r=bent) 2014-04-03 13:29:11 -07:00
Nicholas D. Matsakis
76a3bcf041 Bug 977126 Part 3 -- Inline SetTypedObjectOffset intrinsic r=shu 2014-03-20 10:04:46 -04:00
Nicholas D. Matsakis
b766546539 Bug 977126 Part 2 -- Changes to x86/x64 to support subPtr(Register,Address) r=jandem 2014-03-20 10:03:57 -04:00
Nicholas D. Matsakis
60e315db7c Bug 977126 Part 1 -- Changes to arm to support subPtr(Register,Address) r=mjrosenb 2014-03-20 10:02:24 -04:00
Nicholas D. Matsakis
90739139e7 Bug 991234 -- Squelch warning r=h4writer 2014-04-03 05:45:39 -04:00
Jan de Mooij
88452afd39 Bug 991069 - Optimize MPostWriteBarrier OOL path to not save non-volatile regs. r=terrence 2014-04-03 20:01:30 +02:00
Brian Hackett
6a6f9ba4bd Bug 989503 - Recover cleanly after OOM while adding type object properties, r=jandem. 2014-04-03 08:27:51 -07:00
Hannes Verschore
5043e365c5 Bug 991618 - IonMonkey: Set AliasSet on MBail, r=nbp 2014-04-03 17:16:23 +02:00
Jan de Mooij
20092ee324 Bug 989204 followup - Fix Windows build. r=red 2014-04-03 12:08:31 +02:00
Jan de Mooij
a6de8d6ca3 Bug 989204 part 2 - Don't use bound functions for arrow functions. r=jorendorff,bhackett
--HG--
extra : rebase_source : a730255b4f3458465272fe1ee8ab9724f68af723
2014-04-03 11:29:04 +02:00
Jan de Mooij
89770a3cea Bug 989204 part 1 - Add some arrow function tests. r=jorendorff
--HG--
extra : rebase_source : 0b3c9ddd82621fd76e7d48559f339cdea6c40a76
2014-04-03 11:18:32 +02:00
Jan Beich
fc67322c46 Bug 986357 - Unbreak --disable-ion in non-unified mode after bug 695438. r=bhackett 2014-04-02 13:36:00 +02:00
Hannes Verschore
1859fcd5c2 Bug 984830 - IonMonkey: Ignore unkown types when improving type information at branches, r=jandem 2014-04-03 09:30:53 +02:00
Masayuki Nakano
ff8b968574 Bug 990855 part.2 Remove dom/events from local includes of moz.build files r=smaug 2014-04-03 13:18:38 +09:00
Wes Kocher
9225f03bd1 Backed out 3 changesets (bug 977126) for b2g build bustage on a CLOSED TREE
Backed out changeset 88a167e0ca30 (bug 977126)
Backed out changeset a3df7451c35c (bug 977126)
Backed out changeset bab702b3df10 (bug 977126)
2014-04-02 18:34:20 -07:00
Nicholas D. Matsakis
ed9b9798cf Bug 977126 Part 3 -- Inline SetTypedObjectOffset intrinsic r=shu 2014-03-20 10:04:46 -04:00
Nicholas D. Matsakis
8df52b0541 Bug 977126 Part 2 -- Changes to x86/x64 to support subPtr(Register,Address) r=jandem 2014-03-20 10:03:57 -04:00
Nicholas D. Matsakis
a4841b02b1 Bug 977126 Part 1 -- Changes to arm to support subPtr(Register,Address) r=mrosenberg 2014-03-20 10:02:24 -04:00
Sean Stangl
9016ae3f0e Bug 987947 - Check NewCompilerConstraintList() return. r=efaust 2014-03-25 13:01:22 -07:00
Nicholas D. Matsakis
be8a150f32 Bug 973238 Part 3 -- Create one TypedProto per descriptor r=sfink 2014-03-10 18:34:39 -04:00
Jim Blandy
72d4c29a87 Bug 966720: Check Debugger docs into the SpiderMonkey tree. DONTBUILD r=jorendorff 2014-04-02 13:44:07 -07:00
Hannes Verschore
f068cb5265 Bug 990568 - Remove unnecessary whitespace, r=jandem 2014-04-02 21:04:42 +02:00
Nicholas D. Matsakis
5c7f3f11cd Bug 989299 -- Prevent instantiating opaque typed objects atop buffers r=sfink 2014-03-28 12:43:33 -04:00
Benjamin Bouvier
36d8723d7c Bug 878399: Implement toSource / toString for asm.js functions; r=luke 2014-04-02 19:52:00 +02:00
Benjamin Bouvier
348bab473e Bug 878399: Implement toSource / toString for asm.js modules lambda; r=luke 2014-04-02 19:51:53 +02:00
Benjamin Bouvier
4e4ef12e5e Bug 878399: Implement toSource / toString for asm.js modules; r=luke
--HG--
extra : rebase_source : 327cb71b2731a1a2fe6a0176fffc7aa4ba949870
2014-04-02 19:50:44 +02:00
Benjamin Bouvier
cdfab894d8 Bug 878399: Preparatory cleanups; r=luke
--HG--
extra : rebase_source : febbb6a64aa0790641c5e0efb7103deac4412caa
2014-04-02 19:37:00 +02:00
Jon Coppeard
527b2025db Bug 990071 r=terrence 2014-04-02 15:28:03 +01:00
Jon Coppeard
3e811f8ee0 Bug 959787 - Handlify remaining JS APIs r=sfink r=bholley r=smaug 2014-04-02 15:28:03 +01:00
Benjamin Bouvier
b925abbb47 Bug 986313: Use LifoAllocPolicy for VarTypeVector and prevent a memory leak when moving it in ModuleCompiler; r=luke 2014-04-02 14:25:15 +02:00
Jan de Mooij
3758666427 Bug 989011 - Factor this-computation for arrow functions out of JSOP_LAMBDA. r=jorendorff 2014-04-02 13:53:08 +02:00
Terrence Cole
5511a142b0 Bug 990336 - Generalize the slots barrier and use it to optimize dense-range-ref; r=jonco 2014-03-31 17:51:53 -07:00
Mark Hammond
cd2c8e6c5b Bug 987404 - Disable failing mochitest-browser tests in e10s. r=ted. 2014-04-02 10:53:55 +11:00
Jan de Mooij
241c17b152 Bug 986155 - Fix MPostWriteBarrier alias set to not inhibit certain optimizations. r=bhackett 2014-04-01 22:41:11 +02:00
Nicholas D. Matsakis
571d7915d5 Bug 973238 Part 2 -- Remove TypedObjectPointer abstraction r=sfink 2014-03-10 17:25:00 -04:00
Nicholas D. Matsakis
a7c390959e Bug 973238 Part 1 -- Remove getSuitableClaspAndProto r=sfink 2014-03-10 16:23:24 -04:00
Jan de Mooij
01fde567f1 Bug 989586 - Fix Ion correctness bug when inlining |new Array(x)|. r=bhackett 2014-04-01 21:19:39 +02:00
Terrence Cole
d01e2ab502 Bug 889543 - Use AutoCycleDetector instead of CloneMemory; r=till
--HG--
extra : rebase_source : 394255ac2da12eaea09c8be95847a5d19f6b3b21
2014-03-11 09:00:16 -07:00
Kannan Vijayan
92c7a79f42 Bug 990022 - Refactor BaselineIC profiler pseudo-stack update code. r=efaust 2014-04-01 10:46:45 -04:00
Nicholas D. Matsakis
7cbc5f53f7 Bug 966575 Part 15 -- Port to use CheckedInt32 r=waldo 2014-03-17 21:29:59 -04:00
Nicholas D. Matsakis
c4511de5c6 Bug 966575 Part 14 -- Convert from size_t to int32_t to reflect reality that we do not support objects larger than 2Gig r=sfink 2014-02-16 15:42:51 -05:00
Nicholas D. Matsakis
5727668b3e Bug 966575 Part 13 -- Remove type repr completely, replacing with atomized strings r=sfink 2014-02-16 06:48:03 -05:00
Hannes Verschore
0c311ae47a Bug 813366 - Fix handling of failing to create jit code in yarr, r=till 2014-04-01 13:30:08 +02:00
Hannes Verschore
2645b81c02 Bug 986366: Fix --disable-ion builds, r=djvj 2014-04-01 13:29:32 +02:00
Jon Coppeard
bb2e7cbea1 Bug 959787 - Handlify JS_ExecuteScript and JS::Evaluate APIs r=terrence r=bz 2014-04-01 11:34:39 +01:00
Jon Coppeard
c761e55700 Bug 959787 - Handlify jsapi-test eval functions r=terrence 2014-04-01 11:34:38 +01:00
Nicolas B. Pierron
cf5ed52de1 Bug 989344 part 2 - Share LRecoverInfo between LSnapshots. r=jandem 2014-03-31 09:39:45 -07:00
Nicolas B. Pierron
00d83d3e90 Bug 989344 part 1 - Extract LRecoverInfo from LSnapshot. r=jandem 2014-03-31 09:39:45 -07:00
Nicolas B. Pierron
807485f39d Bug 988958 - Extract the frame encoding/decoding logic from Snapshots. r=h4writer 2014-03-31 09:39:45 -07:00
Nicholas D. Matsakis
e269bc6919 Bug 988493 -- improve error message for missing self-hosted prop r=till 2014-03-26 13:36:39 -04:00
Nicolas B. Pierron
8d106e88ac Bug 989613 - Check OOM of allocation writer in the SnapshotWriter. r=h4writer 2014-03-31 03:10:00 -07:00
Jon Coppeard
00c8108dfb Bug 986864 r=sfink 2014-03-31 10:56:23 +01:00
Jan de Mooij
f6a13d5475 Bug 952942 - Baseline-compile scripts with array comprehensions. r=djvj 2014-03-29 15:03:05 -04:00
Masatoshi Kimura
62ca863526 Bug 988122 - Expose Promise on non-window non-worker globals. r=bholley sr=bz 2014-03-29 15:55:53 +09:00
Boris Zbarsky
192bc01f54 Bug 982680. Fix regress-406572.js to actually test something useful. r=peterv,waldo 2014-03-29 01:45:09 -04:00
Nick Fitzgerald
485ed1e9d2 Bug 988476 - Create Debugger.Memory, a place to expose our memory tools to JS; r=jimb 2014-03-28 17:33:33 -07:00
Nicolas B. Pierron
21fce3468c Bug 988903 - Rename Snapshots packing constants. r=djvj 2014-03-28 12:58:35 -07:00
Jan de Mooij
fa3959bffa Bug 988875 - Fix slow bug782083.js jit-test. r=bhackett 2014-03-28 14:56:46 -04:00
Jan de Mooij
444f29f25d Bug 989356 - Remove Ion BOX_OUTPUT_ACCESSORS macro. r=sstangl 2014-03-28 14:56:44 -04:00
Jan de Mooij
78e9b2c004 Bug 958432 - Add jit-test. r=me 2014-03-28 14:56:43 -04:00
Sean Stangl
1386614078 Bug 987935 - inlineScriptedCall() must check return of TypeSet::clone(). r=nbp 2014-03-25 12:39:27 -07:00
Benjamin Bouvier
864abef755 Bug 989166: Reserve stack explicitly rather than implicitly; r=sstangl 2014-03-28 18:36:34 +01:00
Sean Stangl
077150a927 Bug 987910 - Callers of updateFromMatchPairs() must handle error. r=nbp 2014-03-25 11:52:25 -07:00
Terrence Cole
5f1c628cec Bug 987666 - Remove the unused dynamic root analysis. r=sfink 2014-03-24 18:32:36 -04:00
Carsten "Tomcat" Book
858b98e2b2 Backed out changeset 83714ee6b2bb (bug 988053) for fix bustage 2014-03-28 10:30:12 +01:00
Ben Hackett
9e58fd9ab5 Bug 969436 - Changed the SafepointReader constructor to properly read safepoints, depending on the size of PackedRegisterMask; r=Nicolas B. Pierron 2014-03-26 17:41:00 +01:00
Terrence Cole
5191aaca91 Bug 989035 - Track malloced slots attached to the nursery. r=njn 2014-03-27 22:52:02 -04:00
Terrence Cole
17e3f122bb Bug 988326 - Start GC arenas in the decommitted state. r=jonco 2014-03-26 13:12:45 -04:00
Terrence Cole
b55205f5d3 Bug 988053 - Commit nursery memory on an as-needed basis. r=jonco 2014-03-26 09:57:15 -04:00
Nicolas B. Pierron
0d5d9c6a4e Bug 983598 part 4 - Extract RecoverWriter out of SnapshotWriter. r=djvj 2014-03-28 00:17:30 -07:00
Nicolas B. Pierron
7369bb3078 Bug 983598 part 3 - Extract RecoverReader out of the SnapshotReader. r=jandem 2014-03-28 00:17:30 -07:00
Nicolas B. Pierron
6e4dd09031 Bug 983598 part 2 - Rename trackFrame to trackSnapshot. r=jandem 2014-03-28 00:17:29 -07:00
Nicolas B. Pierron
0374ea00bb Bug 983598 part 1 - Remove inheritance of the SnapshotReader. r=jandem 2014-03-28 00:17:28 -07:00
Jed Davis
ed733b97f7 Bug 914561: Record EnterJIT trampoline frame address on SPS pseudostack. r=nbp 2014-03-27 19:20:20 -07:00
Jed Davis
232e47276f Bug 914561 - Add AbsoluteAddress load32/store32 on x86/x64. r=nbp 2014-03-27 19:20:19 -07:00
Terrence Cole
44d028c42e Bug 619558 - Enable generational GC on desktop; r=sfink, sr=naveed
--HG--
extra : rebase_source : 7234cc03ed04d48d54ac613e25708a1321501f24
2014-02-05 10:04:16 -08:00
Jon Coppeard
9206ac0dec Bug 988821 - Move minor GC into main GC loop, r=terrence
--HG--
extra : rebase_source : 3478c0b5110c9891b3bb1ea2bccdc63954d359fd
2014-03-27 15:52:23 +00:00
Ehsan Akhgari
5b9f45a1a5 Bug 798158 - Part 1: Use a pointer-sized type to store refcounts internally; r=bsmedberg 2014-03-27 16:38:33 -04:00
Ms2ger
794257a824 Bug 984006 - Remove xpcom/ds from local includes; r=ehsan 2014-03-27 21:05:14 +01:00
Ms2ger
ad620f5913 Bug 981371 - Fix a confused assertion in JSVAL_IS_OBJECT_IMPL (64-bits); r=luke 2014-03-27 21:05:13 +01:00
Hannes Verschore
09cad0dae1 Bug 968931: IonMonkey: Loosen the verifyOsiPointRegs checks, r=jandem 2014-03-27 20:08:34 +01:00
Nicholas D. Matsakis
b0a48291fa Bug 987912 -- Clear thread-local arenas after every iteration r=shu 2014-03-25 14:00:14 -04:00
Christian Holler
98f28f408c Bug 988097 - Allow oomAfterAllocations in non-debug builds. r=jandem
--HG--
extra : rebase_source : 8e9c7119bc24deb74e864e061984bf57e909c414
2014-03-27 19:15:22 +01:00
Shu-yu Guo
aaa303a5d0 Bug 988706 - Fix bogus assert in ForkJoin. (r=lth in person) 2014-03-27 10:22:55 -07:00
Hannes Verschore
40d145e1bb Bug 983580 - IonMonkey: Use backtracking allocator for asmjs style code, r=luke 2014-03-27 16:59:38 +01:00
Sean Stangl
e6038365f6 Bug 616491 - Limit YARR stack size to 1MB. r=mjrosenb 2014-03-26 14:47:11 -07:00
Lars T Hansen
74fe52c814 Bug 988833 - Reduce the number of iterations in TypedObject-TypeDescrIsSizedArrayType.js to avoid intermittent timeouts when running under the interpreter. r=jandem 2014-03-27 11:02:28 -04:00
Jan de Mooij
2cbd12d460 Bug 988475 - Rename IonFrame_* enum to JitFrame_*. r=nbp
--HG--
extra : rebase_source : 597e04cf1c6bcd2a177d1bc1386d222f8cb62a6d
2014-03-27 10:11:55 -04:00
Jan de Mooij
ddd9519592 Bug 988418 - Remove some unused OSR code. r=nbp
--HG--
extra : rebase_source : 5c2594d82a97cea4ca05d6b24aba8dcc31fccd8a
2014-03-27 10:11:35 -04:00
Jan de Mooij
9fbcf58a4e Bug 988561 - Make jit-test testBug686274.js run faster with non-default JIT flags. r=luke
--HG--
extra : rebase_source : 4a85e97bf3db0359b375de564204f162238abc12
2014-03-27 10:04:58 -04:00
Jeff Walden
159f9946f7 Bug 987807 (reland with correct bug number so DONTBUILD) - Fix ggc-only typos. r=i-am-so-smrt
--HG--
extra : rebase_source : c37723cd80e80f12885c136cfdf54d2eabcc65af
2014-03-27 01:20:27 -04:00
Jeff Walden
cc53ff1ce4 Back out 2424dfed0c3c, tagged with wrong bug number. r=i-am-so-smrt-still
--HG--
extra : rebase_source : 066cb2c2ee7c1c85cfe9bf1e2d62c0e3b0d0725b
2014-03-27 01:18:57 -04:00
Dan Minor
07494741dd Bug 988522 - Temporarily disable jit-test parallel timeout.js and timeout-gc.js tests until Bug 906525 is resolved; r=terrence 2014-03-26 16:19:51 -04:00
Carsten "Tomcat" Book
5842aa58f9 Backed out changeset 71568f10952a (bug 988326) for assertions 2014-03-27 11:40:32 +01:00
Terrence Cole
b0f4329186 Bug 988326 - Start GC arenas in the decommitted state; r=jonco 2014-03-26 13:12:45 -04:00
Carsten "Tomcat" Book
bad79ac3be Backed out changeset 52f43e3f552f (bug 619558) for frequent mochitest other test failure on OS X 10.8 2014-03-27 10:14:39 +01:00
Ryan VanderMeulen
3e14ec93b2 Merge m-c to inbound. 2014-03-26 23:09:54 -04:00
Ryan VanderMeulen
4dc5242df5 Merge inbound to m-c. 2014-03-26 20:58:31 -04:00
Shu-yu Guo
714c15c5d3 Bug 985312 - PJS: Remove the bounds function from ForkJoin. (r=nmatsakis)
--HG--
rename : js/src/builtin/Parallel.js => js/src/builtin/ParallelUtilities.js
2014-03-26 05:30:22 -07:00
Nathan Froyd
23709854ea Bug 987457 - rename ProtoAndIfaceArray to ProtoAndIfaceCache; r=bz 2014-03-22 13:04:09 -04:00
Wes Kocher
5389f8cd94 Merge m-c to fx-team 2014-03-25 20:23:20 -07:00
Dave Townsend
fdf690adfd Bug 986757: Defer firing OnNewGlobalObject until after the __URI__ property is set for JS Modules. r=bholley 2014-03-25 16:33:06 -07:00
Birunthan Mohanathas
e87bfc3778 Bug 845478 - Part 9: Remove JS_{CALLEE,ARGV,RVAL,SET_RVAL}. r=evilpie 2014-03-25 14:42:34 -04:00
Eric Faust
53d456cfa2 Bug 983462 - Implement own property native getter cacheing at JSOP_GETPROP sites in BC. (r=djvj) 2014-03-24 14:55:25 -07:00
Jon Coppeard
f78ea3e2c8 Bug 986843 - Replace AutoHoldZone with AutoCompartmentRooter r=terrence 2014-03-24 21:45:23 +00:00
Terrence Cole
3d22e54b54 Bug 987160 - Avoid over-reserving address ranges on Windows. r=jonco 2014-03-24 14:49:50 -04:00
Vladimir Vukicevic
df884377ad b=974660, remove unneeded and broken VTune cruft from xpcshell, r=sstangl
DONTBUILD

--HG--
extra : amend_source : f801a3a6b58dfa110e1d95ccf003d6475f589ee7
2014-03-24 15:28:12 -04:00
Ms2ger
593a960690 Bug 860731 - Part c: Move LockedFile to WebIDL; r=janv 2014-03-24 16:10:27 +01:00
Gabor Krizsanits
8e3d1d7a05 Bug 966609 - nsWrapperCache for SandboxPrivate. r=bholley 2014-03-24 16:00:52 +01:00
Bobby Holley
7f56c979e3 Bug 986940 - Remove Cu.createArrayIn. r=gabor 2014-03-24 11:30:20 -03:00
Bobby Holley
1ece5fe4b9 Bug 986940 - Remove Cu.createDateIn. r=gabor
When we switch ObjectWrapper.jsm to use Cu.cloneInto, this became unused.
2014-03-24 11:30:20 -03:00
Birunthan Mohanathas
b1a28ed119 Bug 845478 - Part 6: Use JS::CallArgs instead of JS_{ARGV,SET_RVAL,...}, argc, vp in js/xpconnect/. r=bz 2014-03-24 08:49:57 -04:00
Birunthan Mohanathas
9b429429a5 Bug 845478 - Part 5: Use JS::CallArgs instead of vp in js/src/. r=evilpie 2014-03-24 08:49:44 -04:00
Birunthan Mohanathas
e7d6d85e5f Bug 845478 - Part 4: Use JS::CallArgs instead of argc in js/src/builtin/. r=evilpie 2014-03-24 08:49:27 -04:00
Birunthan Mohanathas
e4ab0995d4 Bug 845478 - Part 3: Use JS::CallArgs instead of argc in js/src/. r=evilpie 2014-03-24 08:49:11 -04:00
Birunthan Mohanathas
489454f8a3 Bug 845478 - Part 2: Use JS::CallArgs instead of JS_{ARGV,SET_RVAL,...} in js/src/. r=evilpie 2014-03-24 08:48:52 -04:00
Birunthan Mohanathas
2c771b4b2f Bug 845478 - Part 1: Use JS::CallArgs instead of JS_{ARGV,SET_RVAL,...} in js/src/shell/. r=evilpie 2014-03-24 08:48:37 -04:00
Bobby Holley
a9c7ecee69 Bug 986542 - Don't categorically disable script for detached docshells. r=bz 2014-03-23 12:54:18 -03:00
Phil Ringnalda
bd5dc6100a Merge m-c to m-i 2014-03-23 08:43:23 -07:00
Bobby Holley
65bdef473a Bug 975042 - Tests. r=peterv
We try to make this test machinery reusable for future Xrayable JS objects.
2014-03-23 11:02:14 -03:00
Bobby Holley
c3ea2d36c4 Bug 975042 - Update expando sharing tests to test the Xray-to-JS case. r=peterv 2014-03-23 11:02:14 -03:00
Bobby Holley
a36edc6394 Bug 975042 - Enable JS Xray for the Date object. r=peterv 2014-03-23 11:02:14 -03:00
Bobby Holley
f5d3232143 Bug 975042 - Implement resolveOwnProperty and enumerateNames trap. r=peterv 2014-03-23 11:02:13 -03:00
Bobby Holley
eb7d9c3465 Bug 975042 - Make enumerateNames trap virtual. r=peterv 2014-03-23 11:02:13 -03:00
Bobby Holley
437a94dcfd Bug 975042 - Implement getPrototypeOf. r=peterv 2014-03-23 11:02:13 -03:00
Bobby Holley
27bc1e0d24 Bug 975042 - Implement createHolder. r=peterv 2014-03-23 11:02:13 -03:00
Bobby Holley
8a57cf0534 Bug 975042 - Implement the easy trait hooks. r=peterv 2014-03-23 11:02:13 -03:00
Bobby Holley
21fc488f1f Bug 975042 - Basic Xray infrastructure and boilerplate. r=peterv
All of this machinery asserts if it actually get used. But it won't be used at
present, because we have an empty whitelist of JSProtoKeys.
2014-03-23 11:02:12 -03:00
Bobby Holley
0a3a4dab47 Bug 975042 - Remove the special COW support for Date. r=peterv
As soon as Date is on Xrays, this stuff won't work anyway. Henceforth, content
access to chrome Date objects is forbidden, and APIs should use something like
|new contentWindow.Date()| for any Date object they wish to expose to content.
2014-03-23 11:02:12 -03:00
Phil Ringnalda
4220e17e44 Merge m-c to f-t 2014-03-22 17:48:30 -07:00
Shu-yu Guo
f2bdb81af6 Bug 986717 - Fix typo in SnapshotIterator::allocationReadable. 2014-03-21 22:38:39 -07:00
Bobby Holley
483948e0a1 Bug 986304 - Augment JSAPI to give callers the option to not define named functions on the scope object. r=terrence 2014-03-21 23:31:02 -03:00
Jeff Walden
6a807105c1 Bug 980962 - Fix the AsmJSArrayBuffer function when called using |new|. r=terrence over IRC
--HG--
extra : rebase_source : 6050d0283041fb5fbb549780abece586d1e9f918
2014-03-21 15:28:46 -07:00
Jeff Walden
d3340fc45f Bug 985687 - Remove vestigial tinyid/shortid references, as well as the field in JSPropertySpec. Followup to bug 975069. r=luke
--HG--
extra : rebase_source : 9e4bd270925efb155dacb91470b617f169526824
2014-03-20 23:24:21 -07:00
Jeff Walden
f664b8ae51 Remove an unused variable in the shell. No bug, r=themaid
--HG--
extra : rebase_source : 2793c32ddb79901439d93f19136a906c96e3371a
2014-03-20 15:09:05 -07:00
Terrence Cole
226d4a6189 Bug 985562 - Do not allocate large call objects in the nursery; r=jandem 2014-03-20 14:38:51 -07:00
Boris Zbarsky
f8115c0dde Bug 983300 part 4. Convert exceptions in static methods returning promises into rejected promises. r=khuey,efaust 2014-03-21 12:18:24 -04:00
Boris Zbarsky
51d9175a36 Bug 983300 part 3. Convert exceptions in specialized methods returning promises into rejected promises. r=khuey, efaust 2014-03-21 12:18:24 -04:00
Jan de Mooij
36526a5b38 Bug 983709 part 2 - Fix MBinaryInstruction to not override congruentTo. r=h4writer 2014-03-21 15:53:00 +01:00
Jan de Mooij
f30ab3701b Bug 983709 part 1 - Don't mark shift instructions as commutative. r=h4writer 2014-03-21 15:48:27 +01:00
Lars T Hansen
2f31b53f76 Bug 983675 - Intrinsify and inline TypeDescrIsArrayType, TypeDescrIsUnsizedArrayType, TypeDescrIsSizedArrayType, TypeDescrIsSimpleType, ObjectIsTypedObject. r=shu 2014-03-21 09:18:09 -04:00
Dave Townsend
363d510707 Bug 986107: Make new sandboxes inherit the metadata of the creating sandbox by default. r=bholley 2014-03-21 19:57:42 -07:00
Lars T Hansen
98b3628c4b Bug 983577 - Improvements to parallel and sequential map for TypedObject. r=shu 2014-03-21 09:05:37 -04:00
Carsten "Tomcat" Book
9468864ecc Backed out changeset f787c0fa465e (bug 975042) for B2G ICS Emulator M7 Orange on a CLOSED TREE 2014-03-21 08:48:40 +01:00
Carsten "Tomcat" Book
bb48a49dd4 Backed out changeset 351371062c26 (bug 975042) 2014-03-21 08:47:48 +01:00
Carsten "Tomcat" Book
78052541e1 Backed out changeset 449ade4078c0 (bug 975042) 2014-03-21 08:47:47 +01:00
Carsten "Tomcat" Book
97ef36ac53 Backed out changeset 59a38e0e27bb (bug 975042) 2014-03-21 08:47:45 +01:00
Carsten "Tomcat" Book
7a8da8c316 Backed out changeset 8ac7fa583164 (bug 975042) 2014-03-21 08:47:44 +01:00
Carsten "Tomcat" Book
4b438d3d7a Backed out changeset 6c25a4bfd449 (bug 975042) 2014-03-21 08:47:43 +01:00
Carsten "Tomcat" Book
be38538d25 Backed out changeset f7d97dc26289 (bug 975042) 2014-03-21 08:47:42 +01:00
Carsten "Tomcat" Book
f8212b78d2 Backed out changeset 1b62c8f1c211 (bug 975042) 2014-03-21 08:47:41 +01:00
Carsten "Tomcat" Book
d8d768555c Backed out changeset 16da792be5f8 (bug 975042) 2014-03-21 08:47:40 +01:00
Carsten "Tomcat" Book
dbdb175c96 Backed out changeset 767ce92ebaf1 (bug 975042) 2014-03-21 08:47:36 +01:00
Boris Zbarsky
b138bfaeec Bug 980962. Fix in-tree consumers to not construct typed arrays without "new". r=jorendorff 2014-03-20 23:19:42 -04:00
Bobby Holley
35f8f8d688 Bug 975042 - Tests. r=peterv
We try to make this test machinery reusable for future Xrayable JS objects.
2014-03-20 23:47:25 -03:00
Bobby Holley
fb059d76d6 Bug 975042 - Update expando sharing tests to test the Xray-to-JS case. r=peterv 2014-03-20 23:47:25 -03:00
Bobby Holley
b28a8e3b81 Bug 975042 - Enable JS Xray for the Date object. r=peterv 2014-03-20 23:47:24 -03:00
Bobby Holley
ce9c4ef5c4 Bug 975042 - Implement resolveOwnProperty and enumerateNames trap. r=peterv 2014-03-20 23:47:24 -03:00
Bobby Holley
b65a5d12b4 Bug 975042 - Make enumerateNames trap virtual. r=peterv 2014-03-20 23:47:24 -03:00
Bobby Holley
3ef7622033 Bug 975042 - Implement getPrototypeOf. r=peterv 2014-03-20 23:47:24 -03:00
Bobby Holley
6f32cdd540 Bug 975042 - Implement createHolder. r=peterv 2014-03-20 23:47:24 -03:00
Bobby Holley
867afa81f6 Bug 975042 - Implement the easy trait hooks. r=peterv 2014-03-20 23:47:23 -03:00
Bobby Holley
2b514f18c9 Bug 975042 - Basic Xray infrastructure and boilerplate. r=peterv
All of this machinery asserts if it actually get used. But it won't be used at
present, because we have an empty whitelist of JSProtoKeys.
2014-03-20 23:47:23 -03:00
Bobby Holley
ba01d93b50 Bug 975042 - Remove the special COW support for Date. r=peterv
As soon as Date is on Xrays, this stuff won't work anyway. Henceforth, content
access to chrome Date objects is forbidden, and APIs should use something like
|new contentWindow.Date()| for any Date object they wish to expose to content.
2014-03-20 23:47:23 -03:00
Gabor Krizsanits
b368adf53a Bug 985472 - cloneInto for sandbox. r=bholley 2014-03-25 16:21:56 +01:00
Gabor Krizsanits
6949913c28 Bug 985472 - Name fixup in ExportFunction. r=bholley 2014-03-25 16:21:51 +01:00
Nicholas D. Matsakis
8ead34644b Bug 975446 -- Load the KIND from the descriptor, not the typed object, in toSource() r=sfink 2014-03-18 15:32:06 -04:00
Nicholas D. Matsakis
34cda3e53e Bug 981650 -- Check the variable-size flag on the type descriptor, not the type representation r=sfink 2014-03-18 08:19:04 -04:00
Terrence Cole
61b57a399b Bug 619558 - Enable generational GC on desktop; sr=naveed 2014-02-05 10:04:16 -08:00
Nathan Froyd
bfa7382195 Bug 948445 - use different caching schemes for ProtoAndIfaceArray depending on the global kind; r=bz 2013-12-10 16:04:55 -05:00
Ed Morley
9e758c90e9 Backed out changeset 738a4b230194 (bug 988326) for assertions 2014-03-26 18:11:11 +00:00
Luke Wagner
7dfc57b7b5 Bug 974700 - cached asm.js doesn't cache profiled function info (r=bbouvier) 2014-03-25 12:55:13 -04:00
Terrence Cole
dc6410d514 Bug 988326 - Start GC arenas in the decommitted state; r=jonco 2014-03-26 13:12:45 -04:00
Kannan Vijayan
de35048eca Bug 987442 - Correctly clear compile-time tracking frame for SPS when emitting OOL code. r=sstangl 2014-03-26 13:06:04 -04:00
Sankha Narayan Guria
b8b45d5fb2 Bug 885788 - Implement Object.setPrototypeOf; r=jorendorff 2014-01-25 20:13:07 +05:30