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

42207 Коммитов

Автор SHA1 Сообщение Дата
Carsten "Tomcat" Book bdf724bedf Backed out changeset 1c7e09bbee26 (bug 1000942) for dt3 orange 2014-04-29 10:38:52 +02:00
Carsten "Tomcat" Book 8f6c4e2824 Backed out changeset 31929d871cad (bug 1002277) for devtools-chrome-3 orange 2014-04-29 10:14:19 +02:00
Steve Singer a30767cbd5 Bug 1002277 - TopmostJitActivationCompartment is not defined on non-ion builds. r=bhackett 2014-04-27 17:27:00 +02:00
Michael Shuen e76fd87034 Bug 972385 - Make JS::AutoValueVector subscript operator return handles. r=jonco, smaug 2014-04-28 16:53:00 +02:00
Jan de Mooij 0181f313d3 Bug 1000942 - Eliminate some unnecessary object type barriers. r=bhackett 2014-04-29 08:54:46 +02:00
Ehsan Akhgari 83df766a59 Bug 1002313 - Fix the test for bug 503926 so that it doesn't rely on nsIDOMNode being scriptable; r=bzbarsky 2014-04-28 19:58:34 -04:00
Nicholas Nethercote 29c4ea7751 Bug 997590 (part 2) - Create RegExpStaticsObjects lazily. r=sstangl.
--HG--
extra : rebase_source : 9cffd8ad8d3e66bb523cb1c127ca066847e34ee6
2014-04-22 20:13:24 -07:00
Nicholas Nethercote 237a8118d3 Bug 997590 (part 1) - Remove a dead else-branch. r=sstangl.
--HG--
extra : rebase_source : e126b0c5189f7845b7d6c1fc1a65aaca4d7dab12
2014-04-22 20:12:33 -07:00
Chris Peterson 7388bec3b0 Bug 880329 - Remove ES3-only SyntaxError for do-while without semicolon. r=jorendorff 2014-04-18 00:24:04 -07:00
Brian Hackett a3c0d056ff Bug 1002271 - Remove jsanalyze files, r=jandem. 2014-04-28 10:26:19 -06:00
Kannan Vijayan 132513fe1d Bug 987379 - Fix enableSPSProfilingAssertions api to be cleaner. r=h4writer 2014-04-28 11:37:29 -04:00
Julian Seward 0a7ab6f6d9 Bug 990247 - Conditional jump or move depends on uninitialised value(s) and Use of uninitialised value of size 4 [@ dosprintf]. r=n.nethercote.
--HG--
extra : rebase_source : bebbc355cca7365b500b82ef29f29eb29420c600
2014-04-28 17:17:50 +02:00
Ed Morley e8a4305244 Backed out changeset 1c27ec193926 (bug 1002271) for B2G build failures 2014-04-28 15:28:48 +01:00
Brian Hackett 2e1aa3e7a9 Bug 1002271 - Remove jsanalyze files, r=jandem. 2014-04-28 08:12:20 -06:00
Nathan Froyd dbb4116611 Bug 997820 - part 2 - disable telemetry in jsreftests; r=ted 2014-04-23 09:01:47 -04:00
Hannes Verschore 62c5f595c9 Bug 716647: Fix Tracelogger after baseline adjustments, r=till 2014-04-28 14:38:45 +02:00
Hannes Verschore eca3111446 Bug 1001850 - IonMonkey: Remove the intermediate native call when calling a bound function, r=jandem 2014-04-28 13:44:13 +02:00
Steve Singer 16fbdd68b9 Bug 1002041 - Fix non-ion build failures from 716647. r=shu 2014-04-27 17:47:00 -04:00
Anuj Agarwal 8701388587 Bug 995278 - JS_NewArrayBufferContents frees user data on error. r=sfink 2014-04-27 01:22:00 -04:00
Birunthan Mohanathas 5f1fde8824 Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
Birunthan Mohanathas 5c3bda3eb3 Bug 866289 - Make mode lines consistent in js/xpconnect/ for 2 space indented files. r=Ms2ger 2014-04-03 07:58:00 -04:00
Birunthan Mohanathas c48b86b0c6 Bug 866289 - Make mode lines consistent in js/xpconnect/ for 4 space indented files. r=Ms2ger 2014-04-03 07:58:00 -04:00
Birunthan Mohanathas 7ac92ae5ea Bug 900903 - Part 2: Change uses of numbered macros in nsCycleCollectionParticipant.h to the variadic variants. r=smaug 2014-04-25 12:49:00 -04:00
Stephen Kelly 190af37872 Bug 885798 - Extend the nc_slots enum with new Number constants. r=till
Follow-up to the previously-landed patch.

The lack of this extension happens not to matter because the
NC_EPSILON and NC_LIMIT enum values happen to not be used
in the file currently.

