Commit Graph

34219 Commits

Author SHA1 Message Date
Jan de Mooij
9e4f1ac70f No bug - Fix --disable-threadsafe shell builds to unbreak JS fuzzers. r=jorendorff,jonco, a=Tomcat 2014-06-27 16:33:07 +02:00
Dan Gohman
2db5003bfb Bug 1004363 - IonMonkey: A new value-numbering implementation based on a dom-tree DFS. r=nbp 2014-06-27 10:38:44 -07:00
Steve Singer
9ee04be984 Bug 1030400 - Add sym to the 32 bit big endian branch. r=jorendorff 2014-06-25 18:48:00 +02:00
Kannan Vijayan
3f5e5123da Bug 928928 - Add missing property GetProp stub in BaselineJIT. r=nbp 2014-06-27 13:35:24 -04:00
Dan Gohman
b86c3c030f Bug 1030378 - IonMonkey: Fix lifetime bounds for non-fixed call uses. r=mjrosenb 2014-06-27 10:18:49 -07:00
Terrence Cole
fbf2cddc0c Bug 1027221 - Allow incremental GC barriers on off-main-thread permanent atoms; r=billm
--HG--
extra : rebase_source : 269fadc9dbb6dd9cffd6b87f01ff4b4fc4738ef4
2014-06-26 14:15:15 -07:00
Shu-yu Guo
05f88660c2 Bug 1029910 - Skip over unreadable slots in InlineFrameIterator. (r=nbp) 2014-06-27 00:41:20 -07:00
Shu-yu Guo
15e9f6225c Bug 1028331 - Use BailoutKind to report more detailed PJS bailout warnings. (r=lth) 2014-06-27 00:41:20 -07:00
Dan Gohman
7a2a8d413d Bug 1027900 - IonMonkey: When spilling an interval that has a desginated spill interval, use it. r=bhackett 2014-06-26 20:39:04 -07:00
Nigel Babu
dddab352e2 Backed out changeset 567152f907a1 (bug 1028331) for Jit failures 2014-06-27 08:48:14 +05:30
Nigel Babu
b768f96cca Backed out changeset b3124d14db16 (bug 1029910) for Jit failures 2014-06-27 08:47:19 +05:30
Dan Gohman
caccbc28e2 Bug 1027900 - IonMonkey: Split live intervals that start in memory at their first register use. r=bhackett 2014-06-26 20:04:12 -07:00
Dan Gohman
aad3233964 Bug 1027900 - IonMonkey: LUse::ANY has an active preference for registers over memory. r=bhackett 2014-06-26 19:24:24 -07:00
Carsten "Tomcat" Book
8328ed247d Backed out changeset 2c6403818106 (bug 1027402) for bustage on a CLOSED TREE 2014-06-27 14:21:46 +02:00
Carsten "Tomcat" Book
ae32e4a7cc Backed out changeset 346912776f97 (bug 1027402) 2014-06-27 14:21:22 +02:00
Carsten "Tomcat" Book
5f562e29f0 Backed out changeset 285c853fedfa (bug 1027402) 2014-06-27 14:21:20 +02:00
Carsten "Tomcat" Book
80643faae0 Backed out changeset 96443362db6f (bug 1027402) 2014-06-27 14:21:17 +02:00
Eric Faust
06f26016a7 Bug 1027402 - Part 4: Mark Proxy Handler uses const. (r=jorendorff, r=bz) 2014-06-27 04:44:08 -07:00
Eric Faust
a3511c108a Bug 1027402 - Part 3: Mark all Proxy Handler methods const. (r=jorendorff, r=bz) 2014-06-27 04:44:06 -07:00
Eric Faust
9f81106775 Bug 1027402 - Part 2: Mark Proxy Handler instances as const. (r=bholley) 2014-06-27 04:44:04 -07:00
Eric Faust
3e181b313e Bug 1027402 - Part 1: Remove set* from BaseProxyHandler. (r=bholley) 2014-06-27 04:44:02 -07:00
Eric Faust
ce87b3d1fc Bug 1015790 - Remove PropDesc::descObj_. (r=jorendorff) 2014-06-27 03:46:00 -07:00
Boris Zbarsky
0978383048 Bug 1030938. Stop copy-constructing iterators in SavedStacks code, because that copy constructor is really slow. Also, hash atoms as pointers, not strings. r=shu 2014-06-26 22:22:32 -04:00
Dan Gohman
185eb0c77d Bug 1027861 - IonMonkey: Micro-optimize dominator calculation. r=sstangl 2014-06-26 14:15:08 -07:00
Shu-yu Guo
66ecede7f7 Bug 1029910 - Skip over unreadable slots in InlineFrameIterator. (r=nbp) 2014-06-26 18:31:50 -07:00
Shu-yu Guo
0dd6336f8d Bug 1028331 - Use BailoutKind to report more detailed PJS bailout warnings. (r=lth) 2014-06-26 18:31:50 -07:00
Andrea Marchesini
e25e980526 Bug 876683 - DOMFile/DOMBlob refactoring, r=ehsan, r=bent 2014-06-26 09:47:44 -07:00
Andrew McCreight
755e7c59b3 Bug 1029660 - Remove nsContentUtils::DeferredFinalize. r=peterv 2014-06-26 09:29:05 -07:00
Luke Wagner
005c51c05d Bug 1029215 - add missing 'using mozilla::DebugOnly' (r=red) 2014-06-26 09:55:27 -05:00
Andy Wingo
4fd786c6da Bug 981599 - Update parsing of 'yield' to match latest spec r=jorendorff 2014-06-26 16:17:02 +02:00
Luke Wagner
db94658cbf Bug 1030183 - move NewStringCopy* definitions to avoid unified-build bustage (r=jandem)
--HG--
extra : rebase_source : 42bf9a3f72cbf9a2316b4ec75104e0a50506f2ed
2014-06-25 11:39:15 -05:00
Luke Wagner
3980926d42 Bug 1030175 - OdinMonkey: use the InterruptMode to avoid faulting for finished Ion compilations (r=bhackett)
--HG--
extra : rebase_source : 3bfaa7c3430a9e151e81f4a616bda06b9e995a82
2014-06-25 11:33:02 -05:00
Luke Wagner
11bc6e7f91 Bug 1029215 - remove 'using namespace mozilla' from js/src (r=waldo)
--HG--
extra : rebase_source : 4f04012d2f7ddc8f21d7c9d6903cbef84e0675c0
2014-06-25 11:24:10 -05:00
Carsten "Tomcat" Book
662392adb6 Merge mozilla-central to mozilla-inbound 2014-06-26 15:51:31 +02:00
Carsten "Tomcat" Book
39ff1551ea merge fx-team to mozilla-central a=merge 2014-06-26 15:33:24 +02:00
Andy Wingo
2655b3f6d2 Bug 985894 - Sending a value to a newborn generator should not raise an error r=jorendorff 2014-06-26 15:32:30 +02:00
Nathan Froyd
a42f3c6723 Backout 4158a1e1ddf9 (bug 1029059) for breaking jstests running 2014-06-26 09:00:51 -04:00
Jim Blandy
a0d1d6b3a3 Bug 801084: Remove documentation for the unimplemented (and certain to be redesigned) Debugger.Object.prototype.hostAnnotations accessor. DONTBUILD r=jorendorff 2014-06-25 22:45:23 -07:00
Ehsan Akhgari
54bd6d6291 Backed out changeset a4a56914be72 (bug 1024836) because the upstream LLVM bug is now fixed.
Upstream bug: http://llvm.org/bugs/show_bug.cgi?id=20008
2014-06-25 22:20:25 -07:00
Wes Kocher
c8c625d1b9 Merge m-c to fx-team a=merge 2014-06-25 18:44:50 -07:00
Wes Kocher
66f24b17db Backed out changeset 7c792ae3ab21 (bug 1028866) under suspicion of making Windows PGO bc1 incredibly failure-prone on a CLOSED TREE 2014-06-25 15:46:42 -07:00
Wes Kocher
b9b6bc30d5 Backed out changeset b19674e5222c (bug 1028867) under suspicion of making Windows PGO bc1 incredibly failure-prone on a CLOSED TREE 2014-06-25 15:46:28 -07:00
Nick Fitzgerald
ed7a44d51b Bug 1026188 - Allow embedders to save JS execution stacks. r=sfink 2014-06-25 12:21:00 -04:00
Nicolas Devillers
8639c21914 Bug 1024587 - IonMonkey: Implement CharCodeAt Recover Instruction. r=nbp,evilpie 2014-06-26 03:01:55 -07:00
Benjamin Bouvier
5fab0a29d4 Bug 1030642: Remove two build warnings (unused variable kind and tautological assertion) on ARM; r=mjrosenb 2014-06-26 11:57:04 +02:00
Benjamin Bouvier
6a1ba46249 Bug 1030605: Use size_t rather than plain int for loop initializers; r=mjrosenb 2014-06-26 11:56:57 +02:00
Benjamin Bouvier
5a224ec955 Bug 1030599: Make hasUnaliasedDouble and hasMultiAlias inline rather than static; r=mjrosenb 2014-06-26 11:56:45 +02:00
Marty Rosenberg
08406b61e5 bug 991153: move definition of aliases out of #ifdef DEBUG (r=red) on a CLOSED TREE 2014-06-25 13:33:11 -04:00
Marty Rosenberg
a8aafdee85 Bug 991153: fix un-qfolded nits from bbouvier's review (r=bbouvier) 2014-06-25 13:16:11 -04:00
Marty Rosenberg
73d7c3eeb7 bug 991153: Add in code that lets safepoints work with up to 64 registers, specifically for VFP registers on ARM. (r=nbp) 2014-06-25 12:54:35 -04:00
Marty Rosenberg
8652148c96 Bug 991153: Make the types for sets of registers a per-type quantity (r=jandem) 2014-06-25 12:54:34 -04:00
Marty Rosenberg
610472250c Bug 991153: Update the engine to be able to handle all 32 double registers on ARM (r=nbp) 2014-06-25 12:54:34 -04:00
Marty Rosenberg
31705e082a bug 991153: Update the backtracking allocator to handle aliased registers. (r=bhackett) 2014-06-25 12:54:34 -04:00
Marty Rosenberg
866d84af2c Bug 991153: Update LSRA to handle aliased registers (r=jandem) 2014-06-25 12:54:34 -04:00
Marty Rosenberg
898f0f1802 Bug 991153: Add machinery necessary for both register allocators to deal with aliased registers (r=bbouvier) 2014-06-25 12:54:33 -04:00
Marty Rosenberg
d6e7cf9a9e Bug 991153: Split uses of temp allocations into explicit float32 and doubles (r=djvj) 2014-06-25 12:54:33 -04:00
Marty Rosenberg
fd1afdcbbf Bug 991153: Add in float32 versions of some scratch registers. (r=nbp) 2014-06-25 12:54:33 -04:00
Marty Rosenberg
11b8de4292 Bug 991153: Move the FloatRegister structure to a per-architecture area. (r=jandem) 2014-06-25 12:54:33 -04:00
Jon Coppeard
ddb73211aa Bug 1027897 - Fix warning in BacktrackingAllocator::PrintLiveIntervalRange r=sunfish 2014-06-25 14:34:55 +01:00
André Bargull
5069cd3e4b Bug 920484 - Use empty objects when initialising Intl prototypes. r=waldo 2014-06-24 04:45:00 -04:00
Guillaume Turri
a0b040b3e9 Bug 1028529 - ensure IonSpewEndFunction is called once for each call to IonSpewNewFunction. r=nbp 2014-06-25 02:21:34 -07:00
Jan de Mooij
ac7f235c0f Bug 1028867 - Add a --latin1-strings shell flag. r=luke 2014-06-25 10:12:20 +02:00
Jan de Mooij
78bfa0aa1c Bug 1028866 part 5 - Make NewString deflate to Latin1 if Latin1 strings are enabled and add NewStringDontDeflate. r=luke 2014-06-25 10:12:17 +02:00
Jan de Mooij
6198cb3fb7 Bug 1028866 part 4 - Add NewStringCopyNDontDeflate. r=luke 2014-06-25 08:05:45 +02:00
Jan de Mooij
7eea29388a Bug 1028866 part 3 - NewStringCopyN should create Latin1 strings if Latin1 strings are enabled. r=luke 2014-06-25 08:05:43 +02:00
Jan de Mooij
12d5cba650 Bug 1027528 part 15 - Make structured clone work with Latin1 strings. r=jorendorff,bent 2014-06-25 08:05:41 +02:00
Lars T Hansen
6d80acbdb4 Bug 1026931 - factor the fallible initialization code, and capture and propagate errors. r=shu 2014-06-25 07:31:56 +02:00
Jim Blandy
4d6a633bba Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan
The -*- file variable lines -*- establish per-file settings that Emacs will
pick up. This patch makes the following changes to those lines (and touches
nothing else):

 - Never set the buffer's mode.

   Years ago, Emacs did not have a good JavaScript mode, so it made sense
   to use Java or C++ mode in .js files. However, Emacs has had js-mode for
   years now; it's perfectly serviceable, and is available and enabled by
   default in all major Emacs packagings.

   Selecting a mode in the -*- file variable line -*- is almost always the
   wrong thing to do anyway. It overrides Emacs's default choice, which is
   (now) reasonable; and even worse, it overrides settings the user might
   have made in their '.emacs' file for that file extension. It's only
   useful when there's something specific about that particular file that
   makes a particular mode appropriate.

 - Correctly propagate settings that establish the correct indentation
   level for this file: c-basic-offset and js2-basic-offset should be
   js-indent-level. Whatever value they're given should be preserved;
   different parts of our tree use different indentation styles.

 - We don't use tabs in Mozilla JS code. Always set indent-tabs-mode: nil.
   Remove tab-width: settings, at least in files that don't contain tab
   characters.

 - Remove js2-mode settings that belong in the user's .emacs file, like
   js2-skip-preprocessor-directives.
