Commit Graph

39854 Commits

Author SHA1 Message Date
Hannes Verschore
299a4bbaf7 Bug 947603: IonMonkey: Enable compiling, while an IonScript is already present, r=jandem 2013-12-07 16:23:11 +01:00
Hannes Verschore
9160724296 Bug 947603: IonMonkey: Rename assertGraphCoherency to checkGraphCoherency, r=jandem 2013-12-07 16:23:07 +01:00
Hannes Verschore
89808658ea Bug 944278 - OdinMonkey: Fix stack alignment, r=luke 2013-12-07 15:45:06 +01:00
Hannes Verschore
eb1af1871c Bug 947188 - Add MOZ_ASSUME_UNREACHABLE for use in jit generated code, r=djvj 2013-12-07 15:44:59 +01:00
Jon Coppeard
0b13b21c71 Bug 939993 - Add assert that hash key is still valid in HashTable::relookupOrAdd r=sfink 2013-12-07 12:50:52 +00:00
Joshua Cranmer
b4eac639be Bug 929200, part 2: Add MOZ_HEAP_ALLOCATOR to JSContext::new_, r=jimb.
--HG--
extra : rebase_source : 94273fe87e4e432a493dd55a89a005a89e7bb998
2013-12-06 21:21:54 -06:00
Ehsan Akhgari
2886d7ae19 Bug 947299 - Don't build ICU as a shared library when building JS in standalone mode; r=glandium
X-Git-Commit-ID: 4664ac89e5ef60181b1c783cced3c323d11d6e43

