Граф коммитов

42207 Коммитов

Автор SHA1 Сообщение Дата
Nick Fitzgerald 9f0fc42c03 Bug 972045 - Add a compact representation for call stacks in SpiderMonkey. r=jimb 2014-04-24 17:25:00 -04:00
Steve Fink 8b797a29fd Bug 999755 - Add neuter() variants to vary data pointer, r=Waldo 2014-04-24 14:40:57 -07:00
Ben Kelly 382ac50423 Bug 987556 Part 11 Use allocated array version of ConvertToUTF16() in XPCJSRuntime. r=bz 2014-04-25 10:11:57 -04:00
Ben Kelly 53eaab4b39 Bug 987556 Part 10 Use JS::SourceBufferHolder in mozJSSubScriptLoader. r=bz 2014-04-25 10:11:57 -04:00
Ben Kelly 262b148f53 Bug 987556 Part 6 Use JS::SourceBufferHolder in JS::Compile() and JS::CompileFunction() r=luke 2014-04-25 10:11:56 -04:00
Ben Kelly 058138c81c Bug 987556 Part 3 Use JS::SourceBufferHolder in various JS Evaluate() APIs r=luke 2014-04-25 10:11:56 -04:00
Ben Kelly 0e313df0aa Bug 987556 Part 2 Use JS::SourceBufferHolder in frontend::ByteCompiler API. r=luke 2014-04-25 10:11:56 -04:00
Ben Kelly c926a12c77 Bug 987556 Part 1 Add JS::SourceBufferHolder for passing source script data. r=luke 2014-04-25 10:11:56 -04:00
Jon Coppeard 86fdb4ac45 Bug 993768 - Handle TypeArrayObjects when tenuring r=terrence 2014-04-10 13:46:58 +01:00
Jon Coppeard f4c441f851 Bug 993768 - ArrayBufferObject::neuter updates view objects twice r=waldo 2014-04-25 11:33:33 +01:00
Till Schneidereit d907b73914 Bug 996536 - Don't assume that all interpretedLazy functions have a lazyScript. r=bhackett
--HG--
extra : rebase_source : 38cc4170ef4296ff706ed2603a17ec97b64b68e7
2014-04-25 10:40:17 +02:00
Nick Fitzgerald be19570abb Bug 984696 - Save more detailed source notes so that Debugger.Script.prototype.getAllColumnOffsets can offer more for source mapped and/or pretty printed JS debugging. r=ejpbruel 2014-04-24 09:32:00 +02:00
Luke Wagner d93f49c8ed Bug 998490 - OdinMonkey: make asm.js frames show up in FrameIter (r=dougc)
--HG--
extra : rebase_source : 8ed09da1be0afda32c1f669a6736b266019a10ae
2014-04-16 18:46:03 -05:00
Luke Wagner 729f1ef6a4 Bug 998490 - OdinMonkey: rm unused functionCounts from asm.js (r=bbouvier)
--HG--
extra : rebase_source : c6b38f528625ca9bea4ce6f9de85d66e1d3374e0
2014-04-16 16:06:08 -05:00
Luke Wagner 944b7150c6 Bug 998490 - OdinMonkey: add common AssemblerShared base class, hoist some things into it (r=bbouvier,jandem)
--HG--
extra : rebase_source : 0ee188f547bddf5e191e9cab041cb5489828f999
2014-04-16 16:05:39 -05:00
Luke Wagner b5769eaec7 Bug 998490 - OdinMonkey: add operator-> to ActivationIterator (r=jandem)
--HG--
extra : rebase_source : 0ccecece1d8366c656b858bf2ec9e3beec6d1b54
2014-04-16 15:57:04 -05:00
Luke Wagner 63e1207126 Bug 998490 - OdinMonkey: simplify stack-overflow exit stub (r=sunfish)
--HG--
extra : rebase_source : a9fdec79fcf136ef296173f08ae8908ee46019f9
2014-04-16 15:57:00 -05:00
Shu-yu Guo 935b80aa31 Bug 716647 - Followup: observe JS_OPTIMIZED_OUT as unknown instead of undefined inside BaselineFrameInspector to avoid unnecessary type barrier bailouts. (r=jandem) 2014-04-24 14:46:27 -07:00
Jeremy Morton 311814b5b8 Bug 998291 - Allow for relatively-loaded modules to be loaded into a given scope. r=bsmedberg 2014-04-22 23:37:26 +01:00
Bobby Holley 07b9d1a1c4 Bug 1001094 - Give nsJSID classinfo. r=mrbkap 2014-04-24 13:23:27 -07:00
Ryan VanderMeulen 8b7b5cc3a2 Backed out changeset ace4dd426349 (bug 972045) for mochitest failures. 2014-04-24 15:10:44 -04:00
Nick Fitzgerald 56f6826f77 Bug 972045 - Add a compact representation for call stacks in SpiderMonkey. r=jimb 2014-04-24 10:04:00 -04:00
Terrence Cole 0eb383393f Bug 998355. r=jonco 2014-04-23 15:39:56 -07:00
Ryan VanderMeulen a3e615580e Backed out changeset 0b365c68c8a9 (bug 995336) for Android armv6 crashes.
CLOSED TREE
2014-04-24 12:22:33 -04:00
Ehsan Akhgari 7262b1ae70 Bug 998738 - Kill nsIDOMXPathNamespace (and window.XPathNamespace); r=smaug 2014-04-24 12:07:44 -04:00
Brian Hackett 86b4104297 Bug 1000145 - Tweak type set OOM handling while sweeping, r=jandem. 2014-04-24 09:04:00 -06:00
Brian Hackett b6fda9e15d Bug 995336 - Use IonBuilder for arguments usage analysis, r=jandem. 2014-04-24 08:57:26 -06:00
Branislav Rankov 9252687bf0 Bug 969375 - MIPS port: Added Trampoline-mips and Bailouts-mips. r=nbp 2014-04-24 11:54:02 +02:00
Branislav Rankov 241437e4e5 Bug 969375 - MIPS port: Added CodeGenerator-mips code. r=nbp 2014-04-22 16:01:13 +02:00
Branislav Rankov 041d3b7a2f Bug 969375 - MIPS port: Added JS_CODEGEN_MIPS checks and includes. r=jandem 2014-04-15 11:53:23 +02:00
masaya iseki 474e2b77aa Bug 939115 - Add MIR node for ArraySplice to avoid creating the result array if it's unused. r=jandem 2014-04-24 12:08:17 +02:00
Ed Morley 2382236b55 Bug 997489 - Fix stray </tt> tag causing JS warning spam during jsreftests; r=Waldo 2014-04-24 10:33:10 +01:00
Carsten "Tomcat" Book 7a445167e7 Backed out changeset 51dbd71f00a5 (bug 984696) for mochitest-2 test failures on a CLOSED TREE 2014-04-24 11:22:14 +02:00
Shu-yu Guo cb89c61677 Bug 716647 - Part 6 1/2: Add shell function to deterministically request interrupt. (r=jimb) 2014-04-24 01:59:38 -07:00
Shu-yu Guo 7cec2c2638 Bug 716647 - Part 6: Tests. (r=jimb) 2014-04-24 01:59:38 -07:00
Shu-yu Guo ee2ae70d76 Bug 716647 - Part 5 1/2: Support rematerialized frames in DebugScopes::updateLiveScope. (r=jimb) 2014-04-24 01:59:38 -07:00
Shu-yu Guo d62d373a19 Bug 716647 - Part 5: Relax the no on-stack scripts restriction for addDebuggee. (r=jimb) 2014-04-24 01:59:37 -07:00
Shu-yu Guo ae50cf4bba Bug 986767 - Fix adjusting stepModeCount when removing a debuggee global from inside the onStep handler. (r=jimb) 2014-04-24 01:59:37 -07:00
Shu-yu Guo f91de09aef Bug 716647 - Part 4: Recompile on-stack baseline scripts when toggling debug mode. (r=jandem) 2014-04-24 01:59:37 -07:00
Shu-yu Guo 4c40a67497 Bug 716647 - Part 3: Support rematerializing Ion frames on the stack. (r=jandem) 2014-04-24 01:59:37 -07:00
Shu-yu Guo 19123619ac Bug 716647 - Part 2: Bailout in place instead of directly to catch on Ion exception when Debugger is on. (r=jandem) 2014-04-24 01:59:37 -07:00
Shu-yu Guo df7ee101da Bug 716647 - Part 1: Introduce JS_OPTIMIZED_OUT magic for optimized out slots and teach Debugger about them. (r=jandem) 2014-04-24 01:59:36 -07:00
Carsten "Tomcat" Book b561e124dd Backed out changeset ac10d2fcb25d (bug 969375) for ggc testfailures 2014-04-24 10:48:17 +02:00
Benjamin Bouvier fb34f2ffe2 Bug 988950: Remove unused Nursery variable; r=jandem 2014-04-24 10:17:07 +02:00
Branislav Rankov 3be4b77cff Bug 969375 - MIPS port: Added Lowering code. r=jandem 2014-03-18 16:43:18 +01:00
Branislav Rankov fd9f120d19 Bug 969375 - MIPS port: Added Trampoline-mips and Bailouts-mips. r=nbp 2014-03-17 15:33:28 +01:00
Nick Fitzgerald 0c4ede6a3e Bug 984696 - Save more detailed source notes so that Debugger.Script.prototype.getAllColumnOffsets can offer more for source mapped and/or pretty printed JS debugging. r=ejpbruel 2014-04-22 09:11:00 +02:00
Wes Kocher 0d090f0f14 Backed out changeset 208bcb7879c0 (bug 995982) for mochitest-1 assertions on a CLOSED TREE 2014-04-23 16:19:43 -07:00
Dan Gohman 118e8f6ba8 Bug 967709 - SpiderMonkey: Revert the fast_sincos implementation for now. r=me 2014-04-23 14:44:01 -07:00
Shu-yu Guo a9dec9ad29 Bug 996987 - Always allow exit code 0 when checking for exit codes in Windows, because Windows. (r=terrence) 2014-04-23 14:35:33 -07:00
Brian Hackett 2ed4eecc7c Bug 995982 - Set up forwarding pointers properly when allocating typed array objects in the nursery. r=sfink 2014-04-23 14:12:31 -07:00
Hannes Verschore 7555d00e89 Bug 995934 - IonMonkey: Remove branch out of hot code in negative zero test, r=bbouvier 2014-04-23 17:17:29 +02:00
Jon Coppeard 4c680c2de8 Bug 988950 - Combine value type and nursery check for object r=jandem 2014-04-23 13:48:35 +01:00
Jon Coppeard c4cd68db81 Bug 988950 - Use scratch register instead of temp where possible r=jandem 2014-04-23 13:48:35 +01:00
Jon Coppeard f576917080 Bug 988950 - Split macro assembler implementation by architecture r=jandem 2014-04-23 13:48:35 +01:00
Jon Coppeard 7192a5c411 Bug 988950 - Add a macro assembler instruction to check if a pointer is in the nursery r=jandem 2014-04-23 13:48:35 +01:00
Jon Coppeard 0d8a56a9e2 Bug 988950 - Check whether value is an object after checking whether object is in nursery r=terrence 2014-04-23 13:48:34 +01:00
Jan de Mooij fa25dee699 Bug 999559 part 2 - Rename FrameIter::Data::ionFrames_ to jitFrames_. r=luke 2014-04-23 11:56:23 +02:00
Jan de Mooij f5b5ee3aa7 Bug 999559 part 1 - Rename IonFrameIterator to JitFrameIterator. r=shu
--HG--
rename : js/src/jit/IonFrameIterator-inl.h => js/src/jit/JitFrameIterator-inl.h
rename : js/src/jit/IonFrameIterator.h => js/src/jit/JitFrameIterator.h
2014-04-23 11:56:21 +02:00
Jan de Mooij ddce1750e2 Bug 999358 - Fix MLambdaArrow to initialize the unused extended slot too. r=terrence 2014-04-23 11:31:43 +02:00
Chris Peterson 166df78b9e Bug 999717 - Fix gcc -Wlogical-op warning in js. r=mrbkap 2014-04-22 14:42:27 -07:00
Shu-yu Guo 32ae0307bf Bug 996422 - Part 2: Split MIRType_Magic into one type for each magic constant. (r=jandem) 2014-04-22 18:23:27 -07:00
Shu-yu Guo 0529a14819 Bug 996422 - Part 1: Make TypeSets work with MIRTypes directly. (r=bhackett) 2014-04-22 18:23:27 -07:00
Bobby Holley bef3900938 Bug 990353 - Make discardSource a Sandbox option and use it (even in Desktop) for the precompilation scope. r=luke 2014-04-22 14:08:29 -07:00
Bobby Holley 8c7cf2c1e6 Bug 990353 - Flip off source discarding for XPCShell. r=fabrice 2014-04-22 14:08:29 -07:00
Bobby Holley 8ae876fba5 Bug 990353 - Tests. r=bent 2014-04-22 14:08:28 -07:00
Bobby Holley 58c382e9e3 Bug 990353 - Give tests/chrome its own moz.build file, like tests/mochitest. r=mshal
We also add a mochitest.ini file, which will eventually be used for http-served
files that are associated with chrome mochitests.
2014-04-22 14:08:28 -07:00
Bobby Holley e1d5378ac6 Bug 990353 - Flag for discarding where appropriate. r=bent 2014-04-22 14:08:28 -07:00
Bobby Holley 2a54864f28 Bug 990353 - Add a pref for system source discarding. r=bent 2014-04-22 14:08:28 -07:00
Bobby Holley 9766fa5987 Bug 990353 - Make the decision to discard source entirely per-global, rather than per-script. r=luke
This is effectively a policy decision based on the kind of code we expect to be
running somewhere. This is in contrast to lazy source, which is often a practical
per-script consideration of whether or not we can retrieve the source if requested.