2014-06-24 22:12:07 -07:00
Brian R. Bondy
9886164729 Bug 598615 - Rename HAVE_64BIT_OS to HAVE_64BIT_BUILD. r=ted 2014-06-24 22:16:25 -04:00
Wes Kocher
d9ec170da8 Backed out 2 changesets (bug 1027890) for B2G Windows Build bustage on a CLOSED TREE
Backed out changeset bcd694f0e95d (bug 1027890)
Backed out changeset 49cadfcde709 (bug 1027890)
2014-06-24 18:33:46 -07:00
Mike Hommey
f59abd2745 Bug 1027890 - Remove all sorts of build system code dedicated to pymake. r=gps 2014-06-25 08:38:28 +09:00
Nathan Froyd
d75b8d1432 Bug 1029059 - remove TARGET_{XPCOM,COMPILER}_ABI variables from js/src/configure.in; r=glandium 2014-06-23 14:25:28 -04:00
Jeff Walden
0b3231074e Bug 1029118 - Remove the now-dead (as of window WebIDLification) js::ReportIfUndeclaredVarAssignment. r=till
--HG--
extra : rebase_source : 4f00ec895b255f1bc22d8b22094cff43d6d41278
2014-06-23 07:46:44 -07:00
Jeff Walden
db9feb2b4f Bug 1029126 - Fix out-of-range assignment warning in typed-object field offset calculation code. r=shu
--HG--
extra : rebase_source : 82c837c60b46a7d7dc52b2ea39c864e5f5c2c18f
2014-06-23 14:11:14 -07:00
Caio Lima
4f6dde7038 Bug 1028262 - Enable lazy argsobj creation for functions using MGetArgumentsObjectArg. r=djvj 2014-06-20 12:34:00 +02:00
Douglas Crosher
14f78e0a84 Bug 1028008 - IonMonkey: (ARM) Support reading a js shell 'arm-hwcap' argument in addition to the ARMHWCAP environment variable. r=jandem 2014-06-24 14:43:23 +10:00
Guptha Rajagopal
79c7eb8f6d Bug 1024748 - Correct toString behavior when Template Literals is implemented as described in ES6 draft section 12.2.9. r=jorendorff 2014-06-23 10:59:00 -04:00
Guptha Rajagopal
28d855c725 Bug 1024748 - Implement Template Literals as described in ES6 draft section 12.2.9. r=jorendorff 2014-06-23 10:58:00 -04:00
Jan de Mooij
925a70da95 Bug 1012694 - IonMonkey (ARM): Use the second scratch register to avoid clobbering the scratch register. r=dougc 2014-06-24 14:46:03 -04:00
Daniel Holbert
4ad4da4c3c Bug 1029672: Tweak ASCII art in ForkJoin.h so that it doesn't cause GCC -Wcomment build warnings. rs=shu
DONTBUILD because comment-only
2014-06-24 11:24:18 -07:00
Jan de Mooij
6f1fd23160 Bug 1028866 part 2 - Cleanup NewStringCopyZ. r=luke
--HG--
extra : rebase_source : 321aae85dd6a3e2fa90474ceed9bd03347f528a8
2014-06-24 17:33:29 +02:00
Jan de Mooij
f6453dde7c Bug 1028866 part 1 - Move string allocation functions into js namespace, remove js_* prefix. r=luke
--HG--
extra : rebase_source : 1f4c940dce07a7ced533c641c60cf76592fd61ac
2014-06-24 17:33:27 +02:00
Jan de Mooij
801e7fbbe4 Bug 1026438 part 9 - Make irregexp CheckNotBackReferenceIgnoreCase work with Latin1 strings. r=bhackett 2014-06-24 12:01:42 +02:00
Jan de Mooij
b23817cf8f Bug 1027528 part 20 - Make enough code work with Latin1 strings to pass shell tests. r=luke 2014-06-24 12:01:41 +02:00
Jan de Mooij
2195993117 Bug 1027528 part 19 - Make XDR work with Latin1 strings. r=luke 2014-06-24 12:01:39 +02:00
Jan de Mooij
455f2d196a Bug 1027528 part 18 - Make some error functions work with Latin1 strings. r=terrence 2014-06-24 12:01:37 +02:00
Jon Coppeard
400bb8bec2 Bug 1028863 - Root SavedFrame::Lookup while creating new SavedFrame r=terrence 2014-06-24 09:23:57 +01:00
Bill McCloskey
a36b8c7b9b Bug 1017310 - Associate JS compartments with add-on chrome XBL (r=bholley) 2014-06-23 16:33:37 -07:00
Terrence Cole
56f73e4f46 Bug 1028358; followup fix on a CLOSED TREE; r=sfink
--HG--
extra : rebase_source : c38ad9347fd6100e9275e08823763bccbce54c10
2014-06-23 14:36:26 -07:00
Dan Gohman
25b2238b9f Bug 1027897 - IonMonkey: Explicitly instantiate buildVregs() on a CLOSED TREE r=me 2014-06-23 14:33:24 -07:00
Steve Fink
fa5af6b609 Namespacing fixes for bug 1028358, r=CLOSED TREE 2014-06-23 13:57:16 -07:00
Dan Gohman
867859c9e3 Bug 1027900 - IonMonkey: Extend trySplitAfterLastRegister use to also split after register definitions. r=bhackett 2014-06-23 13:42:08 -07:00
Dan Gohman
7d3f1756c4 Bug 1027897 - IonMonkey: Rename CodePosition::pos() to avoid awkwardness like pos.pos() r=bhackett 2014-06-23 13:42:08 -07:00
Dan Gohman
9520accb3f Bug 1027897 - IonMonkey: Use FixedList for a few things. r=bhackett 2014-06-23 13:42:07 -07:00
Dan Gohman
6478fed465 Bug 1027897 - IonMonkey: Rename LDefinition's Policy enum fields for consistency with LUse r=bhackett 2014-06-23 13:42:07 -07:00
Dan Gohman
50d5c044eb Bug 1027897 - IonMonkey: Add some regalloc-related comments. r=bhackett 2014-06-23 13:42:07 -07:00
Dan Gohman
0e15cde44a Bug 1027897 - IonMonkey: Intervals are sorted by their start. r=bhackett 2014-06-23 13:42:07 -07:00
Dan Gohman
f21ff8479c Bug 1027897 - IonMonkey: Refactor split position bookkeeping into helper classes. r=bhackett 2014-06-23 13:42:07 -07:00
Dan Gohman
603f4c87ed Bug 1027897 - IonMonkey: More regalloc dumping improvements r=bhackett 2014-06-23 13:42:07 -07:00
Dan Gohman
3d37fafe97 Bug 1027897 - IonMonkey: Create entryOf and exitOf helper functions and use them. r=bhackett 2014-06-23 13:42:07 -07:00