Commit Graph

32810 Commits

Author SHA1 Message Date
Jon Coppeard
6e3781aa06 Bug 912581 - Make JS_Add*Root APIs take Heap<T> r=terrence r=bz r=bholley 2014-04-16 09:47:57 +01:00
Jon Coppeard
2c591777e1 Bug 993413 - Remove use of JS_Add/Remove*Root in favour of JS::PersistentRooted where possible r=terrence r=bz r=bholley 2014-04-16 09:47:53 +01:00
Boris Zbarsky
449e20f6ed Bug 822442. Keep track of DOM proxies in TI, like other DOM objects, so we can do the same call/get/set optimizaations with them. r=efaust 2014-04-15 22:58:45 -04:00
Eric Faust
e6aa962b15 Bug 978232 - ES6 Proxies: [[Construct]] must throw if the trap doesn't return an object. (r=jwalden) 2014-04-15 14:57:35 -07:00
Eric Faust
c577f7b91a Bug 978235 - Reland forgotten test. r=me 2014-04-15 13:19:53 -07:00
Eric Faust
65e670a7d2 Bug 978235 - ES6 Proxies: Implement [[IsExtensible]] trap. (r=jorendorff) 2014-04-15 13:13:51 -07:00
Eric Faust
85a1b82682 Bug 978235 - Add missing JSAutoCompartment to JavaScriptChild.cpp. (r=terrence over IRC) 2014-04-15 13:08:41 -07:00
Eric Faust
72d6cd9bb6 Backed out changeset f1660c847ca2 (bug 978235) for landing with random debug code. 2014-04-15 12:56:51 -07:00
Eric Faust
dbaffaf83b Bug 978235 - ES6 Proxies: Implement [[IsExtensible]] trap. (r=jorendorff, terrence over IRC) 2014-04-14 15:52:26 -07:00
Eric Faust
6fce1e33a7 Bug 983460 - Opcodes.h has an extra TMPSLOT for JSOP_SETPROP. (r=jandem) 2014-04-14 15:52:24 -07:00
Dan Gohman
73ea591297 Bug 892794 - IonMonkey: Add some interesting INT32_MIN-related testcases. r=nbp 2014-04-15 11:34:25 -07:00
Ryan VanderMeulen
b066c1554b Backed out changesets 37e7cae3d8c8 and 3ccbb670a699 (bug 898963) for Windows debug bustage.
CLOSED TREE
2014-04-15 13:39:38 -04:00
Marty Rosenberg
eb985ebd7e Bug 982398 - Fix the second case as well. r=jandem 2014-04-15 12:51:19 -04:00
Douglas Crosher
de59f6bdc5 Bug 898963 - Odinmonkey (ARM): Refactor GenerateFFIInterpreterExit. r=luke 2014-03-26 00:29:10 +11:00
Douglas Crosher
94fcb60b81 Bug 898963 - Odinmonkey (ARM): Optimize asm.js FFI calls to Ion functions, trim regs saved, inline activation and deactivation. r=luke 2014-04-16 01:08:33 +10:00
Jan de Mooij
ac7e4a2dea Bug 995607 - Fix an AutoDebugModeInvalidation issue. r=shu 2014-04-15 18:22:52 +02:00
Jan de Mooij
9e20098986 Bug 994876 followup - Fix assert. 2014-04-15 18:13:49 +02:00
Jan de Mooij
1aada2c251 Bug 994876 - Fix DenseSetElemStubExists to check all shapes for DenseAdd stubs. r=djvj 2014-04-15 17:20:32 +02:00
Landry Breuil
bdf1ff47ee Bug 990154: move the enum CodeKind definition outside #if ENABLE_ASSEMBLER to unbreak non-asm platforms r=jandem 2014-04-15 13:46:07 +02:00
Jan de Mooij
1b5b838a7d Bug 996533 - Add some BaselineScript/IonScript asserts. r=till 2014-04-15 13:24:42 +02:00
Branislav Rankov
20985e40e8 Bug 972836 - IonMonkey MIPS: Add odd float registers to the enum, but don't allocate them yet. r=froydnj,nbp 2014-04-07 17:36:06 +02:00
Jon Coppeard
1e3aa542a4 Bug 992866 - Fix assertion in JSObject::initDenseElementsUnbarriered r=sfink 2014-04-15 09:44:01 +01:00
Shu-yu Guo
b9814b9e11 Bug 995076 - Unconditionally replace null/undefined/magic-typed OSR slots. (r=h4writer) 2014-04-14 22:00:07 -07:00
Shu-yu Guo
305a7f8b85 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
1634f6b64b Bug 994444. (r=nbp) 2014-04-14 22:00:07 -07:00
Bobby Holley
d39900b36b Bug 993423 - Don't hoist <svg:use> content into the XBL scope. r=smaug 2014-04-14 20:38:54 -07:00
Bobby Holley
a81ce7e83c Bug 989528 - Rename AutoSystemCaller to AutoNoJSAPI, and assert against pre-existing exceptions. r=bz 2014-04-14 20:27:00 -07:00
Bobby Holley
1655b3aa4f Bug 989528 - Introduce AutoJSAPIWithErrorsReportedToWindow as a replacement for AutoPushJSContextForErrorReporting. r=bz 2014-04-14 20:26:59 -07:00
Bobby Holley
95b4d38749 Bug 989528 - Introduce a mechanism to explicitly enter a null compartment. r=luke 2014-04-14 20:26:59 -07:00
Phil Ringnalda
f0698f8d50 Back out d1f1725198da (bug 983460) on suspicion of mochitest-chrome assertions
CLOSED TREE
2014-04-14 18:36:01 -07:00
Phil Ringnalda
464b77ad54 Back out c70626e77e9f (bug 978235) on suspicion of mochitest-chrome assertions
CLOSED TREE
2014-04-14 18:35:46 -07:00
Jeff Walden
c175e19d01 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
43872e699a Bug 988619 - Handle OOM when sweeping type information, r=jandem. 2014-04-14 18:22:17 -06:00
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
Peter Van der Beken
bc34bf3fb1 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
731e4f5b3d 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
fb90729b81 Bug 993174 - SpiderMonkey: Fix missing declarations under --disable-unified-compilation r=mrosenberg 2014-04-08 06:53:42 -07:00
Peter Van der Beken
94d6fed69a 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
c5ee14a97c Bug 992402 - Make Intl test dependent on intl api, r=Waldo 2014-04-07 12:52:53 -07:00
Steve Fink
fde9e3d4fe Bug 989484 - Record number of minor GCs between major GCs, r=terrence 2014-03-28 13:12:28 -07:00
Steve Fink
730aa23053 Bug 912456 - transferable MessagePorts, r=jorendorff
--HG--
extra : rebase_source : 5b8a2a9b261c53f0ff5a860e1dc2e7ede711105f
2013-11-14 20:42:34 -08:00
Jan de Mooij
e2e0b0390a 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
12be5cc5ab bug 982398: Make sure a script isn't lazy before calling it. 2014-04-07 20:48:05 -04:00
Terrence Cole
124c84e1de 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
7e26c7cd83 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
f8dd810da5 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
c273031592 Bug 987508 - Create array buffers lazily for small typed arrays, r=sfink. 2014-04-07 13:04:37 -07:00
Shu-yu Guo
ded5e5b4b0 Bug 975636 - Fix parallel bitop VM functions. (r=nmatsakis) 2014-04-07 13:02:20 -07:00
Shu-yu Guo
49af6513c7 Bug 974201 - Remove filterPar chunking. (r=nmatsakis) 2014-04-07 13:02:20 -07:00
Ryan VanderMeulen
cc7b44c6b6 Backed out changeset e35851f07b67 (bug 987508) for non-unified bustage. 2014-04-07 15:49:48 -04:00
Randell Jesup
c8a9435939 Reland changeset 6b85b16dc226 (bug 958940) due to accidental backout rs=jesup 2014-04-07 15:46:21 -04:00
Randell Jesup
92fd8faf3c Backed out changeset cb0b6f2f3ca9 (bug 958940) 2014-04-07 15:35:58 -04:00
Peter Van der Beken
3d1f466234 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
1cbb27eec2 Bug 987508 - Create array buffers lazily for small typed arrays, r=sfink. 2014-04-07 11:46:54 -07:00
Aaro Koskinen
a1eb34a7dd 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
7561c269ae 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
cbf69e6782 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
14045534cf Bug 985876 - kill unused 'cond' variable in testValueTruthyKernel; r=nbp over irc 2014-04-07 12:05:23 +02:00
Jon Coppeard
5a83c0a822 Bug 986843 - Don't sweep empty zones if they contain marked compartments r=terrence 2014-04-07 11:03:22 +01:00
Till Schneidereit
7120083d1e Bug 976536 - Don't relazify inlined functions. r=jandem
--HG--
extra : rebase_source : ce16ed7661390575d03d9948f841b1b18b496e88
2014-04-05 05:01:10 +02:00
Dan Minor
7791209031 Bug 988532 - Remove jit-tests from 'make check'; r=gps 2014-04-03 13:56:33 -04:00
Jan Beich
ddbf862daf 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
0200ccab40 Bug 980537 - Only store FakeBackstagePass instances in mThisObjects. r=khuey 2014-04-06 12:32:39 -07:00
Jason Orendorff
4a3e9de378 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
25b1fa6770 Bug 990096, part 1 - Crash on OOM in Yarr vector class. r=h4writer. 2014-04-04 17:03:12 -05:00
Jason Orendorff
a2779e00d1 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
78905a389b 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
98c3e299cc 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
f435a0a2de 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
fb1731f8f3 Bug 890686 - Implement JS_GlobalObjectTraceHook, and install it appropriately. (r=billm) 2014-04-04 16:58:08 -07:00
Sean Stangl
47d5f12d27 Bug 985876 - Follow-up: Fix non-unified builds on a CLOSED TREE. no_r 2014-04-04 15:39:53 -07:00
Sean Stangl
e090dc58dc Bug 985876 - Follow-up: remove unnecessary masm.and32(). no_r 2014-04-04 14:55:02 -07:00
Branislav Rankov
28e5a349f0 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
dbd951c05d 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
f4724612c1 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
627646b803 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
9e0aab9927 Bug 989759 part 2 - Dispatch base on the instruction identifier. r=jandem 2014-04-04 10:48:34 -07:00
Nicolas B. Pierron
b51beb8ad2 Bug 989759 part 1 - Identify every ResumePoint RInstruction. r=jandem 2014-04-04 10:48:34 -07:00
Nicolas B. Pierron
d05c174ebc Bug 989748 - Add RResumePoint to read recovery data. r=jandem 2014-04-04 10:48:34 -07:00
Nicolas B. Pierron
b3cee3c411 Bug 989667 - Add writes of recovery meta-data to the MResumePoint. r=h4writer 2014-04-04 10:48:34 -07:00
Nicolas B. Pierron
1a7137bc25 Bug 989641 - Move FlattenedMResumePointIter into LRecover. r=jandem 2014-04-04 10:48:33 -07:00
Jan de Mooij
87938d472c Bug 986678 - Fix type check in TryAddTypeBarrierForWrite. r=bhackett 2014-04-04 19:38:10 +02:00
Nicholas D. Matsakis
4805b39dc7 Bug 977126 Part 3 -- Inline SetTypedObjectOffset intrinsic r=shu 2014-03-20 10:04:46 -04:00
Nicholas D. Matsakis
be24a733f2 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
dd2cdde2ab 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
baff5b419b Bug 991234 -- Squelch warning r=h4writer 2014-04-03 05:45:39 -04:00
Benjamin Bouvier
6d3d8d1203 Bug 991510: Make arrow functions not validate as asm.js modules; r=luke 2014-04-04 15:07:55 +02:00
Eric Faust
264633276b Bug 989204 - Followup: Fix --disable-optimize JS shell build. (r=jandem over IRC) 2014-04-04 02:25:46 -07:00
Nicholas Nethercote
aa1fc5c012 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
748150c2af 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
5184913177 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
e9790e22f1 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
82af264b6b 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
548a46ea97 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
3773d4e8e6 Bug 989509 - Part 1: js/ (r=luke) 2014-04-03 19:29:40 -07:00
Wes Kocher
1175e7a2b9 Backed out changeset 533e61eb95d3 (bug 991234) for mochitest-2 bustage on Windows 2014-04-03 13:52:53 -07:00
Wes Kocher
ee5efc425a 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
557cd8abf0 Bug 986317 - Stop exposing urgent semantics in IPDL files (r=bent) 2014-04-03 13:29:11 -07:00
Nicholas D. Matsakis
2fcb8c5d14 Bug 977126 Part 3 -- Inline SetTypedObjectOffset intrinsic r=shu 2014-03-20 10:04:46 -04:00
Nicholas D. Matsakis
9256de356d 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
0af66a454f Bug 977126 Part 1 -- Changes to arm to support subPtr(Register,Address) r=mjrosenb 2014-03-20 10:02:24 -04:00