Commit Graph

41711 Commits

Author SHA1 Message Date
Benjamin Bouvier
686726f0a6 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
216e7e7445 Bug 944392: Tracelogging: Fix --enable-nspr-build builds, r=bbouvier 2014-04-09 16:27:22 +02:00
Hannes Verschore
e789a312b0 Bug 944392: Tracelogging: Fix incorrect numbering of files, r=bbouvier 2014-04-09 16:27:18 +02:00
Hannes Verschore
9d3237836f 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
e704fa58d7 Bug 989152 - Tracelogging: Log the ion compilation passes, r=bhackett 2014-04-09 14:21:04 +02:00
Hannes Verschore
851fbf17f2 Bug 989152 - Tracelogging: Add support for TLLOG flags, r=till 2014-04-09 14:20:56 +02:00
Hannes Verschore
277007680b Bug 944706 - Tracelogging: Make it possible to flush an incomplete tree, r=bbouvier 2014-04-09 14:20:49 +02:00
Hannes Verschore
69f9e9cfcf Bug 944392 - Tracelogging: Land version 0.2, r=till,bbouvier 2014-04-09 14:20:39 +02:00
Jan de Mooij
f9f45af324 Bug 988993 - Ion-compile scripts with arrow functions. r=bhackett 2014-04-09 13:57:32 +02:00
Hannes Verschore
1508b14577 Bug 945512: IonMonkey: Make regexp only hoistable after analysis it is safe, r=sstangl 2014-04-09 13:16:20 +02:00
Dan Gohman
ba2b5a0c4f 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
0247ca79cf Bug 985130 - IonMonkey: Omit over-recursion checks in leaf functions. r=luke 2014-04-08 16:00:29 -07:00
Terrence Cole
8e01b9c9c7 Bug 990336 - Change the representation of SlotEdge for better performance; r=jonco 2014-04-08 10:22:21 -07:00
Boris Zbarsky
79dab91ff6 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
d4bd64ee2c 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
d7fa8f56be 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
0ffab17057 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
f25327fa9b 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
62cdb72f5b 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
afa9923bed 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
c8e97e5597 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
cb0558c6d3 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
f87f2c4d28 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
6dafb8ceb0 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
2a14487768 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
c0929428ae 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
469af05ced 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
75a0abc102 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
a8094a4eac 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
97de7a7ec6 Bug 993071 - Rename FunctionBoundary IR instructions to ProfilerStackOp. r=luke 2014-04-08 12:16:18 -04:00
Nicolas B. Pierron
69a01a96c8 Bug 989930 - Convert from reading frames to reading instructions. r=h4writer 2014-04-08 07:21:19 -07:00
Nicolas B. Pierron
cc25031e47 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
2d12354440 Bug 989759 part 2 - Dispatch base on the instruction identifier. r=jandem 2014-04-08 07:21:19 -07:00
Nicolas B. Pierron
4e7b7b462c Bug 989759 part 1 - Identify every ResumePoint RInstruction. r=jandem 2014-04-08 07:21:18 -07:00
Nicolas B. Pierron
3c81ea0eda Bug 989748 - Add RResumePoint to read recovery data. r=jandem 2014-04-08 07:21:18 -07:00
Nicolas B. Pierron
a700b44f99 Bug 989667 - Add writes of recovery meta-data to the MResumePoint. r=h4writer 2014-04-08 07:21:17 -07:00
Nicolas B. Pierron
aaea88412f Bug 989641 - Move FlattenedMResumePointIter into LRecover. r=jandem 2014-04-08 07:21:15 -07:00
Peter Van der Beken
4b64c1bee2 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
a0d3978a05 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
66e04fabbd 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
9bbd30a4ac 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
f4c57c88c4 Bug 993174 - SpiderMonkey: Fix missing declarations under --disable-unified-compilation r=mrosenberg 2014-04-08 06:53:42 -07:00
Peter Van der Beken
c89c077c14 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
5282865b21 Bug 992402 - Make Intl test dependent on intl api, r=Waldo 2014-04-07 12:52:53 -07:00
Steve Fink
2b7fb051e1 Bug 989484 - Record number of minor GCs between major GCs, r=terrence 2014-03-28 13:12:28 -07:00
Steve Fink
12001268c0 Bug 912456 - transferable MessagePorts, r=jorendorff
--HG--
extra : rebase_source : 5b8a2a9b261c53f0ff5a860e1dc2e7ede711105f
2013-11-14 20:42:34 -08:00
Jan de Mooij
91b46744c9 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
f4deeff081 bug 982398: Make sure a script isn't lazy before calling it. 2014-04-07 20:48:05 -04:00
Terrence Cole
12b5b02857 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
49d53e031e Bug 992535 - Add a missing barrier in ArrayPopShift; r=sfink
--HG--
extra : rebase_source : 9506fd7b727877bc635e8977171aaa079bc66199
2014-04-07 14:54:58 -07:00