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