Commit Graph

24026 Commits

Author SHA1 Message Date
Bill McCloskey
6ffd7450d7 Bug 833163 - Remove bogus scheduledForDestruction assertion (r=luke) 2013-01-22 14:15:25 -08:00
Daniel Holbert
d02182eb9e Bug 833405: Don't treat deprecated-declarations build warnings as errors, in --enable-warnings-as-errors builds. r=ted 2013-01-22 13:28:16 -08:00
Justin Lebar
5aa3188b54 Bug 832620 - Skip the GCC <= 4.4 version check when building with clang. r=glandium 2013-01-22 16:14:27 -05:00
Justin Lebar
505b6cd144 Bug 832623 - Disable -fstrict-aliasing in the JS engine for gcc <= 4.4 on all platforms, not just Linux/Android. r=glandium 2013-01-22 16:14:27 -05:00
Jan de Mooij
33dee1099a Bug 832373 part 2 - Refactor initExecuteFrame to use AbstractFramePtr. r=luke a=nonlibxul 2013-01-22 14:33:43 +01:00
Jan de Mooij
7cad99bba1 Bug 831754 part 2 - Add patchable call instruction, x86/x64 part. r=dvander a=nonlibxul 2013-01-22 14:33:36 +01:00
Jan de Mooij
97406e74ca Bug 831754 part 1 - Add patchable call instruction, ARM part. r=mjrosenb a=nonlibxul 2013-01-22 14:33:07 +01:00
Terrence Cole
6b98628bf0 Bug 803182 - Make the js shell stack limit match the browser's; r=dmandelin
This should help ensure that recursion errors found in the shell actually
represent real errors. This also attempts to account for the difference in size
between debug and optimized builds to the size of js::Interpret's stack frame.
2012-10-29 13:36:41 -07:00
Luke Wagner
9e1aa92b57 Bug 832094 - make the top-level function ParseNode always be a PNK_FUNCTION (r=jorendorff)
--HG--
extra : rebase_source : f6af6da88e185ccc62152ef1013dfeba1418cbc7
2012-11-28 16:33:00 -08:00
Luke Wagner
eddfaf40ed Bug 832085 - Never bail in truncated LModI/LModPowTwoI/LModMaskI (r=hv1989)
--HG--
extra : rebase_source : efa4ec10c37fdec3861ac5097db7c5b5c2ade63b
2012-12-07 18:54:05 -08:00
Luke Wagner
ef48ad6a69 Bug 832085 - Simplify LModI codegen (r=hv1989)
--HG--
extra : rebase_source : a4790f4036478b274f461bcf5052c7f88dd32889
2012-12-07 18:54:05 -08:00
Luke Wagner
9d7870db02 Bug 832085 - Never bail in truncated LDivI (r=hv1989)
--HG--
extra : rebase_source : 1e03a172ddd450a2d63822b2a0522efc6429fa76
2012-12-07 18:54:05 -08:00
Luke Wagner
d4d45622ee Bug 832079 - IonMonkey: common out MDiv lowering (r=dvander)
--HG--
extra : rebase_source : 5afa690efc26a859ceb980dddfeaa27a505cf9d6
2012-12-07 18:54:05 -08:00
Luke Wagner
d87fb1100e Bug 832073 - s/ScaleFromShift/ScaleFromElemWidth/ (r=dvander)
--HG--
extra : rebase_source : 113e5770c8f6c6ad67e55bdd341e79e03bb29ff9
2012-12-14 10:27:15 -08:00
Luke Wagner
d8c9cd65c3 Bug 832071 - Replace custom AutoDestroyAllocator with ScopedJSDeletePtr (and rename ScopedDeletePtr to ScopedJSDeletePtr) (r=dvander)
--HG--
extra : rebase_source : 84229d3a9453d3f4aab8a84583b6e0d1e0e3a0a4
2012-11-01 21:35:21 -07:00
Luke Wagner
a876f5a6c5 Bug 832070 - LTruncateDToInt32 doesn't need a snapshot (r=sstangl)
--HG--
extra : rebase_source : 0c273db1eb30aa2a51571ac31ce7d160792b61a4
2012-12-07 18:54:05 -08:00
Luke Wagner
f1f2f19fb7 Bug 832065 - don't use resume point to iterate over phis (r=sstangl)
--HG--
extra : rebase_source : 0c54df0ad7fb5daba820efaa49a1d8eb7e355104
2012-11-28 15:19:39 -08:00
Luke Wagner
991d6e76f9 Bug 832063 - unify Assembler::flush/finish (r=mrosenberg)
--HG--
extra : rebase_source : baa26470724b55df9b7945fc16f4e697a4ec703e
2012-12-20 19:12:24 -08:00
Luke Wagner
f4a045e99e Bug 832090 - make HashMap/Set movable (r=terrence)
--HG--
extra : rebase_source : 7c6a7a0d03bf361f2ee7c853f7f07bf15841b21b
2012-11-28 15:19:39 -08:00
Benjamin Peterson
967500fe0b Bug 832151 - Make js_ErrorFormatString const. r=jorendorff
--HG--
extra : rebase_source : 4281941f6c31d5e8a5b6af1662e8f67ba722c934
2013-01-18 19:35:37 -05:00
Terrence Cole
4f833cf406 Bug 832489 - Un-bitrot the post barrier verifier; r=billm
--HG--
extra : rebase_source : 2c385bcc55f952dc7795c8770af6faeafb172ee8
2013-01-18 10:04:17 -08:00
Tom Schuster
e389791a45 Bug 830590 - GC: ArrayToIdVector's trapName needs to be a Handle. r=terrence 2013-01-18 22:44:52 +01:00
Tom Schuster
8c5169d888 Bug 799602 - Update JS Unicode support to 6.2.0. r=jwalden 2013-01-18 22:44:46 +01:00
Steve Fink
cb8aecdd2a Backed out changeset fce4e0f8a553 (bug 828753) for breaking windows warnings-as-errors (stop adding JSObject forward decls, please!) 2013-01-18 13:20:21 -08:00
Steve Fink
fa3e8f224b Bug 828753 - jsid rooting, mostly in jsinfer.*. Also switch JSObject from struct to class. r=terrence
--HG--
extra : rebase_source : c8806b27677594925ad0e6b54c47af5cf17e1153
2012-12-31 12:40:21 -08:00
Christian Holler
aad18ef3c8 no bug - Disable jit-test auto-regress/bug735313.js for further investigation. r=orange 2013-01-18 21:28:28 +01:00
Terrence Cole
500d3d373e Bug 831581 - Don't poison pointers embedded in the inline asm buffer; r=bhackett
--HG--
rename : docshell/test/browser/browser_bug234628-8.js => docshell/test/browser/browser_bug134911.js
extra : rebase_source : 7a73219b7e2e02869b521da853a764bb34a3cef6
2013-01-17 08:42:00 -08:00
Benjamin Peterson
d3ee0e319b Bug 830389 - Assert js_ValueToSource recieves a value in the correct compartment. r=billm 2013-01-18 14:31:28 -05:00
Benjamin Peterson
8b0731376b Bug 832141 - Rename js_ValueToSource to ValueToSource and make it internal. r=luke 2013-01-18 14:30:32 -05:00
Irving Reid
e97ded2b9d Bug 818958: Tell SPSProfiler when the JS runtime shuts down r=luke 2013-01-18 12:04:35 -05:00
Brian Hackett
ac6b482ac2 Bug 772820 - Disallow GCs during script analysis or compilation, r=billm. 2013-01-18 09:23:28 -07:00
Jon Coppeard
82af8dd2b4 Bug 831733 - GC: Transplant jsapi test (testBug604087) fails with rooting analysis r=billm 2013-01-17 10:09:14 +00:00
Jon Coppeard
ebb1a78cb9 Bug 831386 - GC: ChromeBuffer jsapi test fails under rooting analysis r=terrence 2013-01-16 18:42:04 +00:00
Christian Holler
ba38d7efb2 Bug 831629 - Add 291 missing jit-tests for various bugs. rs=terrence 2013-01-18 15:36:28 +01:00
Brian Hackett
cef0213cbb Bug 831822 - Fix various rooting hazards and unnecessary roots found by static analysis, r=terrence. 2013-01-18 06:48:13 -07:00
Eddy Bruel
934df64ff5 Bug 568953 - Implement ModuleBox; r=jorendorff 2013-01-18 14:24:09 +01:00
Eddy Bruel
14cd5d771b Bug 568593 - Refactor SharedContext; r=jorendorff 2013-01-18 14:21:32 +01:00
Eddy Bruel
d91328f4ed Bug 568953 - Implement Module objects; r=jorendorff 2013-01-18 14:18:07 +01:00
Benjamin Peterson
fcd1dd4233 Bug 832148 - Remove AutoPtr. r=njn
--HG--
extra : rebase_source : b798d2ac8c56bd610cd52bc3ac86f585c18055c8
2013-01-18 00:16:27 -05:00
Sean Stangl
3efe59637e Bug 831658 - Handle multiple RegExpShareds in the same compartment. r=dvander 2013-01-17 18:03:34 -08:00
Nicholas Nethercote
9ffa66e982 Bug 832026 - Measure JSRuntime::bumpAlloc_ in the JS memory reporter. r=sstangl.
--HG--
rename : js/src/tests/lib/jittests.py => js/src/jit-test/jit_test.py
rename : layout/reftests/w3c-css/submitted/values3/calc-background-image-gradient-1-ref.html => layout/reftests/css-calc/background-image-gradient-1-ref.html
rename : layout/reftests/w3c-css/submitted/values3/calc-background-image-gradient-1.html => layout/reftests/css-calc/background-image-gradient-1.html
rename : layout/reftests/w3c-css/submitted/values3/reftest.list => layout/reftests/css-calc/reftest.list
rename : layout/reftests/text/auto-hyphenation-10-ref.html => layout/reftests/text/auto-hyphenation-10.html
rename : layout/reftests/text/auto-hyphenation-8-ref.html => layout/reftests/text/auto-hyphenation-8.html
rename : layout/reftests/text/auto-hyphenation-9-ref.html => layout/reftests/text/auto-hyphenation-9.html
rename : services/common/servicesComponents.manifest => services/sync/SyncComponents.manifest
extra : rebase_source : 6b9d955241e189e52c6145f3fb4c3169ec834b78
2013-01-17 17:50:21 -08:00
Sean Stangl
2bb585acb8 Bug 831884 - Prevent calling MatchOnly on Win64 as a stopgap. r=dvander 2013-01-17 17:40:52 -08:00
Jan de Mooij
e142a8ab27 Bug 830943 - Fix tableswitch block ordering. r=dvander
--HG--
extra : rebase_source : da4c7bec4842de2787cdc1f3b03a3182b50004a7
2013-01-17 21:44:59 +01:00
Tim Lunn
6787b35641 Bug 829421 - Free ArgumentsData if JSObject allocation fails. r=nbp 2013-01-17 11:59:00 -08:00
Marco Bonardo
8ce91dd481 Backout e7e4224b8c8d (bug 829421) for bustage on a CLOSED TREE 2013-01-17 19:54:10 +01:00
Tim Lunn
cf712d145f Bug 829421 - Free ArgumentsData if JSObject allocation fails. r=nbp 2013-01-17 10:22:20 -08:00
Boris Zbarsky
2837c731e6 Bug 823228 part 2. Move indexed property access on windows from nsWindowSH::GetProperty to the outer window proxy. r=bholley 2013-01-17 12:30:37 -05:00
Terrence Cole
eb4cfdf07d Bug 829830 - Exactly root the fields in StackIter; r=nbp 2013-01-14 18:02:24 -08:00
Terrence Cole
861915c0a6 Bug 799248 - Remove the SkipRoot in NewShortString; r=billm
--HG--
extra : rebase_source : f73996e2246b2b75df01189ae057dc0332ba41c9
2013-01-15 13:51:56 -08:00
Jon Coppeard
a9926ea468 Bug 831291 - GC: jsapi test Debugger fails under rooting analysis r=billm
--HG--
extra : rebase_source : 5ee77ba14d8e9e68db2c16ba8767021f9ee959b5
2013-01-16 18:42:04 +00:00
Jon Coppeard
27e3f8ac0c Bug 831216 - GC: jsapi test GCFinalizeCallback fails under rooting analysis r=billm
--HG--
extra : rebase_source : a7d08a2cbf6d7046b694c06ad4ac54bb9dd93d7c
2013-01-16 18:42:04 +00:00
Jon Coppeard
054c4c0190 Bug 831370 - Rename IsAddressableGCThing to GetAddressableGCThing, now that it returns void* r=terrence
--HG--
extra : rebase_source : 9db61816fedf1e32d80814cbb231ec80f9904db5
2013-01-16 18:40:27 +00:00
Irving Reid
5db7b2658a Bug 831459: use RawScript in JMChunkInfo::Convert() to prevent UnrootedScript construction in signal handler r=billm 2013-01-16 23:10:46 -05:00
Jeff Walden
7e61fab8fa Fix some used-but-not-defined warnings, and some format-string warnings about needing to cast T* to void* for the %p specifier. No bug, r=themaid 2013-01-16 19:47:34 -08:00
Bobby Holley
1d5c9aeac3 Bug 824864 - Implement nsContentUtils::GetObjectPrincipal. r=bz
The SSM interface is super awkward.
2013-01-16 18:50:25 -08:00
Bobby Holley
85b3a83b16 Bug 825395 - Add debug checking for interleaved nsCxPusher and JSAutoEnterCompartment. r=bz,luke 2013-01-16 18:50:25 -08:00
Christian Holler
2a7c1fade5 Bug 829598 - Make js/src/jit-test/tests/gc/bug-820186.js a slow test. r=jandem, DONTBUILD 2013-01-16 16:14:08 +01:00
Jon Coppeard
c67cff5ead Bug 831205 - Fix GCC warning "comma at end of enumerator list". r=billm DONTBUILD 2013-01-16 17:24:28 -08:00
Jeff Walden
13ee123f23 Bug 719659 - Add -std=gnu99 to CFLAGS so that gcc and friends permit use of C99 constructs without warnings. This doesn't mean that everything in C99 is permitted now -- only the stuff supported by all the compilers we care about, including MSVC. r=espindola
--HG--
extra : rebase_source : 5fdfd130f529e1dfbc9ec48ecc9e83186c844c39
2013-01-16 17:01:52 -08:00
Jeff Walden
f9dab52ff2 Add a JSObject::addDataProperty overload that takes Handle<PropertyName*>, to preserve the name/element distinction further when possible, anticipating future property-splitting work. No bug, r=sparky
--HG--
extra : rebase_source : 2fe4e9819bf8ab23b163889411b5d1fa74d59597
2012-12-27 11:20:22 -06:00
Jeff Walden
950d67e8b3 Bug 830871 - Remove JS_FRIEND_API from js_GetClassPrototype as it isn't (and shouldn't be) used outside SpiderMonkey. r=jorendorff
--HG--
extra : rebase_source : aefa8e56c479bec12b9237e1479c34bbf2c88d19
2013-01-11 11:59:50 -08:00
Trevor Saunders
b98e34aed0 bug 822289 - remove NS_IMPL_CYCLE_COLLECTION_CLASS and friends r=mccr8 2013-01-12 07:40:33 -05:00
Andrew McCreight
30ded1b75a Bug 829430 - Use the right check for if we're GCing. r=billm 2013-01-15 09:10:36 -08:00
Andrew McCreight
1147d07eb7 Bug 829798 - Add dummy PreserveWrapper to JS shell. r=billm 2013-01-15 10:14:12 -08:00
Ehsan Akhgari
d5919c8e4d Merge mozilla-central into mozilla-inbound 2013-01-16 17:32:13 -05:00
Brian Hackett
190d56fcd0 Bug 830042 - Tolerate objects/strings with a null payload when marking VM stack, r=billm. 2013-01-16 14:48:10 -07:00
Gregory Szorc
26636b8d65 Merge mozilla-central into build-system 2013-01-16 12:37:21 -08:00
Gregory Szorc
ea0dd7348c Bug 784841 - Part 5: Integrate virtualenv into SpiderMonkey configure; r=glandium
Python and virtualenv logic is now contained within an m4 file.
SpiderMonkey now requires the mozilla-central virtualenv environment to
build. If SpiderMonkey configure is invoked by mozilla-central's
configure, the virtualenv will be reused. If SpiderMonkey configure is
invoked in isolation, it will search for the virtualenv in the
mozilla-central root.
2013-01-16 00:21:06 -08:00
Gregory Szorc
3d39dd9a1a Bug 784841 - Part 4: Use os.path.relpath in ConfigStatus.py; r=glandium
We now require Python 2.7 and os.path.relpath is always available.
2013-01-15 22:22:56 -08:00
Hannes Verschore
45c1a9e4fe Bug 827821: IonMonkey: Create |this| on callee side when failing on caller side, r=jandem 2013-01-16 11:48:15 +01:00
Jon Coppeard
beae029da6 Bug 830839 - Make rooting analysis ignore atom rooting r=terrence
--HG--
extra : rebase_source : 61621402a1cfdf3fa14ae186ae68495903e41f1a
2013-01-16 10:12:37 +00:00
Brian Hackett
87f50ee39f Bug 831040 - Disallow GCs during error reporting for allocation and string/inflate bad inputs, r=terrence. 2013-01-16 14:03:59 -07:00
Brendan Eich
19060dfc96 Bug 810525 - unregress DecompileValueGenerator change to handle object literal reference bases (r=jandem). 2013-01-15 18:17:50 -08:00
Steve Fink
3e72e50bdb Bug 822041 - Temporary diagnostic for tracking down intermittent failures in JS profiling. r=jorendorff
--HG--
extra : rebase_source : e3465205c2f862654155243f71604c6ba29498c3
2013-01-08 21:39:54 -08:00
Sean Stangl
9af2c22d0e Bug 829758 - use MatchOnly mode for str_search(). r=dvander 2013-01-15 15:35:25 -08:00
Brian Hackett
4dc82d28f6 Bug 830967 - Don't skip sparse elements in 'this' when optimizing Array.concat, r=billm. 2013-01-15 15:03:44 -07:00
Nicolas B. Pierron
e608fa0ad2 Bug 818023 - fun_getProperty: Use non-buitin script iterator. r=waldo 2013-01-15 13:36:14 -08:00
Terrence Cole
36fc42b28a Bug 638219 - Followup to put back the execute bit on jit_tests.py; r=djc
--HG--
extra : rebase_source : 8c8c86a62746fe1ce37a31668b5fbce5b1dd472e
2013-01-15 11:59:40 -08:00
Shu-yu Guo
599ee44632 Bug 830269 - Thread the callee typeset through instead of incorrectly recomputing (r=dvander) 2013-01-15 11:12:48 -08:00
Boris Zbarsky
94b385adfa Bug 828139. Expose a friend API for AppendUnique. r=waldo 2013-01-15 14:04:24 -05:00
Mats Palmgren
0ae685efa9 Bug 786533 - On Windows, one of the system header files (windef.h) defines 'min' and 'max' as macros which breaks any use of std::min/std::max. Define NOMINMAX before including system header files where needed to avoid defining those macros. r=ehsan 2013-01-15 13:22:03 +01:00
Mats Palmgren
d5826be6d7 Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan 2013-01-15 13:22:03 +01:00
Jan de Mooij
553bca6cb2 Bug 830369 - Refactor ScriptDebugPrologue and ScriptDebugEpilogue to use AbstractFramePtr. r=djvj
--HG--
extra : rebase_source : 86e1709f8b46556152001f890caa7baf2e2bddb0
2013-01-15 09:29:23 +01:00
Sean Stangl
79665a28e9 Bug 820124 - Follow-up fix: handle prebarrier on raw pointer, fixing a CLOSED TREE. 2013-01-14 17:44:45 -08:00
Ehsan Akhgari
f08e1d98e8 Bug 830458 follow-up: mirror the changes in the js copy to unbreak builds, landed on a CLOSED TREE 2013-01-14 20:28:41 -05:00
Sean Stangl
c506c75602 Bug 820124, Part 2/2 - Handle fast removal in str_replace(). r=dvander 2013-01-11 17:19:53 -08:00
Sean Stangl
110f48c384 Bug 820124, Part 1/2 - Use RegExpShared for lazy RegExpStatics. r=dvander 2013-01-11 17:19:31 -08:00
Dirkjan Ochtman
9a6ac1be93 Bug 638219: move JIT testing code closer to other JS test code; r=terrence
--HG--
rename : js/src/jit-test/jit_test.py => js/src/tests/lib/jittests.py
extra : rebase_source : 361c4b509ba263b406c8eb1ee6f3ff57462fc509
2013-01-14 21:16:44 +01:00
Jon Coppeard
9f7276bec6 Bug 830332 - jittest gc/incremental-state.js fails if rooting analysis enabled r=billm
--HG--
extra : rebase_source : f4abcc5eb03229f9725181887b3d239acccd2392
2013-01-15 17:57:30 +00:00
Terrence Cole
b97ee61fd5 Bug 811060 - Move DeflateString out of jsstr and make it Typey; r=Waldo
--HG--
extra : rebase_source : 9d239c525e8b0c04a63770d4ed732c9c6da54a2c
2012-11-09 09:45:25 -08:00
Brian Hackett
b2671ac3f3 Bug 830049 - Don't crash when trying to attach caches for property sets on non-native objects, r=dvander. 2013-01-14 16:24:27 -07:00
Brian Hackett
0f57fb01bb Bug 829795 - Tolerate statically known dense arrays during JM compilation, r=dvander. 2013-01-14 16:19:37 -07:00
Brian Hackett
295526861d Bug 829813 - Cleanup API for marking/testing implicit properties, r=billm. 2013-01-14 16:15:30 -07:00
Brian Hackett
fd50372adf Bug 829175 - Allow reentering JM code if Ion was compiled for a different OSR point, r=dvander. 2013-01-14 16:08:15 -07:00
Brian Hackett
358142b465 Bug 829813 - Add more checks for dense element lookup results, r=billmm. 2013-01-14 14:46:32 -07:00
Jan de Mooij
55928183d7 Bug 829554 follow-up - Rename TaggedFramePtr to AbstractFramePtr, fix some GCC warnings. r=luke 2013-01-14 21:50:30 +01:00
Sean Stangl
eb46e78ff2 Bug 826581 - Follow-up fix. r=dvander 2013-01-14 12:47:20 -08:00
Kannan Vijayan
803b6dcc60 Bug 829352 - Add orPtr(Register, Register) variant to IonMacroAssembler. r=mjrosenb on irc 2013-01-14 15:21:06 -05:00
Jon Coppeard
07eb72d5f2 Bug 826673 - GC: Only finish sweeping the current compartment group on reset r=billm
--HG--
extra : rebase_source : ccf87362e671c9bd90109816444f5b293b17d997
2012-12-13 14:28:13 +00:00
Jon Coppeard
fb10aad1e7 Bug 826650 - GC: Recalculation of GC fullness in EndSweepPhase broken r=billm
--HG--
extra : rebase_source : cac1534972ae56c5edeb2635dfd9c227209f69d9
2013-01-03 18:34:35 +00:00