Commit Graph

44029 Commits

Author SHA1 Message Date
Nicolas B. Pierron
fe5350f4fa Bug 1040027 part 2 - IonMonkey: Recover MNewArray. r=jandem 2014-08-04 07:18:40 -07:00
Nicolas B. Pierron
b4eb552416 Bug 1040027 part 1 - Detect when we can replace an Array by an ArrayState. r=jandem 2014-08-04 07:18:38 -07:00
Benjamin Bouvier
72b068871c Bug 1047332: Remove unused jrt variables in jsapi-tests; r=mjrosenb 2014-08-04 10:46:13 +02:00
Benjamin Bouvier
33f730aba3 Bug 1047332: Remove unused src2 variable in ARM's move emitter; r=mjrosenb 2014-08-04 10:45:55 +02:00
Benjamin Bouvier
8b524c6c0c Bug 1047301: Silence Clang warning about signed/unsigned comparison in SIMD.cpp; r=jandem 2014-08-04 09:20:35 +02:00
Ehsan Akhgari
9a69dcaf2c Bug 1047778 - Fix some bad implicit constructors in xpcprivate.h; r=bholley 2014-08-03 10:40:44 -04:00
Jason Orendorff
6bc778bcca Bug 1043690, part 1 - Provide helper function for HTMLDocument and HTMLFormElement proxies to use from [[Set]]. r=efaust 2014-07-29 20:27:18 -05:00
Luke Wagner
23d2b0c94c Bug 1036969 - Relicense source in js/src/asmjs under Apache License, Version 2.0 (r=rankov,jorendorff,vlad,gal,gerv,mitchell) 2014-08-01 17:27:32 -05:00
Ryan VanderMeulen
e0a146916c Backed out changeset 5b2dab72041e (bug 1046945) for crashes.
CLOSED TREE
2014-08-01 15:09:13 -04:00
Shu-yu Guo
b55d656697 Bug 1040441 - Fix ForkJoinGetSlice stub when JS_THREADPOOL_STEAL=0. (r=nmatsakis) 2014-08-01 11:35:54 -07:00
Hannes Verschore
d86704b06c Bug 1045063 - TraceLogging: Don't keep track of stack while disabled, r=bbouvier 2014-08-01 20:16:27 +02:00
Nicolas B. Pierron
8b49262333 Bug 1046597 - Balance stack in failures cases. r=efaust 2014-08-01 10:57:23 -07:00
Terrence Cole
286271bc44 Bug 1046945 - Move ExposeGCThingToActiveJS to js::gc:: and use the typed wrappers instead; r=jonco 2014-07-31 12:14:17 -07:00
Hannes Verschore
059d247295 Bug 1042823 - Don't blindly make MMinMax optimize for doubles, r=jandem 2014-08-01 19:18:05 +02:00
Debkanya Mazumder
86fa48d7af Bug 1034917 - Make ~nsJSID() protected. r=bholley 2014-08-01 10:02:30 -07:00
Guptha Rajagopal
1f0754fb2c Bug 1038259 - Enable template strings in all builds. r=jorendorff 2014-07-31 11:24:00 -04:00
Jan de Mooij
28ae45b0b6 Bug 1046585 followup - Fix bad includes. r=me
--HG--
extra : rebase_source : f26bc191b5cd125a3f808f9fbf3150003ffff8ac
2014-08-01 17:14:42 +02:00
Jan de Mooij
4e7aa64ff7 Bug 1046585 part 3 - Move ExecutableAllocator into jit/. r=sunfish
--HG--
rename : js/src/assembler/jit/ExecutableAllocator.cpp => js/src/jit/ExecutableAllocator.cpp
rename : js/src/assembler/jit/ExecutableAllocator.h => js/src/jit/ExecutableAllocator.h
rename : js/src/assembler/jit/ExecutableAllocatorPosix.cpp => js/src/jit/ExecutableAllocatorPosix.cpp
rename : js/src/assembler/jit/ExecutableAllocatorWin.cpp => js/src/jit/ExecutableAllocatorWin.cpp
2014-08-01 16:39:52 +02:00
Jan de Mooij
cba08896f1 Bug 1046585 part 2 - rm js/src/assembler/wtf/VMTags.h r=sunfish
--HG--
extra : rebase_source : c1e828e0a5070e2bddec4004063e4ceb1b3f1478
2014-08-01 16:36:06 +02:00
Jan de Mooij
12200f727e Bug 1046585 part 1 - rm js/src/assembler/wtf/Assertions.* r=sunfish
--HG--
extra : rebase_source : e3d980e207f678aaf8528fef746e085510d1bf7c
2014-08-01 16:36:06 +02:00
Luke Wagner
9314925fbd Bug 1036969 - Rename variable in AsmJSSignalHandlers.cpp (r=me) 2014-08-01 09:37:08 -05:00
Luke Wagner
ae18f7fae2 Bug 1036969 - mv js/src/jit/AsmJS* js/src/asmjs (r=jorendorff)
--HG--
rename : js/src/jit/AsmJSFrameIterator.cpp => js/src/asmjs/AsmJSFrameIterator.cpp
rename : js/src/jit/AsmJSFrameIterator.h => js/src/asmjs/AsmJSFrameIterator.h
rename : js/src/jit/AsmJSLink.cpp => js/src/asmjs/AsmJSLink.cpp
rename : js/src/jit/AsmJSLink.h => js/src/asmjs/AsmJSLink.h
rename : js/src/jit/AsmJSModule.cpp => js/src/asmjs/AsmJSModule.cpp
rename : js/src/jit/AsmJSModule.h => js/src/asmjs/AsmJSModule.h
rename : js/src/jit/AsmJSSignalHandlers.cpp => js/src/asmjs/AsmJSSignalHandlers.cpp
rename : js/src/jit/AsmJSSignalHandlers.h => js/src/asmjs/AsmJSSignalHandlers.h
rename : js/src/jit/AsmJS.cpp => js/src/asmjs/AsmJSValidate.cpp
rename : js/src/jit/AsmJS.h => js/src/asmjs/AsmJSValidate.h
2014-08-01 09:28:17 -05:00
Bob Owen
bb88fdd5d7 Bug 1045646 - Part 5: Remove AutoPushJSContext. r=bholley 2014-07-31 11:06:23 +01:00
Tooru Fujisawa
52116146c5 Bug 1034576 - Move math functions to the js namespace. r=bbouvier 2014-08-01 05:40:00 -04:00
Bill McCloskey
8c67fcff35 Bug 1016738 - Simplify/fix "dead compartment" logic (r=luke,jonco) 2014-06-17 11:20:33 -07:00
Bill McCloskey
024b67429e Bug 950745 - Flag when we're processing urgent messages and disallow certain activities (r=bsmedberg,luke) 2014-08-05 21:43:36 -07:00
Branislav Rankov
cf8960f36d Bug 1020359 - IonMonkey MIPS: Fix latest build issues. r=jandem 2014-07-08 16:08:47 +02:00
Branislav Rankov
027c057372 Bug 1046161 - IonMonkey MIPS: Port latest changes in AsmJSFrameIterator to MIPS. r=luke 2014-07-30 18:59:32 +02:00
Branislav Rankov
f8aea847bc Bug 1046164 - Restoring GlobalReg earlier in GenerateFFIIonExit. r=luke 2014-07-30 17:33:17 +02:00
Jan de Mooij
fe8ca9f5e0 Bug 1041469 part 6 - Remove now unused --latin1-strings shell flag. r=luke
--HG--
extra : rebase_source : fb14fdf3a33cf891b2335bf7f07486ec4c32a872
2014-08-01 11:17:42 +02:00
Jan de Mooij
879b2a5a60 Bug 1037889 - Attempt to silence a harmless Coverity warning. r=bbouvier
--HG--
extra : rebase_source : 10b6046b9b9fdac476b127e2a04c5218fb13b5c6
2014-08-01 11:16:46 +02:00
Jan de Mooij
71d6325fa4 Bug 1046595 - Fix GCRuntime::shrinkBuffers to work with --no-threads. r=bhackett
--HG--
extra : rebase_source : aa26b685b980815149f0c40f7a85fca190fce3dd
2014-08-01 11:15:59 +02:00
Ehsan Akhgari
9c882f716e Bug 1043088 - Enable forcing the usage of the static CRT in libffi's msvc wrapper; r=glanidum
--HG--
extra : rebase_source : 52244b289e7aac818a492602e57e567097bdafb0
2014-07-31 20:30:14 -04:00
Jim Blandy
1b479f0f20 Bug 1038544: Implement ubi::Node::zone, to return the JS::Zone to which the node's referent belongs. r=terrence 2014-07-31 17:29:40 -07:00
Wes Kocher
edf6b12068 Backed out changeset 61a25c10da62 (bug 1038544) for build failures 2014-07-31 14:40:16 -07:00
Jim Blandy
8bb6861710 Bug 1038544: Implement ubi::Node::zone, to return the JS::Zone to which the node's referent belongs. r=terrence 2014-07-31 13:50:10 -07:00
Jan de Mooij
6aed42a53b Bug 1045529 - Ion-compile non-CNG functions. r=bhackett
--HG--
extra : rebase_source : 1db0223c640813a98f55d00ad18ef6ac49882eb9
2014-07-31 19:53:41 +02:00
Terrence Cole
c410ae17c7 Bug 1045940 - Rename needsBarrier to needsIncrementalBarrier; r=jonco 2014-07-28 10:16:56 -07:00
Kannan Vijayan
bb0d5e7304 Bug 1041781 - Optimize constant charCodeAt in Ion. r=h4writer 2014-07-31 13:51:03 -04:00
Bobby Holley
a23211976d Bug 940321 - Eliminate ambient noScriptRval, and make it live exclusively on CompileOptions. r=jandem 2014-07-31 09:55:20 -07:00
Brian Hackett
b0cda48c8a Bug 1046452 - Fix --disable-ion build breakage, r=jandem. 2014-07-31 07:19:08 -08:00
Douglas Crosher
eb87b5379a Bug 1046125 - IonMonkey: (ARM) Correct handling of 16 DP float registers for SetElementCache code generation. r=mjrosenb 2014-07-31 22:19:36 +10:00
Douglas Crosher
164d5df2db Bug 1046016 - IonMonkey (ARM): Correct the detection of the number of floating point registers. r=mjrosenb 2014-07-30 17:13:44 +10:00
Guptha Rajagopal
6645b03a5b Bug 1040196 - Implement ES6 ToLength r=jorendorff 2014-07-30 10:34:00 +02:00
Guptha Rajagopal
a035812740 Bug 1039774 - Implement ES6 String.raw r=till 2014-07-30 10:18:00 +02:00
Guptha Rajagopal
99836fd028 Bug 1038498 Implement JSOP_CALLSITEOBJ support in the JITs r=jandem with BaselineCompiler changes r=jorendorff in bug 1031397. r=jandem 2014-07-30 10:15:00 +02:00
Guptha Rajagopal
10fd962893 Bug 1031397 - Implement Tagged Templates as described in ES6 draft section 12.3.7. r=jorendorff 2014-07-30 10:14:00 +02:00
Ting-Yuan Huang
a3e12f94d7 Bug 1031396 - Part 2 Tests - GVN misses DCE when an MDefinition is used multiple times by the same MNode. r=sunfish
Factor out MinimalFunc and add 2 tests for DCE.
2014-07-29 07:26:00 +02:00
Ting-Yuan Huang
748cb0e98b Bug 1031396 - GVN misses DCE when an MDefinition is used multiple times by the same MNode. r=sunfish
Check the deadness of operands after discarding/removing them from dead instructions/phis.
2014-07-27 20:57:00 +02:00
Jim Blandy
7e63336e52 Bug 1012456: Clean up namespace usage in js/src/vm/DebuggerMemory.cpp. r=terrence 2014-07-30 17:15:58 -07:00
Jim Blandy
a3de3d6a60 Bug 1038316: Add support for ES6 Symbols to ubi::Node. r=sfink 2014-07-30 17:14:19 -07:00
Terrence Cole
f21b7a395b Bug 1029299; r=billm 2014-05-12 15:12:51 -07:00
Bill McCloskey
8bcf32b6ed Back out bug 950745 for crashes 2014-07-30 16:19:46 -07:00
Bobby Holley
a04e5f6e91 Bug 965898 - Handleify more stuff. r=me 2014-07-30 12:23:04 -07:00
Bobby Holley
c4dada04cd Bug 965898 - Import web-platform-test into the tree. r=Ms2ger 2014-07-30 12:23:04 -07:00
Bobby Holley
5ae6472ff1 Bug 965898 - Allow both gettable and settable attributes in Filter(). r=gabor 2014-07-30 12:23:03 -07:00
Bobby Holley
8bbf60b812 Bug 965898 - Squelch exceptions during the shadowing detection in isCrossOriginAccessPermitted. r=gabor 2014-07-30 12:23:03 -07:00
Bobby Holley
99778c8324 Bug 965898 - Switch policies for get{,Own}PropertyDescriptor. r=gabor 2014-07-30 12:23:03 -07:00
Bobby Holley
a348ab6fd4 Bug 965898 - Generalize FilterSetter to work on all the relevant fields of JSPropertyDescriptor. r=gabor 2014-07-30 12:23:03 -07:00
Bobby Holley
26e1c71573 Bug 965898 - Don't reuse the JSPropertyDescriptor in BaseProxyHandler::keys. r=gabor
This causes garbage from a previous lookup to propagate into subsequent lookups,
and creates confusing situations (like having both a value and a getter).
2014-07-30 12:23:03 -07:00
Bobby Holley
7ca7c75a83 Bug 965898 - Don't use a FilteringWrapper to get an unfiltered view in ChromeObjectWrapper. r=gabor
This is necessary because subsequent patches cause us to assert when invoking
getPropertyDescriptor on a FilteringWrapper for which |Policy| denies both GET
and SET.