More importantly, tracking this information on the global is much easier to
get right than tracking it on the script.
2014-04-22 14:08:27 -07:00
Shu-yu Guo e7a69983be Bug 906525 - Re-enable PJS timeout tests. (r=nmatsakis) 2014-04-22 14:13:15 -07:00
Shu-yu Guo 37a4de0a84 Bug 998997 - Use PROT_NONE on POSIX and PAGE_NOACCESS on Windows when protecting JIT code. (r=luke) 2014-04-22 14:13:14 -07:00
Marty Rosenberg 8772be6b45 Bug 995542: Add extra consumers of the congruence-head when we split it from the class. (r=sstangl) 2014-04-22 15:11:36 -04:00
Terrence Cole 5e19daf1f7 Bug 807168 - Move rarely used code in GCMarker out of the header; r=jonco
--HG--
extra : rebase_source : f8895a2a2a00f31a45900cdbc718a19aed6262d9
2014-04-16 16:36:44 -07:00
Terrence Cole 563d457634 Bug 807168 - Move GCMarker into gc/Tracer.h; r=jonco
--HG--
extra : rebase_source : 031495e6bb5510009eb871866e9f5e3beda24211
2014-04-16 16:26:33 -07:00
Luke Wagner 73f0ab2246 Bug 998507 - add BinarySearch (r=sunfish)
--HG--
extra : rebase_source : 6ba04575a5dd8a886235e6799bc790c7a3afc64f
2014-04-15 21:30:26 -05:00
Hannes Verschore 36d9b20377 Bug 995673 - IonMonkey: Don't remove MToXXX instructions, when an object flows through, r=jandem 2014-04-22 16:46:18 +02:00
Dan Gohman a21075fc39 Bug 998158 - SpiderMonkey: When available, use SSE feature macros instead of runtime tests. r=sstangl 2014-04-21 17:35:00 -07:00
Dan Gohman cdce8f5068 Bug 998158 - SpiderMonkey: Simplify setSSECheckState(). r=sstangl 2014-04-21 17:35:00 -07:00
Dan Gohman 6e74a1bc73 Bug 998158 - SpiderMonkey: Outline setSSECheckState(). r=sstangl 2014-04-21 17:34:59 -07:00
Dan Gohman f405c5abdb Bug 998158 - SpiderMonkey: Use specific feature tests instead of calling getSSEState() r=sstangl 2014-04-21 17:34:57 -07:00
Mauricio Collares Neto 70c5783271 Bug 976110 - Part 2: Clean up signed integer division by constants. r=sunfish 2014-04-21 17:27:40 -07:00
Wes Kocher c3c25ff77d Backed out changeset 0c0a5a6b57d9 (bug 616491) for jsreftest failures 2014-04-21 16:11:20 -07:00
Jan de Mooij cdd3d842ec Bug 998596 - Add ARM simulator status to getBuildConfiguration. r=terrence 2014-04-21 15:36:33 -07:00
Terrence Cole ffcd94e572 Bug 994281. r=sfink 2014-04-21 15:20:08 -07:00
Sean Stangl 0a5ff4e2a2 Bug 616491 - Follow-up: detect over-recursion on Windows. r=mjrosenb 2014-04-08 13:51:37 -07:00
Wes Kocher f371646f79 Backed out changeset 9e43ff213b64 (bug 616491) for bustage 2014-04-21 14:05:21 -07:00
Bill McCloskey 9f6a08d632 Bug 798678 - WeakMaps with keys from another compartment are possible and incorrect (tests) (r=mccr8) 2014-04-21 13:41:44 -07:00
Sean Stangl 516d6336f0 Bug 616491 - Follow-up: detect over-recursion on Windows. r=mjrosenb 2014-04-08 13:51:37 -07:00
Emanuel Hoogeveen 3370d0532e Bug 997459 - Part 2: Coefficients for polevl_cos with fewer terms; potentially less precise, but more performant. r=sunfish
CLOSED TREE
2014-04-21 10:44:11 -04:00
Emanuel Hoogeveen 428e002a6b Bug 997459 - Part 1: Coefficients for polevl_sin with lower mean error. r=sunfish 2014-04-21 10:16:18 -04:00
Bobby Holley 3b3a7fe701 Bug 993772 - Introduce a singleton compilation scope. r=mrbkap 2014-04-20 11:48:13 -07:00
Bobby Holley 598e9fa905 Bug 993772 - Stop serializing principals along with scripts. r=mrbkap
The principal of a script is determined by the compartment these days, so this
field is useless.
2014-04-20 11:48:13 -07:00
Phil Ringnalda a5452f2660 Merge m-i to m-c 2014-04-19 18:25:46 -07:00
Bobby Holley 88cc67dc3b Bug 998083 - Introduce Cu.getObjectPrincipal and kill nsIScriptSecurityManager::GetObjectPrincipal. r=gabor 2014-04-19 10:39:59 -07:00
Mauricio Collares Neto 81943690eb Bug 976110 - Part 1: Optimize signed integer division by constants; r=sunfish 2014-04-19 10:37:51 -07:00
Mauricio Collares Neto 5b70ecdd2c Bug 976110 - Part 0: Optimize division and modulus by negative powers of two; r=sunfish 2014-04-19 10:37:49 -07:00
Phil Ringnalda 2cabee2858 Back out 8 changesets (bug 990353) for gaia-integration bustage
CLOSED TREE

