Eric Faust
54a85bb0f8
Bug 978235 - ES6 Proxies: Implement [[IsExtensible]] trap. (r=jorendorff)
2014-04-14 15:52:26 -07:00
Eric Faust
dd2a79d719
Bug 983460 - Opcodes.h has an extra TMPSLOT for JSOP_SETPROP. (r=jandem)
2014-04-14 15:52:24 -07:00
Luke Wagner
b9c343c46a
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
1d2a53c522
Bug 918987 - Implement String.prototype.normalize. r=jwalden
...
--HG--
extra : rebase_source : c634fd1961c1eb004bc4e0dd9ed26047abb285b4
2014-04-09 14:38:24 -07:00
Jeff Walden
8f4ad94358
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
6395ac8f05
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
27ffb8a87c
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
0c9ef5e63f
Bug 990336 - Deduplicate the slots edge buffer normally; r=jonco
2014-04-08 10:23:50 -07:00
Bobby Holley
30ec466f9d
Bug 995123 - Associate sandboxPrototyped Sandboxes to their prototype Window, if it exists. r=bz
2014-04-14 08:56:38 -07:00
Benjamin Bouvier
e68e346dd5
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
40da052fca
Bug 950044 - Fix miss-interpretation of current Desktop GC settings. r=gwagner
2014-04-14 08:32:02 -07:00
Nicolas B. Pierron
198faab086
Bug 995165 - Fix ARM v6 GC settings. r=terrence
2014-04-14 08:32:02 -07:00
Benjamin Bouvier
5d00bd750b
Bug 979867: Kill mixed sign comparison warning; r=lth
...
--HG--
extra : rebase_source : 91d3898d7716b3bfb36d20503d8d14b32b85152c
2014-04-14 17:03:11 +02:00
Terrence Cole
bf13d11655
Bug 988950 - Speed up post barrier checks in Ion r=jandem
2013-09-30 14:18:01 -07:00
Benjamin Bouvier
978da41ab6
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
96829a8d74
Bug 995180: Eliminate unused FromMIRType function; r=luke
...
--HG--
extra : rebase_source : f5d5bddc797ee50c1b6949875f6fffbd6f0fed74
2014-04-14 12:05:51 +02:00
Jan de Mooij
a884a534b6
Bug 991457 - Don't DCE MLoadElement if it needs a hole check. r=h4writer
2014-04-14 15:20:11 +02:00
Ehsan Akhgari
3e33317c6d
Bug 995754 - Remove nsIDOMToString; r=bzbarsky
2014-04-13 18:53:36 -04:00
Nicholas Nethercote
88b4bd580c
Bug 992274 (part 1) - Tweak an edge case in line number handling. r=jorendorff.
2014-04-06 21:31:04 -07:00
Terrence Cole
79405989a3
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
b1418ba5ff
Bug 995442 - Don't post-barrier non-objects in the browser; r=sfink
2014-04-11 14:29:14 -07:00
Sean Stangl
da8f4f75ee
Bug 995421 - Fix out-of-order comment in TransparentTypedObject::class_.
2014-04-11 13:41:19 -07:00
Sean Stangl
de5222ce15
Bug 856796 - Attempt detection of YARR bug; r=till
2014-04-07 13:43:50 -07:00
Olli Pettay
736b1d9117
Bug 688580 - Run deferred scripts before DOMContentLoaded; r=hsivonen
2014-04-12 11:02:21 +02:00
Ms2ger
76005bd991
Bug 983989 - Part c: Cleanup XPCConvert::NativeData2JS; r=bholley
2014-04-12 10:15:58 +02:00
Ms2ger
599fcddb90
Bug 983989 - Part b: Simplify code flow in XPCConvert::NativeData2JS; <3,r=bholley
2014-04-12 10:15:57 +02:00
Ms2ger
7da37a381e
Bug 983989 - Part a: Reindent XPCConvert::NativeData2JS; r=bholley
2014-04-12 10:15:56 +02:00
Boris Zbarsky
34e0756678
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
058f67f786
Bug 991336 - Improve checking around CompileInfo sweep indexes, r=jandem.
2014-04-11 17:25:34 -06:00
Brian Hackett
235e64e9d4
Bug 992256 - Crash on OOM during worker thread initialization, r=h4writer.
2014-04-11 17:17:18 -06:00
Tom Schuster
6c3f5f34c6
Bug 925123 - Add Math.clz32 builtin. r=till
2014-04-11 17:24:58 +02:00
Terrence Cole
11d608a02b
Bug 994054 - MacOS's madvise implementation is unworkably slow; r=jandem
2014-04-09 10:48:17 -07:00
Hannes Verschore
6f015d7c93
Bug 994163 - TraceLoggeing: Fix --disable-threadsafe builds, r=bbouvier
2014-04-11 23:33:20 +02:00
Ed Morley
07bca0c8f4
Backed out changeset e8dfde56e9ca (bug 925123) for jsreftest failures; CLOSED TREE
2014-04-11 17:32:38 +01:00
Kannan Vijayan
bd113133be
Bug 993071 - Add optimization tier info to js profiler pseudostack entries. r=luke
2014-04-11 11:58:55 -04:00
Bobby Holley
e3e65eb4f2
Bug 993438 - Stop implicitly cloning, and assertSameCompartment. r=billm
2014-04-11 08:47:43 -07:00
Bobby Holley
e530e386e6
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
019801c9eb
Bug 993438 - Add the necessary APIs. r=billm
2014-04-11 08:47:42 -07:00
Tom Schuster
c22a7a23d0
Bug 925123 - Add Math.clz32 builtin. r=till
2014-04-11 17:24:58 +02:00
Till Schneidereit
75afc16869
Bug 911147 - Implement Array.prototype.fill. r=jorendorff
...
--HG--
extra : rebase_source : c75210fc3b73a6752f8d9e97c6e376c2f10fbc5c
2014-04-11 17:07:27 +02:00
Till Schneidereit
48933ebf54
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
737086c674
Bug 990290 - Remove JS_GetObjectId. r=terrence
2014-04-11 07:59:47 -07:00
Bobby Holley
81e2f530de
Bug 990290 - Expose JSAPI functions for creating and manipulating scripted WeakMaps. r=terrence
2014-04-11 07:59:46 -07:00
Dan Gohman
920ff0d675
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
3e9861fad3
Bug 994937 - remove some JSOP_CALL opcodes (r=djvj)
...
--HG--
extra : rebase_source : 8859238bb98fe91f6c7bbb99d3eab3fee6936b69
2014-04-10 17:52:52 -05:00
Ed Morley
5330c79ca6
Backed out changeset 592e6de7211b (bug 983989)
2014-04-10 15:48:11 +01:00
Ed Morley
915bed264b
Backed out changeset 91885eced736 (bug 983989)
2014-04-10 15:48:08 +01:00
Ed Morley
efe4108058
Backed out changeset 14ab9b8d15be (bug 983989)
2014-04-10 15:48:04 +01:00
Dan Gohman
64c0ba14ed
Bug 967709 - IonMonkey: Optimized implementations of Math.sin and Math.cos. r=jorendorff
2014-04-09 11:28:17 -07:00
Carsten "Tomcat" Book
73652821db
Backed out changeset df6f9e684cac (bug 993768) mochitest-1 test failure
2014-04-10 16:07:48 +02:00
Jon Coppeard
939a14243b
Bug 993768 - Handle TypeArrayObjects when tenuring r=terrence
2014-04-10 13:46:58 +01:00
Till Schneidereit
de6517f318
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
ebf3688b07
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
b6f6cfaa04
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
8346630944
Bug 983989 - Part c: Cleanup XPCConvert::NativeData2JS; r=bholley
2014-04-10 13:24:25 +02:00
Ms2ger
42bbe814d2
Bug 983989 - Part b: Simplify code flow in XPCConvert::NativeData2JS; <3,r=bholley
2014-04-10 13:24:25 +02:00
Ms2ger
c2e5644788
Bug 983989 - Part a: Reindent XPCConvert::NativeData2JS; r=bholley
2014-04-10 13:24:24 +02:00
Carsten "Tomcat" Book
c6249f62af
Backed out changeset 89a91619a2ae (bug 984101) for bustage
2014-04-10 10:03:47 +02:00
Terrence Cole
39d72a7bb3
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
4a96901c0e
Bug 993889 part 4. Remove the scope argument of xpc_FastGetCachedWrapper. r=bholley
2014-04-10 00:58:42 -04:00
Boris Zbarsky
67f4d02e6f
Bug 993889 part 1. Remove "scope" argument from nsContentUtils::WrapNative. r=bholley
2014-04-10 00:58:41 -04:00
Benjamin Bouvier
cb6a411689
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
22393ce014
Bug 944392: Tracelogging: Fix --enable-nspr-build builds, r=bbouvier
2014-04-09 16:27:22 +02:00
Hannes Verschore
fcc1431c26
Bug 944392: Tracelogging: Fix incorrect numbering of files, r=bbouvier
2014-04-09 16:27:18 +02:00
Hannes Verschore
c8e4855e31
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
543327e79d
Bug 989152 - Tracelogging: Log the ion compilation passes, r=bhackett
2014-04-09 14:21:04 +02:00
Hannes Verschore
3a2f75e1db
Bug 989152 - Tracelogging: Add support for TLLOG flags, r=till
2014-04-09 14:20:56 +02:00
Hannes Verschore
193cc74a54
Bug 944706 - Tracelogging: Make it possible to flush an incomplete tree, r=bbouvier
2014-04-09 14:20:49 +02:00
Hannes Verschore
75c1bff30b
Bug 944392 - Tracelogging: Land version 0.2, r=till,bbouvier
2014-04-09 14:20:39 +02:00
Jan de Mooij
d2e8f3b7b2
Bug 988993 - Ion-compile scripts with arrow functions. r=bhackett
2014-04-09 13:57:32 +02:00
Hannes Verschore
135412e534
Bug 945512: IonMonkey: Make regexp only hoistable after analysis it is safe, r=sstangl
2014-04-09 13:16:20 +02:00
Dan Gohman
198770b829
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
89bfe44fee
Bug 985130 - IonMonkey: Omit over-recursion checks in leaf functions. r=luke
2014-04-08 16:00:29 -07:00
Terrence Cole
8f90e44d21
Bug 990336 - Change the representation of SlotEdge for better performance; r=jonco
2014-04-08 10:22:21 -07:00
Boris Zbarsky
fdbb455d4f
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
3f26a82832
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
3b4c77d08b
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
89d3c4889f
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
2afb3c25f9
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
2774a86e19
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
6c44cbc3b2
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
daf0a6c7ef
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
c90d854e8c
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
0b1b73f90b
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
e3a6d8e994
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
9d9db4451e
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
8de8f1a360
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
23215018a5
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
b544f96b27
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
e940a5bc2c
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
842dc44679
Bug 993071 - Rename FunctionBoundary IR instructions to ProfilerStackOp. r=luke
2014-04-08 12:16:18 -04:00
Nicolas B. Pierron
0ca4ce15d3
Bug 989930 - Convert from reading frames to reading instructions. r=h4writer
2014-04-08 07:21:19 -07:00
Nicolas B. Pierron
3865a76098
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
a98e0b6990
Bug 989759 part 2 - Dispatch base on the instruction identifier. r=jandem
2014-04-08 07:21:19 -07:00
Nicolas B. Pierron
61d4eeb935
Bug 989759 part 1 - Identify every ResumePoint RInstruction. r=jandem
2014-04-08 07:21:18 -07:00
Nicolas B. Pierron
74614a16a7
Bug 989748 - Add RResumePoint to read recovery data. r=jandem
2014-04-08 07:21:18 -07:00
Nicolas B. Pierron
982506d574
Bug 989667 - Add writes of recovery meta-data to the MResumePoint. r=h4writer
2014-04-08 07:21:17 -07:00
Nicolas B. Pierron
5add17a7cf
Bug 989641 - Move FlattenedMResumePointIter into LRecover. r=jandem
2014-04-08 07:21:15 -07:00
Peter Van der Beken
333182db64
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
254b3dbe48
Bug 993058 - Loosen aliasing assertion in LIRGenerator::visitGetDOMMember. r=bz.
...
--HG--
extra : rebase_source : 2680a3fdc0fced740627e858d2cdc9e192aab8cf
2014-03-25 19:17:46 +01:00