This stuff is really a mess. I'm looking forward to it going away.
2014-07-30 12:23:02 -07:00
Bobby Holley
f3c7314f1e Bug 965898 - Throw for [[Delete]] and [[DefineOwnProperty]]. r=gabor 2014-07-30 12:23:02 -07:00
Bobby Holley
2fcb56964b Bug 965898 - Implement proper behavior for [[Enumerate]] And [[OwnPropertyKeys]]. r=gabor 2014-07-30 12:23:02 -07:00
Bobby Holley
6f1162c539 Bug 965898 - Cross-origin objects should have null prototypes. r=gabor 2014-07-30 12:23:02 -07:00
Bobby Holley
c329d3c74c Bug 965898 - All properties from cross-origin objects are "configurable", non-enumerable, and non-writable. r=gabor 2014-07-30 12:23:02 -07:00
Bobby Holley
921ed05b2c Bug 965898 - All properties on cross-origin DOM objects should be |own|. r=gabor 2014-07-30 12:23:01 -07:00
Bobby Holley
3a13d5adec Bug 965898 - Implement an Xray subclass that we can use to implement HTML5 cross-origin semantics. r=gabor 2014-07-30 12:23:01 -07:00
Bobby Holley
c125de4fef Bug 965898 - Drop support for XPCWN XOWs. r=gabor
XOWs only allow access to Window and Location, both of which are on WebIDL now.
2014-07-30 12:23:01 -07:00
Douglas Crosher
760cc16155 Bug 1041519 - IonMonkey (ARM): Instantiate setVFPRegister for use by the jsapi-tests. r=mjrosenb 2014-07-29 11:57:00 +10:00
Jan de Mooij
4bb4f1f1ac Bug 1046176 - Fix inlined UnsafeSetReservedSlot post barrier. r=nbp 2014-07-30 17:48:21 +02:00
Jim Blandy
023482c98b Bug 1045900: Move the declaration of INTERNED_STRING_TO_JSID from js/src/jsapi.h to js/public/Id.h. r=jwalden 2014-07-30 08:37:03 -07:00
Jan de Mooij
87edef090c Bug 1019543 - Fix toLowerCase/toUpperCase to return the original string if possible. r=luke 2014-07-30 14:38:28 +02:00
Tom Schuster
901e429fff Bug 1045584 - Remove everything relating to frames from OldDebugAPI. r=jandem,bholley 2014-07-30 14:26:46 +02:00
Bobby Holley
49e86ce330 Backed out 16 changesets (bug 965898) for rooting hazards. CLOSED TREE
Backed out changeset ac4abde3579f (bug 965898)
Backed out changeset c4c7ab1a2f70 (bug 965898)
Backed out changeset e0bf3598dfe1 (bug 965898)
Backed out changeset 8f2788a0ba24 (bug 965898)
Backed out changeset 0d1cda4decaa (bug 965898)
Backed out changeset 3d80ffc439fb (bug 965898)
Backed out changeset ad66ab36fe2d (bug 965898)
Backed out changeset dcf7ccf6eff2 (bug 965898)
Backed out changeset d3f02e80355d (bug 965898)
Backed out changeset 212f2d05d9e7 (bug 965898)
Backed out changeset c350a2c0aa6d (bug 965898)
Backed out changeset c75acd0663a9 (bug 965898)
Backed out changeset d68f7ef0ae69 (bug 965898)
Backed out changeset 610e6d6e1a88 (bug 965898)
Backed out changeset 54d40a30f6ad (bug 965898)
Backed out changeset 403a0e1d2324 (bug 965898)
2014-07-29 22:57:59 -07:00
Bobby Holley
3edb3819a0 Bug 965898 - Fix non-unified build bustage. r=me CLOSED TREE 2014-07-29 22:37:55 -07:00
Bobby Holley
226d0d23ab Bug 965898 - Import web-platform-test into the tree. r=Ms2ger 2014-07-29 21:35:32 -07:00
Bobby Holley
077b49ebff Bug 965898 - Allow both gettable and settable attributes in Filter(). r=gabor 2014-07-29 21:35:32 -07:00
Bobby Holley
0ff091e38b Bug 965898 - Squelch exceptions during the shadowing detection in isCrossOriginAccessPermitted. r=gabor 2014-07-29 21:35:32 -07:00
Bobby Holley
8f84226eb0 Bug 965898 - Switch policies for get{,Own}PropertyDescriptor. r=gabor 2014-07-29 21:35:32 -07:00
Bobby Holley
2773e94581 Bug 965898 - Generalize FilterSetter to work on all the relevant fields of JSPropertyDescriptor. r=gabor 2014-07-29 21:35:31 -07:00
Bobby Holley
3182337fc6 Bug 965898 - Don't reuse the JSPropertyDescriptor in BaseProxyHandler::keys. r=gabor
This causes garbage from a previous lookup to propagate into subsequent lookups,
and creates confusing situations (like having both a value and a getter).
2014-07-29 21:35:31 -07:00
Bobby Holley
1eccf2848c Bug 965898 - Don't use a FilteringWrapper to get an unfiltered view in ChromeObjectWrapper. r=gabor
This is necessary because subsequent patches cause us to assert when invoking
getPropertyDescriptor on a FilteringWrapper for which |Policy| denies both GET
and SET.