--HG--
extra : rebase_source : 4c6da4d6da68e133cc6799250f4bee4b92ed188f
2014-04-26 18:45:33 +02:00
Brian Hackett 5bb9404b74 Bug 984537 - Keep JIT code around for compartments on the stack when triggering GC, r=jandem. 2014-04-26 10:39:53 -06:00
Stephen Kelly 3b258ba0d5 Bug 885798 - Add Number.{MAX,MIN}_SAFE_INTEGER. r=evilpie
--HG--
extra : rebase_source : 74a78f96d5b5951cc0ba4038ec35be0a5d0d2989
2014-04-26 16:35:50 +02:00
Jon Coppeard 3e7f2297f0 Bug 1001359 - Store chunk location in the chunk trailer r=terrence DONTBUILD 2014-04-26 09:30:04 +01:00
Jon Coppeard 951dc3c11a Backed out changeset 5c5a3cc08905 for wrong bugnumber, DONTBUILD 2014-04-26 09:37:56 +01:00
Jon Coppeard 5c137164c7 Bug 988950 - Store chunk location in the chunk trailer r=terrence 2014-04-26 09:30:04 +01:00
Jon Coppeard c1385ff4f5 Bug 988950 - Improve postbarrier codegen on ARM r=mjrosenb 2014-04-26 09:12:27 +01:00
Chris Peterson a40f623204 Bug 1000712 - Fix -Wunused-variable warnings in js. r=jonco 2014-04-24 15:18:23 -07:00
Jeff Walden 4482bd230f Bug 1001547 - Fix a bug in typed array element-setting. r=sfink 2014-04-25 12:26:56 -07:00
Eric Faust ae0a7c24e6 Bug 978229 - Part 2: Remove IsSealed() from Proxy.[[Delete]]. (r=jorendorff) 2014-04-25 17:10:54 -07:00
Eric Faust 53bc0b9108 Bug 978229 - Part 1: Remove IsSealed() from Proxy.[[HasProperty]]. (r=jorendorff) 2014-04-25 17:10:51 -07:00
Eric Faust 73f240d1d3 Bug 978229 - Part 0: Rename jsproxy.cpp internal IdToValue to IdToExposableValue. (r=jorendorff) 2014-04-25 17:10:50 -07:00
Jason Orendorff 6291d3daa0 Bug 988751 - Remove DNP_DONT_PURGE. r=Waldo. 2014-04-25 16:11:04 -05:00
Jason Orendorff c9834fb92b Bug 547140, part 7 - Remove JSContext::resolveFlags and JSAutoResolveFlags. r=Waldo. 2014-04-25 16:11:03 -05:00
Jason Orendorff 5d9ff80242 Bug 547140, part 6 - Remove flags argument from JSObject::hasProperty. r=Waldo. 2014-04-25 16:11:03 -05:00
Jason Orendorff c94653e3df Bug 547140, part 5 - Remove flags argument from lookup functions. r=Waldo. 2014-04-25 16:11:03 -05:00
Jason Orendorff 4740c9dea6 Bug 547140, part 4 - Remove flags argument from resolve hooks. r=Waldo. 2014-04-25 16:11:02 -05:00
Jason Orendorff 2a9babf664 Bug 547140, part 3 - Remove flags argument from DefineNativeProperty. r=Waldo. 2014-04-25 16:11:02 -05:00
Jason Orendorff 6e21c723d2 Bug 547140, part 2 - Remove flags argument from JS_GetPropertyDescriptor and friends. r=Waldo. 2014-04-25 16:11:01 -05:00
Jason Orendorff e51a8c4a20 Bug 547140, part 1 - Remove JSRESOLVE_ASSIGNING. r=Waldo. 2014-04-25 16:11:00 -05:00
Jason Orendorff f66a185e68 Bug 987007, part 2 - Handle assignment to named and indexed setters without using JSRESOLVE_ASSIGNING. r=bz, r=bholley.
--HG--
extra : rebase_source : a26eb85a086a18219a4d423cd7ad49a92cfd2584
2014-04-25 15:07:18 -05:00
Steve Fink 5000441aa8 Bug 999140 - Implement createMappedArrayBuffer for testing, r=Waldo
--HG--
extra : rebase_source : f9304f99349cbec76dcb50f67353dcd4e95e506e
2014-04-25 13:46:26 -07:00
Steve Fink 4da674a771 Bug 999140 - Mapped array buffers need a safety buffer, r=Waldo
--HG--
extra : rebase_source : 03e97115af90ea27f6f2a658bea5af6552b2a588
2014-04-25 13:46:26 -07:00
Jason Orendorff db0b0c3e95 Bug 994159 - Fix typo in OOM check in DefineMetaTypeDescr. r=nmatsakis.
--HG--
extra : rebase_source : 90202dc1b00a0ddedb709e4199fe8641a9b4129e
2014-04-25 11:50:33 -05:00
Jason Orendorff d13bfd7aa3 Bug 991027 - JS_snprintf: Don't allocate a temporary buffer when handling %hs format-specifier. r=Waldo.
--HG--
extra : rebase_source : d8c25f0b2e7ca9631d31d98fe457f08520be31a1
2014-04-25 11:50:33 -05:00
Shu-yu Guo a785d72b17 Bug 1001222 - Implicitly use operands to JSOP_POS. (r=jandem) 2014-04-25 12:13:13 -07:00
Brian Hackett d6253b9c6e Bug 995336 - Use IonBuilder for arguments usage analysis, r=jandem. 2014-04-25 13:01:37 -06:00
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