--HG--
extra : rebase_source : 9340c2e547459f1f001d7eae8eab61e8e29ec114
2013-12-06 21:07:02 -05:00
Nicholas D. Matsakis
209c17a9b2 Bug 933760 - Track a type object for each type representation, associate with the type descriptor r=bhackett 2013-11-01 11:10:47 -04:00
Douglas Crosher
9081dfe90e Bug 947687 - Fix jit-tests remote harness push of tests/* to remote device. r=dminor 2013-12-08 17:39:21 +11:00
Nicholas D. Matsakis
192d6a2d38 Bug 922115 - Unsized array support in Typed Objects r=sfink 2013-09-30 10:19:09 -04:00
Steve Fink
360a2ce2d1 Bug 947400 - Comment fixup, DONTBUILD 2013-12-06 17:11:03 -08:00
Steve Fink
aba6abdd73 Bug 947400 - Make the analysis consider whether a virtual call can GC when all targets are known, r=bhackett 2013-12-06 17:00:48 -08:00
Brian Hackett
244e6f9039 Bug 943924 - Use default stack size for JS worker threads on Windows, r=billm. 2013-12-06 16:22:20 -08:00
Mike Hommey
0f2f57cd14 Bug 947083 - Kill elf-dynstr-gc. r=ted 2013-12-07 07:47:27 +09:00
Brian Hackett
4d4b3759d4 Bug 936156 - Mark run once lambdas inner to other run once lambdas, allow inlining foo.call(a) calls, r=jandem. 2013-12-06 14:46:36 -08:00
Douglas Crosher
2cb01f9c1b Bug 942027 - Ionmonkey ARM: Add float32 support to callWithABIPost. r=mjrosenb 2013-12-06 16:26:35 -05:00
Jeff Walden
226cda3c10 Bug 724768 - Set every blank class prototype as a delegate immediately after birth, so that we can properly and correctly cache the shape for new instances of that class that use that prototype. r=bhackett
--HG--
extra : rebase_source : 082af2663a31d84de764865038ee949786d831e6
2013-12-05 01:56:40 -08:00
Jeff Walden
470f90ede3 Bug 724768 - Store the various properties of Error objects in reserved slots, and eagerly create the stack string for them. r=bhackett for the TI bits, r=jimb otherwise
--HG--
extra : rebase_source : b1fc9b1f09c36a9f936aa518d53001f430808f95
2012-12-17 14:53:35 -05:00
Jan de Mooij
8d2d822cc4 Bug 946883 - Use NSPR thread for AsmJSMachExceptionHandler on OS X, so that it works with PosixNSPR. r=luke
--HG--
extra : rebase_source : 34a82b93197c14ab237df23ceb8646499049cbf8
2013-12-06 21:03:27 +01:00
Ryan VanderMeulen
db4e60059b Backed out 12 changesets (bug 927782) for SM rootanalysis orange.
Backed out changeset f86d2d4cfadf (bug 927782)
Backed out changeset 51d6617835d1 (bug 927782)
Backed out changeset eed9795fa80e (bug 927782)
Backed out changeset b971de7edfff (bug 927782)
Backed out changeset 5f086f95b305 (bug 927782)
Backed out changeset 8c74b1f68590 (bug 927782)
Backed out changeset f1237f11edcd (bug 927782)
Backed out changeset d6946bd743b3 (bug 927782)
Backed out changeset cbdd50c96b85 (bug 927782)
Backed out changeset fc7a979712fc (bug 927782)
Backed out changeset c8304ccf88e9 (bug 927782)
Backed out changeset 9d99e9ca7b32 (bug 927782)
2013-12-06 15:03:19 -05:00
Bobby Holley
8d45e8f483 Bug 937317 - Tests. r=bz 2013-12-06 12:01:43 -08:00
Bobby Holley
cdf05d42a4 Bug 937317 - Replace all instance of null cx pushing with AutoSystemCaller. r=bz
This is an easy bonus chunk of the work to phase out cx pushing in the browser.
2013-12-06 12:01:42 -08:00
Bobby Holley
83fd970692 Bug 937317 - Implement and expose GetIncumbentGlobal. r=bz,luke 2013-12-06 12:01:42 -08:00
Luke Wagner
ce90c6d205 Bug 931864 - remove the activeGCInAtomsZone limitation in JS::CanCompileOffThread (r=billm)
--HG--
extra : rebase_source : d0652c47ca940810ad32e4f34aa23a032f585479
2013-11-22 15:45:18 -06:00
Jan de Mooij
346c80d269 Bug 937540 part 10 - Use placement new syntax for PendingMove. r=luke 2013-12-06 19:31:57 +01:00
Andy Wingo
93f18a615e Bug 927782 - Part 12: Remove blockChain from StackFrame. r=luke 2013-11-26 12:17:08 +01:00
Andy Wingo
d11d3ec85e Bug 927782 - Part 11: Optimize block scopes without aliased locals. r=luke 2013-11-26 12:07:02 +01:00
Andy Wingo
0835b83e34 Bug 927782 - Part 10: Iterate block chain from compile-time block scope maps, not runtime blockChain. r=luke 2013-12-06 18:42:08 +01:00
Andy Wingo
359dcc41b9 Bug 927782 - Part 9: Fix js_DumpScriptDepth to not abort on unreachable bytecodes. r=luke 2013-12-06 18:30:05 +01:00
Andy Wingo
9c70f2c4dc Bug 927782 - Part 8: Record block scope ranges more precisely. r=luke 2013-12-06 18:27:55 +01:00
Andy Wingo
45126024df Bug 927782 - Part 7: Refactor entering and leaving block scopes in BytecodeEmitter. r=luke 2013-12-06 18:25:55 +01:00
Andy Wingo
cf3e774bba Bug 927782 - Part 6: Fix for-let nesting so nonlocal exits are easier. r=luke 2013-11-26 10:13:59 +01:00
Andy Wingo
dbfe020f9e Bug 927782 - Part 5: Clean up bytecode generation for catch clauses. r=jorendorff 2013-11-26 10:11:06 +01:00
Andy Wingo
70db0963cd Bug 927782 - Part 4: Generators allocate all locals on the scope chain. r=luke 2013-12-06 18:22:06 +01:00
Andy Wingo
5887ed7930 Bug 927782 - Part 3: Add DEBUGLEAVEBLOCK opcode to invalidate live DebugScopes. r=luke 2013-11-25 12:19:58 +01:00
Andy Wingo
603d840378 Bug 927782 - Part 2: Remove HAS_BLOCKCHAIN. r=luke 2013-11-25 12:19:38 +01:00
Andy Wingo
69541c02eb Bug 927782 - Part 1: Expose JSScript::getBlockScope(jsbytecode *). r=luke 2013-12-06 17:56:20 +01:00
Christian Holler
ea9a170a0b Bug 937083 - Make js::CharsToNumber propagate OOM. r=shu
--HG--
extra : rebase_source : 97816edbce569e85c7411184ab808e6429f33f94
2013-12-06 18:39:42 +01:00
Ehsan Akhgari
8c254a9883 Bug 915735 - Build ICU as a shared library where JS is built as a shared library; r=glandium 2013-12-06 08:08:52 -05:00
Carsten "Tomcat" Book
2f14605f80 Backed out changeset 099f65a712a8 (bug 915735) Windows Build Bustage on a CLOSED TREE 2013-12-06 14:48:13 +01:00
Ehsan Akhgari
ae9d793f7c Bug 915735 - Build ICU as a shared library where JS is built as a shared library; r=glandium 2013-12-06 08:08:52 -05:00
Carsten "Tomcat" Book
47c54a0f82 Backed out changeset cad77af5f7e6 (bug 937317) WinXP Build Bustage on a CLOSED TREE 2013-12-06 08:42:20 +01:00
Carsten "Tomcat" Book
076ec87e09 Backed out changeset 374e44c835a8 (bug 937317) WinXP Build Bustage on a CLOSED TREE 2013-12-06 08:41:42 +01:00
Carsten "Tomcat" Book
6a47cb092b Backed out changeset c84430c040dd (bug 937317) WinXP Build Bustage on a CLOSED TREE 2013-12-06 08:41:18 +01:00
Carsten "Tomcat" Book
218b967877 Merge m-c to mozilla-inbound 2013-12-06 07:38:31 +01:00
Bobby Holley
14b961d31f Bug 937317 - Tests. r=bz 2013-12-05 21:34:18 -08:00
Bobby Holley
901b658c25 Bug 937317 - Replace all instance of null cx pushing with AutoSystemCaller. r=bz
This is an easy bonus chunk of the work to phase out cx pushing in the browser.
2013-12-05 21:34:17 -08:00
Bobby Holley
6341333e54 Bug 937317 - Implement and expose GetIncumbentGlobal. r=bz,luke 2013-12-05 21:34:16 -08:00
Shu-yu Guo
90f7caa453 Bug 942549 - Followup: fix incorrect BOX_PIECES index on LCallDirectEvalV on a CLOSED TREE. (rs=bhackett) 2013-12-05 17:21:25 -08:00
Shu-yu Guo
82205f202b Bug 945564 - Move DataAlignment static const to function scope for unified build. (r=jandem) 2013-12-05 15:51:56 -08:00
Shu-yu Guo
0935a15335 Bug 942549 - Fix direct eval on non-strings in Ion. (r=jandem) 2013-12-05 15:51:56 -08:00
Shu-yu Guo
4f7ba4859a Bug 940088 - Fix assumption that Ion stays enabled across warmup in ForkJoin. (r=nmatsakis) 2013-12-05 15:51:55 -08:00
Ehsan Akhgari
b2578abe8a Bug 946702 - Remove the remnants of GTEST_SOURCES from config.mk; r=glandium 2013-12-05 18:49:19 -05:00
Mike Hommey
9387059310 Bug 944569 - Relax GNU make requirements on Windows. r=gps 2013-12-06 08:45:29 +09:00
Ryan VanderMeulen
5c07e15985 Backed out changesets 22770b30545b, 0809370fabdb, 4ef4764c1b55, and bfe768b87464 (bug 697343) due to Gaia UI test bustage.
CLOSED TREE
2013-12-05 16:19:47 -05:00
Jan de Mooij
f44144edcc Bug 937540 part 9 - Use placement new for LIR instructions, OOL code. r=luke 2013-12-05 22:04:27 +01:00
Dan Gohman
168ddbbbd1 Bug 945860 - IonMonkey: Fold an unsigned self-mod to zero when there is no divide-by-zero. r=bhackett 2013-12-05 08:25:53 -08:00
Dan Gohman
f4d4bd1e74 Bug 946234 - IonMonkey: Fix bailout checks for LModPowTwoI with a known non-negative dividend. r=bhackett 2013-12-05 07:50:45 -08:00
Dan Gohman
33e1728940 Bug 946284 - IonMonkey: Don't form unsigned divisions when the result could be fractional. r=nbp 2013-12-05 07:50:43 -08:00
Mike Shal
ddecae52a4 Bug 875013 - Remove VPATH; r=glandium 2013-11-21 14:57:06 -05:00
Jan de Mooij
7e05864542 Bug 653438 - Fix number.toExponential(undefined) to behave like number.toExponential() and remove some dead code. r=till
--HG--
extra : rebase_source : e7fde214b9002658bbc8c64b32028854798bfab1
2013-12-05 14:47:35 +01:00
Jan de Mooij
903e015b60 Bug 946662 - Add MOZ_FINAL to MResumePoint. r=h4writer
--HG--
extra : rebase_source : 354f2f3fcb58e979df281ddf3166550420fef9ad
2013-12-05 14:46:04 +01:00
Jan de Mooij
0da92731a3 Bug 945811 - Correctly propagate errors from makeInliningDecision and similar methods. r=h4writer
--HG--
extra : rebase_source : 658f2446fd278757c8fe73786c881363fb8d7c01
2013-12-05 14:45:42 +01:00
Ryan VanderMeulen
f0056f5d4e Backed out changesets c63eaabaefb1 and c14453ff8764 (bug 927685) due to frequent jit-test /parallel failures. 2013-12-05 15:58:44 -05:00
Bobby Holley
ef15ebe61b Bug 945826 - Trap overrides and comments. r=jorendorff 2013-12-05 12:58:20 -08:00
Tom Schuster
50ab3e3db1 Bug 697343 - Add slice hook test. r=jandem 2013-12-05 20:07:25 +01:00
Boris Zbarsky
574377e72d Bug 697343 - Add slice hook to DOM bindings like NodeList. r=peterv,bhackett 2013-12-02 11:32:22 -05:00
Tom Schuster
50c0f8f4e6 Bug 697343 - Introduce a slice hook to allow optimizing Array.prototype.slice for Proxies etc. r=jandem,bz 2013-12-05 20:07:24 +01:00
Tom Schuster
922370489e Bug 697343 - Remove getElementIfPresent. r=Waldo 2013-12-05 20:07:24 +01:00
Terrence Cole
a8e63ef0b9 Bug 927685 - Followup to fix bustage in --disable-threadsafe builds on a CLOSED TREE; r=bustage 2013-12-05 11:13:58 -08:00
Terrence Cole
c4db17efca Bug 945939 - Use the pre-split value when numbering values; r=sunfish
--HG--
extra : rebase_source : f5f67cd31653619806caab33a71eb8a1d48c7d62
2013-12-04 09:00:23 -08:00
Terrence Cole
9303d92f38 Bug 927685 - Enable --ion-parallel-compile=on by default in the shell; r=jandem,sr=jorendorff
--HG--
extra : rebase_source : b416f0008ae96d4734ebd6d33be901f02a3ac560
2013-11-12 14:02:24 -08:00
Jan de Mooij
6ac9000ed3 Bug 937540 part 7 - Use placement new syntax for range analysis and some other classes. r=nbp 2013-12-05 13:32:13 +01:00
Jon Coppeard
3119035c47 Bug 945846 - Stop barriers firing during store buffer marking for XPConnect r=terrence 2013-12-05 11:15:51 +00:00
Jon Coppeard
1b61826a85 Bug 945846 - Stop barriers going off during store buffer marking for ctypes r=terrence 2013-12-05 11:15:51 +00:00
Jan de Mooij
6e876b5db7 Bug 937540 part 8 - Don't call GetIonContext() when allocating type constraints. r=bhackett 2013-12-05 11:10:27 +01:00
Jacek Caban
c9efa74885 Bug 944444 - Fix js/ compilation on mingw. r=Waldo 2013-12-05 10:56:22 +01:00
Nicholas Nethercote
b413e441cf Bug 943660 (part 2) - Remove remnants of Remove nsIMemoryReporter::name.
--HG--
extra : rebase_source : 900bd1c641b26623cccf14d952b5387223b489eb
2013-12-03 20:01:24 -08:00
Bobby Holley
62578248db Bug 932906 - Exempt Remote XUL from CanCreateWrapper checks. r=bz 2013-12-04 19:15:40 -08:00
Bobby Holley
fe1eb07f95 Bug 943152 - Tests. r=jgriffin 2013-12-04 19:15:40 -08:00
Nicholas Nethercote
665c913cc0 Bug 943744 (part 3) - Re-use the |strings| table from the zone with the most strings when computing totals. r=till.
--HG--
extra : rebase_source : 3fa7b4249526ffcfbadd108aa55e7e9e5f0c8ebf
2013-12-04 03:54:54 -08:00
Nicholas Nethercote
c2c4132e4f Bug 943744 (part 2) - Represent the sizes in StringInfo more compactly. r=till.
--HG--
extra : rebase_source : 799693bac2beb4609daf55fc5e8cbe19adff3ed8
2013-12-02 21:40:25 -08:00
Nicholas Nethercote
929454ee8d Bug 943744 (part 1) - Remove StringInfo::length. r=till.
--HG--
extra : rebase_source : 4ac0be283e35bd878ad4410b805548255fcd8cee
2013-12-02 21:40:25 -08:00
Daniel Holbert
63009ee94b Bug 946405 - Tweak some anonymous namespacing in jsinfer.cpp and jsopcode.cpp to fix GCC build warnings about "has a field...whose type uses the anonymous namespace". r=jandem 2013-12-04 20:59:13 -05:00
Douglas Crosher
bdd0312131 Bug 869473 - Optimize DivI with a power of two divisor when the numerator is not negative. r=sunfish 2013-12-05 07:34:29 +11:00
Trevor Saunders
aeba5a1b72 bug 900797 - fix warnings as errors with gcc 4.8 from ndk r9 r=glandium 2013-11-20 20:00:05 -05:00
Brian Hackett
c8d539c7a0 Bug 944080 - Fix IonBuilder handling of missing length property in array type information, r=jandem. 2013-12-04 17:19:54 -08:00
Nicholas D. Matsakis
727054688c Bug 943723: Fix binary search in TypeRepresentationSetBuilder::insert (r=pnkfelix). 2013-12-04 13:37:38 +01:00
Felix S. Klock II
f1b856f3de Bug 941672: assert thread state init'ed upon seeing Exclusive context (r=shu). 2013-12-03 20:21:01 +01:00
Jon Coppeard
78c9b2b539 Bug 945844 - Fix build error when compiling with GGC enabled and initialise store buffer reentry check member r=sfink 2013-12-04 11:02:47 +00:00
Douglas Crosher
418418e0a6 Bug 941905 - Move the HWCAP_ARMv7 flag down to bit 29, r=mjrosenb 2013-11-22 09:49:58 +11:00
Ryan VanderMeulen
3ed48aff66 Backed out changeset 1e96d70a3f9b (bug 941905) for frequent B2G reftest timeouts.
CLOSED TREE
2013-12-03 21:35:16 -05:00
Jeff Walden
a51194c4dc Bug 940033 - js::HashMapEntry::{key,value} fields should be private, with accessors, and the former should expose a const reference. r=jimb
--HG--
extra : rebase_source : 439d194ed15bf87e9643c9c09d4512ff7f616fcc
2013-11-25 17:35:09 -08:00
Jeff Walden
fd8d240cfd Bug 937751 - Followup to compile with clang versions that treat |struct S; struct __attribute__((visibility("default"))) S {};| as an error. rs=mccr8
--HG--
extra : rebase_source : 97d6faaaa484a9544d2683c4a1af5c3e044fa2d3
2013-12-03 15:53:40 -08:00
Douglas Crosher
1ef065d5f0 Bug 941905 - Move the HWCAP_ARMv7 flag down to bit 29, r=mjrosenb 2013-11-22 09:49:58 +11:00
Andrew McCreight
b33d8d0c09 Bug 937751, part 2 - Move SliceBudget into js/public. r=billm 2013-12-03 10:47:47 -08:00
Jan de Mooij
6f935c23a0 Bug 945406 - Move maybeAddOsrTypeBarriers calls from traverseBytecode to IonBuilder::build. r=bhackett
--HG--
extra : rebase_source : 17730207896800422129ecca46c2eb06ca1f7859
2013-12-03 19:23:25 +01:00
Jan de Mooij
15f61439a8 Bug 945294 - Add a missing is<JSFunction> check to annotateGetPropertyCache. r=bhackett
--HG--
extra : rebase_source : 908712a8afa11ce5ce32311befba30edd86a6128
2013-12-03 19:18:10 +01:00
Christian Holler
414ee00815 Bug 945754 - Make EnsureTrackPropertyTypes handle OOM. r=bhackett
--HG--
extra : rebase_source : 261942cf99f22fc5110e7e51bec6f86c4cfa8aaa
2013-12-03 17:43:18 +01:00
Brian Hackett
ea3e8b1563 Bug 944946 - Use accessor methods for script->code and script->length, r=jandem. 2013-12-03 08:17:50 -08:00