This stuff is really a mess. I'm looking forward to it going away.
2014-07-29 21:35:31 -07:00
Bobby Holley
3b613a5b26 Bug 965898 - Throw for [[Delete]] and [[DefineOwnProperty]]. r=gabor 2014-07-29 21:35:31 -07:00
Bobby Holley
d080afcd9d Bug 965898 - Implement proper behavior for [[Enumerate]] And [[OwnPropertyKeys]]. r=gabor 2014-07-29 21:35:31 -07:00
Bobby Holley
4f0d1e2311 Bug 965898 - Cross-origin objects should have null prototypes. r=gabor 2014-07-29 21:35:30 -07:00
Bobby Holley
1845c65894 Bug 965898 - All properties from cross-origin objects are "configurable", non-enumerable, and non-writable. r=gabor 2014-07-29 21:35:30 -07:00
Bobby Holley
80a57aee8e Bug 965898 - All properties on cross-origin DOM objects should be |own|. r=gabor 2014-07-29 21:35:30 -07:00
Bobby Holley
7cb586e5d9 Bug 965898 - Implement an Xray subclass that we can use to implement HTML5 cross-origin semantics. r=gabor 2014-07-29 21:35:30 -07:00
Bobby Holley
03c0bac2d7 Bug 965898 - Drop support for XPCWN XOWs. r=gabor
XOWs only allow access to Window and Location, both of which are on WebIDL now.
2014-07-29 21:35:29 -07:00
Bobby Holley
6807884378 Bug 940305 - Move extraWarnings to RuntimeOptions with a per-compartment override. r=jandem,r=khuey 2014-07-29 21:00:37 -07:00
Boris Zbarsky
531e8ee54e Bug 1031945. Don't expose showModalDialog on Window if it's preffed off. r=smaug 2014-07-26 01:41:10 -04:00
Andrew McCreight
44c42eea7a Bug 1037510, part 1 - Add nursery size as a parameter of CycleCollectedJSRuntime. r=khuey 2014-07-29 15:38:14 -07:00
Terrence Cole
10b9e936f7 Bug 1033442 - Split out GC scheduling tunables to make Zone GC heap triggers clearer; r=sfink 2014-07-22 16:24:28 -07:00
Terrence Cole
8d0192ae1b Bug 1045181 - Miscellaneous small cleanups in js::gc; r=jonco 2014-07-29 10:47:43 -07:00
Brian Hackett
a6561baa45 Bug 1042833 - Remove JS_ION #ifdef, r=jandem. 2014-07-29 12:51:40 -08:00
Terrence Cole
0b05d24c84 Backed out changeset eefad3e4e594 for valgrind failures on a CLOSED TREE.
--HG--
extra : rebase_source : b5b018f5a5f23fe12600e64508ef075794d707fe
2014-07-29 10:47:32 -07:00
Brian Hackett
450a348f37 Bug 1028580 - Fold and/or and condition tests before critical edge splitting, r=sunfish. 2014-07-29 09:18:14 -08:00
Terrence Cole
a49fad5afc Bug 1033442 - Split out GC scheduling tunables to make Zone GC heap triggers clearer; r=sfink
--HG--
extra : rebase_source : 3631e7c23d5e48f294d7860d2edd3dda776036cc
2014-07-22 16:24:28 -07:00
Bobby Holley
d8fcaf3d52 Bug 1044205 - Rename XPCWrappedNativeScope::TraceSelf to TraceInside. r=billm 2014-07-29 08:48:33 -07:00
Bobby Holley
8bee6258a0 Bug 1044205 - Invoke XPCWrappedNativeScope::TraceSelf from TraceXPCGlobal. r=billm 2014-07-29 08:48:32 -07:00