Backed out changeset f6b3c03454a4 (bug 990353)
Backed out changeset 6e1f9b821ae0 (bug 990353)
Backed out changeset 2926ad6c594f (bug 990353)
Backed out changeset 74b75c155205 (bug 990353)
Backed out changeset 394e09fe2da2 (bug 990353)
Backed out changeset 0fdd36b19a51 (bug 990353)
Backed out changeset 0792729890cc (bug 990353)
Backed out changeset 487e6f72fcf7 (bug 990353)
2014-04-19 08:37:32 -07:00
Jan de Mooij 0767e097c8 Bug 976536 - Fix JSFunction::existingScript returning NULL in some cases. r=till 2014-04-19 13:45:59 +02:00
Bobby Holley 3b6343b213 Bug 990353 - Followup bustage fix. r=me 2014-04-19 00:40:18 -07:00
Bobby Holley 168f933189 Bug 990353 - Flip off source discarding for XPCShell. r=fabrice 2014-04-18 23:46:27 -07:00
Bobby Holley 41d6ff319a Bug 990353 - Tests. r=bent 2014-04-18 23:46:27 -07:00
Bobby Holley 259afdd32f Bug 990353 - Give tests/chrome its own moz.build file, like tests/mochitest. r=mshal
We also add a mochitest.ini file, which will eventually be used for http-served
files that are associated with chrome mochitests.
2014-04-18 23:46:27 -07:00
Bobby Holley 861c2a9611 Bug 990353 - Flag for discarding where appropriate. r=bent 2014-04-18 23:46:27 -07:00
Bobby Holley db5dd8dd81 Bug 990353 - Add a pref for system source discarding. r=bent 2014-04-18 23:46:26 -07:00
Bobby Holley f8ee5952ab Bug 990353 - Make the decision to discard source entirely per-global, rather than per-script. r=luke
This is effectively a policy decision based on the kind of code we expect to be
running somewhere. This is in contrast to lazy source, which is often a practical
per-script consideration of whether or not we can retrieve the source if requested.

More importantly, tracking this information on the global is much easier to
get right than tracking it on the script.
2014-04-18 23:46:26 -07:00
Ryan VanderMeulen cf27d1f9fe Merge m-c to inbound. 2014-04-18 22:08:16 -04:00
Ryan VanderMeulen 05e02e5efd Merge inbound to m-c. 2014-04-18 22:00:13 -04:00
Dan Gohman 0fddf7bc81 Bug 998155 - IonMonkey: Constify congruentTo and mightAlias. r=h4writer 2014-04-18 17:55:21 -07:00
Douglas Crosher b14d01f56e Land bug 996883. r=mjrosenb 2014-04-17 00:08:21 +10:00
Terrence Cole 37cf52d9fd Bug 807168 - Followup to fix an issue building on ancient GCC on a CLOSED TREE; r=Waldo 2014-04-18 11:19:16 -07:00
Dan Gohman 20f5665364 Bug 998170 - IonMonkey: Eliminate LPhi's numInputs_ member. r=nbp 2014-04-18 11:13:44 -07:00
Dan Gohman ad4273ba8f Bug 998167 - IonMonkey: Fix signed integer undefined behavior r=nbp 2014-04-18 11:13:44 -07:00
Dan Gohman 8c1c3c1373 Bug 998156 - IonMonkey: Misc RangeAnslysis code cleanups. r=nbp 2014-04-18 11:13:44 -07:00
Dan Gohman e2b7f5013f Bug 998173 - SpiderMonkey: Harmonize x86 and x64's MacroAssembler finish functions. r=bbouvier 2014-04-18 11:13:44 -07:00
Dan Gohman c6211f7aa7 Bug 998172 - SpiderMonkey: Eliminate unnecessary parentheses around return values. r=nbp 2014-04-18 11:13:44 -07:00
Terrence Cole 8fe179529e Bug 807168 - Followup to fix build failure with clang; r=bustage-fix 2014-04-18 09:50:30 -07:00
Terrence Cole 56f4a8bca3 Bug 807168 - Make JSTracer into a real C++ class and kill the macro accessors; r=jonco,mccr8
--HG--
rename : js/public/Tracer.h => js/public/TracingAPI.h
2014-04-11 15:19:05 -07:00
Fabrice Desré b6c050f2c2 Bug 965970 - Add support to compile asm.js code at install/update time r=luke,bholley,marco 2014-04-17 22:03:03 -07:00
Hannes Verschore 1602115e41 Bug 998251 - IonMonkey: print to the right stream during IONFLAGS=logs, r=nbp,nbp 2014-04-18 16:00:20 +02:00
Hannes Verschore 417129494b Bug 997656 - Tracelogging: Log when baseline is compiling, r=djvj 2014-04-18 16:00:17 +02:00
Marty Rosenberg 04c8e4d392 Bug 990807 - Valgrind detects leak - 4 bytes and/or 32 bytes are definitely lost (direct), r=dougc 2014-04-17 12:00:05 -07:00
Tooru Fujisawa 657909dadd Bug 471713 - Part 6: Add documentation for object- and array-related opcodes. r=evilpies
--HG--
extra : rebase_source : 6c9a441404809c6fc55b1d052f2126e79da39877
2014-04-02 19:35:15 +09:00
Tooru Fujisawa ade891c5ce Bug 471713 - Part 4: Add documentation for variables and constants. r=luke
--HG--
extra : rebase_source : 748cf711992289c12e5cb6da240cb2a8a906dddf
2014-04-02 19:29:21 +09:00
Tooru Fujisawa e4535ab859 Bug 471713 - Part 3: Add documentation for function call-related opcodes. r=djvj
--HG--
extra : rebase_source : 1b019427b68d8be12cde998f60389d68c3224aad
2014-04-11 09:14:08 +09:00
Tooru Fujisawa 3c802d9180 Bug 471713 - Remove duplicated parens around flags in SpiderMonkey. r=jwalden
--HG--
extra : rebase_source : 45e8cc7caa3b0796052bdb2bb9f949ad82aa3c7f
2014-04-12 14:44:35 +09:00
Terrence Cole 30bb9d81ff Bug 990336 - Backout non-lazy dedup-on-insertion: not actually a speedup; r=jonco
--HG--
extra : rebase_source : 7b505c2c46b8c65c19e5d10b622a76bd8976e9a5
2014-04-17 08:14:35 -07:00
Benjamin Bouvier 19f1372183 Bug 996881: Inherit 'use strict' directive when calling toSource/toString for asm.js modules; r=luke
--HG--
extra : rebase_source : 63ed080e38be66583c205d930b147bb1e2c66d2c
2014-04-17 14:06:50 +02:00
Hannes Verschore a45fae84ce Bug 995490 - Tracelogger: Don't assert for wrong textId on non-active items, r=till 2014-04-17 12:26:25 +02:00
Hannes Verschore 9142d75178 Bug 995826 - IonMonkey: Fix bogus behaviour of the negative zero test on x86, r=bbouvier 2014-04-17 12:26:23 +02:00
Hannes Verschore fb71493b70 Bug 995675 - IonMonkey: Remove incorrect optimization of ToDouble, r=jandem 2014-04-17 12:26:20 +02:00
Hannes Verschore 2243268a97 Bug 944701 - Tracelogging: Add shell functions to enable/disable tracelogging, r=till 2014-04-17 12:26:18 +02:00
Hannes Verschore c3cb6bc9f9 Bug 995570 - Tracelogging: Initially implementation of logging VM calls, r=luke 2014-04-17 12:26:16 +02:00
Hannes Verschore b85cb60dbb Bug 996518 - Add an extra assert in TypePolicy of MTypeBarrier, r=jandem 2014-04-17 12:26:13 +02:00
Jon Coppeard b1182ccb9f Bug 996052 - Remove JSVAL_TRACE_KIND, JSVAL_IS_GCTHING and JSVAL_TO_GCTHING r=terrence 2014-04-17 09:36:32 +01:00
Bobby Holley d1b0de8367 Bug 997527 - Remove debugging code from bug 960828. r=me a=me DONTBUILD 2014-04-16 18:33:10 -07:00
Douglas Crosher 869be577f1 Bug 898963 - Odinmonkey (ARM): Refactor GenerateFFIInterpreterExit. r=luke 2014-03-26 00:29:10 +11:00
Douglas Crosher 61bd7a27ec Bug 898963 - Odinmonkey (ARM): Optimize asm.js FFI calls to Ion functions, trim regs saved, inline activation and deactivation. r=luke 2014-04-17 00:11:28 +10:00
Gabor Krizsanits b7b0c47e44 Bug 996069 - Part3: Stop inheriting nsEP when window.open is called. r=bz 2014-04-16 22:29:57 +02:00
Terrence Cole 581c606391 Bug 959787 - Handlify JS_DefineProperty; r=Waldo, r=bz
--HG--
extra : rebase_source : 87991ed47ed071550af4e4125eea54a66fdb0071
2014-01-21 18:11:17 -08:00
Nicolas B. Pierron 175c7a4fcc Bug 995817 - Range Analysis: Truncate MDiv indirectly. r=sunfish 2014-04-16 08:31:43 -07:00
Jan de Mooij c728097664 Bug 997081 - Optimize StoreElementHole OOL VM call. r=bhackett
--HG--
extra : rebase_source : 110a92109994439c48300ddc88627c34fca27254
2014-04-16 17:24:23 +02:00
Benjamin Bouvier fa7c4e2f87 Bug 993034: SIMD - Factor out typed access to TypedObject memory; r=nmatsakis 2014-04-16 16:21:31 +02:00
Benjamin Bouvier 74df5841d9 Bug 993034: SIMD - Factor out tests for object and vector in a single function; r=nmatsakis 2014-04-16 16:21:29 +02:00
Benjamin Bouvier d086210970 Bug 993034: SIMD - Define shallow wrappers macro that call templated functions instead of macro functions; r=nmatsakis 2014-04-16 16:21:26 +02:00
Benjamin Bouvier 22a21ba385 Bug 993034: SIMD - Replace and simplify bogus pointer in Int32x4Select; r=nmatsakis 2014-04-16 16:21:24 +02:00
Benjamin Bouvier 7c35f6e921 Bug 993034: SIMD - Clean up coding style and reorganize functions by number of arguments; r=nmatsakis 2014-04-16 16:21:12 +02:00
Benjamin Bouvier 0f4e401171 Bug 993034: SIMD - Rename toType2 into toType and make it fallible; r=nmatsakis 2014-04-16 16:21:09 +02:00
Nicolas B. Pierron 1f21cde212 Bug 992968 - . r=efaust a=abillings 2014-04-16 06:18:26 -07:00
Shian-Yow Wu 0eb9c68561 Bug 945152 - Part 2: Report mapped array buffer statistics for about:memory. r=njn 2014-04-16 19:26:41 +08:00
Shian-Yow Wu dd3cc24cec Bug 945152 - Part 1: Support mapped array buffer type. r=sfink 2014-04-16 19:26:39 +08:00
Jon Coppeard 9cbf05a17a Bug 995657 - Check new capacity is large enough when growing the mark stack r=terrence 2014-04-16 09:48:24 +01:00
Jon Coppeard dae8d1e277 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 173bd25321 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 3ee63c971e 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 f8e717a96c 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 d236590190 Bug 978235 - Reland forgotten test. r=me 2014-04-15 13:19:53 -07:00
Eric Faust 86d8c855a7 Bug 978235 - ES6 Proxies: Implement [[IsExtensible]] trap. (r=jorendorff) 2014-04-15 13:13:51 -07:00
Eric Faust 00fc6e1f7e Bug 978235 - Add missing JSAutoCompartment to JavaScriptChild.cpp. (r=terrence over IRC) 2014-04-15 13:08:41 -07:00
Eric Faust 0aecd9e3d2 Backed out changeset f1660c847ca2 (bug 978235) for landing with random debug code. 2014-04-15 12:56:51 -07:00
Eric Faust c1c81e010e Bug 978235 - ES6 Proxies: Implement [[IsExtensible]] trap. (r=jorendorff, terrence over IRC) 2014-04-14 15:52:26 -07:00
Eric Faust ade5a6fa9b Bug 983460 - Opcodes.h has an extra TMPSLOT for JSOP_SETPROP. (r=jandem) 2014-04-14 15:52:24 -07:00
Dan Gohman 9f6e0cad3d Bug 892794 - IonMonkey: Add some interesting INT32_MIN-related testcases. r=nbp 2014-04-15 11:34:25 -07:00
Ryan VanderMeulen cca82abe18 Backed out changesets 37e7cae3d8c8 and 3ccbb670a699 (bug 898963) for Windows debug bustage.
CLOSED TREE
2014-04-15 13:39:38 -04:00
Marty Rosenberg ec1bbfd748 Bug 982398 - Fix the second case as well. r=jandem 2014-04-15 12:51:19 -04:00
Douglas Crosher 476c633571 Bug 898963 - Odinmonkey (ARM): Refactor GenerateFFIInterpreterExit. r=luke 2014-03-26 00:29:10 +11:00
Douglas Crosher e212eccb50 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 4274e524be Bug 995607 - Fix an AutoDebugModeInvalidation issue. r=shu 2014-04-15 18:22:52 +02:00
Jan de Mooij ea50dcc357 Bug 994876 followup - Fix assert. 2014-04-15 18:13:49 +02:00
Jan de Mooij e8a7bdd3c1 Bug 994876 - Fix DenseSetElemStubExists to check all shapes for DenseAdd stubs. r=djvj 2014-04-15 17:20:32 +02:00
Landry Breuil 6440dec6e8 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 9a1fe8a0b3 Bug 996533 - Add some BaselineScript/IonScript asserts. r=till 2014-04-15 13:24:42 +02:00
Branislav Rankov d5b60b3e5d 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 8d96c82241 Bug 992866 - Fix assertion in JSObject::initDenseElementsUnbarriered r=sfink 2014-04-15 09:44:01 +01:00
Shu-yu Guo e1bbca7159 Bug 995076 - Unconditionally replace null/undefined/magic-typed OSR slots. (r=h4writer) 2014-04-14 22:00:07 -07:00
Shu-yu Guo 5e373d94d6 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 0ef001388a Bug 994444. (r=nbp) 2014-04-14 22:00:07 -07:00
Bobby Holley 61c191d83c Bug 993423 - Don't hoist <svg:use> content into the XBL scope. r=smaug 2014-04-14 20:38:54 -07:00
Bobby Holley 3de1018bbe Bug 989528 - Rename AutoSystemCaller to AutoNoJSAPI, and assert against pre-existing exceptions. r=bz 2014-04-14 20:27:00 -07:00
Bobby Holley 04b22e3936 Bug 989528 - Introduce AutoJSAPIWithErrorsReportedToWindow as a replacement for AutoPushJSContextForErrorReporting. r=bz 2014-04-14 20:26:59 -07:00
Bobby Holley 1f55e4ee53 Bug 989528 - Introduce a mechanism to explicitly enter a null compartment. r=luke 2014-04-14 20:26:59 -07:00
Phil Ringnalda c43d89e3a3 Back out d1f1725198da (bug 983460) on suspicion of mochitest-chrome assertions
CLOSED TREE
2014-04-14 18:36:01 -07:00
Phil Ringnalda 21f81e4d45 Back out c70626e77e9f (bug 978235) on suspicion of mochitest-chrome assertions
CLOSED TREE
2014-04-14 18:35:46 -07:00
Jeff Walden aa22e57dcf 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 78d5105331 Bug 988619 - Handle OOM when sweeping type information, r=jandem. 2014-04-14 18:22:17 -06:00
Eric Faust be1952a853 Bug 978235 - ES6 Proxies: Implement [[IsExtensible]] trap. (r=jorendorff) 2014-04-14 15:52:26 -07:00
Eric Faust 53a5a83647 Bug 983460 - Opcodes.h has an extra TMPSLOT for JSOP_SETPROP. (r=jandem) 2014-04-14 15:52:24 -07:00
Luke Wagner f4eff37974 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 f61b2b242f Bug 918987 - Implement String.prototype.normalize. r=jwalden
--HG--
extra : rebase_source : c634fd1961c1eb004bc4e0dd9ed26047abb285b4
2014-04-09 14:38:24 -07:00
Jeff Walden 5088fa1eb6 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 10fdf6d3da 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 658dde9b56 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 4aa94b48c6 Bug 990336 - Deduplicate the slots edge buffer normally; r=jonco 2014-04-08 10:23:50 -07:00
Bobby Holley 2f9b5a76a7 Bug 995123 - Associate sandboxPrototyped Sandboxes to their prototype Window, if it exists. r=bz 2014-04-14 08:56:38 -07:00
Benjamin Bouvier 1da45bee80 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 2421662bb1 Bug 950044 - Fix miss-interpretation of current Desktop GC settings. r=gwagner 2014-04-14 08:32:02 -07:00
Nicolas B. Pierron 0e26bebc90 Bug 995165 - Fix ARM v6 GC settings. r=terrence 2014-04-14 08:32:02 -07:00
Benjamin Bouvier 681b0216a5 Bug 979867: Kill mixed sign comparison warning; r=lth
--HG--
extra : rebase_source : 91d3898d7716b3bfb36d20503d8d14b32b85152c
2014-04-14 17:03:11 +02:00
Terrence Cole beb6652b55 Bug 988950 - Speed up post barrier checks in Ion r=jandem 2013-09-30 14:18:01 -07:00
Benjamin Bouvier 6cb51ba4ce 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 5dfd116305 Bug 995180: Eliminate unused FromMIRType function; r=luke
--HG--
extra : rebase_source : f5d5bddc797ee50c1b6949875f6fffbd6f0fed74
2014-04-14 12:05:51 +02:00
Jan de Mooij 70cd64ce28 Bug 991457 - Don't DCE MLoadElement if it needs a hole check. r=h4writer 2014-04-14 15:20:11 +02:00
Ehsan Akhgari 3e0d5777b0 Bug 995754 - Remove nsIDOMToString; r=bzbarsky 2014-04-13 18:53:36 -04:00
Nicholas Nethercote 762de3ac47 Bug 992274 (part 1) - Tweak an edge case in line number handling. r=jorendorff. 2014-04-06 21:31:04 -07:00
Terrence Cole fddb9e0b1d 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 ef5f219fda Bug 995442 - Don't post-barrier non-objects in the browser; r=sfink 2014-04-11 14:29:14 -07:00
Sean Stangl ebf3298f0a Bug 995421 - Fix out-of-order comment in TransparentTypedObject::class_. 2014-04-11 13:41:19 -07:00
Sean Stangl 4fa44f04f7 Bug 856796 - Attempt detection of YARR bug; r=till 2014-04-07 13:43:50 -07:00
Olli Pettay 9afb24a0a4 Bug 688580 - Run deferred scripts before DOMContentLoaded; r=hsivonen 2014-04-12 11:02:21 +02:00
Ms2ger 194571df1a Bug 983989 - Part c: Cleanup XPCConvert::NativeData2JS; r=bholley 2014-04-12 10:15:58 +02:00
Ms2ger 64d386e878 Bug 983989 - Part b: Simplify code flow in XPCConvert::NativeData2JS; <3,r=bholley 2014-04-12 10:15:57 +02:00
Ms2ger d75ac3e9ac Bug 983989 - Part a: Reindent XPCConvert::NativeData2JS; r=bholley 2014-04-12 10:15:56 +02:00
Boris Zbarsky 438ebc3f4e 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 bc90d5e45d Bug 991336 - Improve checking around CompileInfo sweep indexes, r=jandem. 2014-04-11 17:25:34 -06:00
Brian Hackett eeafed79a2 Bug 992256 - Crash on OOM during worker thread initialization, r=h4writer. 2014-04-11 17:17:18 -06:00
Tom Schuster 3e676838d4 Bug 925123 - Add Math.clz32 builtin. r=till 2014-04-11 17:24:58 +02:00
Terrence Cole eec828474c Bug 994054 - MacOS's madvise implementation is unworkably slow; r=jandem 2014-04-09 10:48:17 -07:00
Hannes Verschore b69446b27b Bug 994163 - TraceLoggeing: Fix --disable-threadsafe builds, r=bbouvier 2014-04-11 23:33:20 +02:00
Ed Morley 229f4c5f0a Backed out changeset e8dfde56e9ca (bug 925123) for jsreftest failures; CLOSED TREE 2014-04-11 17:32:38 +01:00
Kannan Vijayan dffbe3fd21 Bug 993071 - Add optimization tier info to js profiler pseudostack entries. r=luke 2014-04-11 11:58:55 -04:00
Bobby Holley 97d8a66acd Bug 993438 - Stop implicitly cloning, and assertSameCompartment. r=billm 2014-04-11 08:47:43 -07:00
Bobby Holley c8667e5859 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 d1ac5130e0 Bug 993438 - Add the necessary APIs. r=billm 2014-04-11 08:47:42 -07:00
Tom Schuster 2b83b64ffb Bug 925123 - Add Math.clz32 builtin. r=till 2014-04-11 17:24:58 +02:00
Till Schneidereit ff2bc8b7e0 Bug 911147 - Implement Array.prototype.fill. r=jorendorff
--HG--
extra : rebase_source : c75210fc3b73a6752f8d9e97c6e376c2f10fbc5c
2014-04-11 17:07:27 +02:00
Till Schneidereit fec05328b8 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 c276c80a6f Bug 990290 - Remove JS_GetObjectId. r=terrence 2014-04-11 07:59:47 -07:00
Bobby Holley 7734548879 Bug 990290 - Expose JSAPI functions for creating and manipulating scripted WeakMaps. r=terrence 2014-04-11 07:59:46 -07:00
Dan Gohman 9ec541ddc2 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 36f271fb97 Bug 994937 - remove some JSOP_CALL opcodes (r=djvj)
--HG--
extra : rebase_source : 8859238bb98fe91f6c7bbb99d3eab3fee6936b69
2014-04-10 17:52:52 -05:00
Ed Morley 440f3655df Backed out changeset 592e6de7211b (bug 983989) 2014-04-10 15:48:11 +01:00
Ed Morley 67d5d9d3d7 Backed out changeset 91885eced736 (bug 983989) 2014-04-10 15:48:08 +01:00
Ed Morley 34e35d1dc3 Backed out changeset 14ab9b8d15be (bug 983989) 2014-04-10 15:48:04 +01:00
Dan Gohman 7cd22032f1 Bug 967709 - IonMonkey: Optimized implementations of Math.sin and Math.cos. r=jorendorff 2014-04-09 11:28:17 -07:00
Carsten "Tomcat" Book d8ad71abd2 Backed out changeset df6f9e684cac (bug 993768) mochitest-1 test failure 2014-04-10 16:07:48 +02:00
Jon Coppeard 683a2f26d5 Bug 993768 - Handle TypeArrayObjects when tenuring r=terrence 2014-04-10 13:46:58 +01:00
Till Schneidereit 2dc3f51948 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 08d9974ed5 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 d6cb87bf91 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 7ea041b438 Bug 983989 - Part c: Cleanup XPCConvert::NativeData2JS; r=bholley 2014-04-10 13:24:25 +02:00
Ms2ger afba289569 Bug 983989 - Part b: Simplify code flow in XPCConvert::NativeData2JS; <3,r=bholley 2014-04-10 13:24:25 +02:00
Ms2ger f33aa32d47 Bug 983989 - Part a: Reindent XPCConvert::NativeData2JS; r=bholley 2014-04-10 13:24:24 +02:00
Carsten "Tomcat" Book 93d2d2914a Backed out changeset 89a91619a2ae (bug 984101) for bustage 2014-04-10 10:03:47 +02:00
Terrence Cole c280b8a8f0 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 7523e50082 Bug 993889 part 4. Remove the scope argument of xpc_FastGetCachedWrapper. r=bholley 2014-04-10 00:58:42 -04:00
Boris Zbarsky a0bb95a823 Bug 993889 part 1. Remove "scope" argument from nsContentUtils::WrapNative. r=bholley 2014-04-10 00:58:41 -04:00
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
Peter Van der Beken a5967a49cb 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 044b015eb0 Bug 987508 - Create array buffers lazily for small typed arrays, r=sfink. 2014-04-07 13:04:37 -07:00
Shu-yu Guo 69137d59d3 Bug 975636 - Fix parallel bitop VM functions. (r=nmatsakis) 2014-04-07 13:02:20 -07:00
Shu-yu Guo 3847f3a544 Bug 974201 - Remove filterPar chunking. (r=nmatsakis) 2014-04-07 13:02:20 -07:00