Commit Graph

30969 Commits

Author SHA1 Message Date
Dan Gohman
0a7616aa2d Bug 949668 - SpiderMonkey: Delete an unused function. r=jandem 2013-12-13 08:27:47 -08:00
Dan Gohman
eeb3ad8f08 Bug 949668 - SpiderMonkey: Add a type to LMoveGroup. r=jandem 2013-12-13 08:27:47 -08:00
Dan Gohman
4d49341afb Bug 949668 - SpiderMonkey: Add an LDefinition::Float32 r=jandem 2013-12-13 08:27:47 -08:00
Dan Gohman
23ccef4096 Bug 949668 - SpiderMonkey: MoveOp cleanups. r=jandem 2013-12-13 08:27:47 -08:00
Dan Gohman
d92e35536d Bug 949668 - SpiderMonkey: Rename MoveResolver::Move to MoveOp. r=jandem 2013-12-13 08:27:46 -08:00
Julian Seward
8798e032d8 Bug 867597 - IonMonkey: ARM hwcaps detection depends on uninitialised garbage on the stack. r=mjrosenb
--HG--
extra : rebase_source : aaa617de72c55552bd63f23d392e25785c1bf65a
2013-12-13 12:40:24 +01:00
Kannan Vijayan
abc964790b Bug 949496 - Correctly handle frame return values when bailing to baseline. r=jandem 2013-12-13 08:37:46 -05:00
Jon Coppeard
3e171faba1 Bug 945280 - Reset nursery to initial state on disabling generational GC zeal mode r=terrence 2013-12-13 09:32:19 +00:00
Jon Coppeard
1350035049 Bug 945285 - Don't verify post barriers if store buffer is disabled r=sfink 2013-12-13 09:32:19 +00:00
Terrence Cole
a323919712 Bug 945250 - Evict the nursery before using CellIter; r=jonco 2013-12-04 15:23:30 -08:00
Shu-yu Guo
f2441f1bc5 Bug 949916 - Fix race between off-main-thread-compilation and PJS. (r=bhackett) 2013-12-12 23:23:57 -08:00
Shu-yu Guo
873a319451 Bug 944074 - Followup: undefined min and max from <windows.h> to prevent conflicts. (r=jandem) 2013-12-12 23:19:55 -08:00
Shu-yu Guo
aeae45c52e Bug 944074 - Remove the ParallelArray constructor. (r=nmatsakis) 2013-12-12 23:18:43 -08:00
Chris Peterson
3c0f054075 Bug 949324 - Fix -Wunused-function warnings in js/. r=luke 2013-12-11 21:24:13 -08:00
Steve Fink
9ef58fba19 No bug. Remove noisy debugging printout.
--HG--
extra : rebase_source : f5aa45dcb6c5d051f8888682d3aeab71b7df56d5
2013-12-11 17:17:17 -08:00
Steve Fink
b4e452ee01 Bug 948753 - Annotate sane nsISupports virtual methods, r=bhackett
--HG--
extra : rebase_source : 85695549d5d068bd393fc50e7190da00f95970ca
2013-12-11 17:17:14 -08:00
Steve Fink
3838701201 Bug 948646 - AutoJSContext cannot GC, r=terrence
--HG--
extra : rebase_source : f015f6bce00faa2c8e77cb861ed0770710e718ed
2013-12-11 17:16:47 -08:00
Steve Fink
66871e73e7 Bug 940765 - preference service can GC, r=terrence
--HG--
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-align-self-baseline-horiz-3-ref.xhtml => layout/reftests/w3c-css/submitted/flexbox/flexbox-align-self-baseline-horiz-1-ref.xhtml
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-align-self-baseline-horiz-3.xhtml => layout/reftests/w3c-css/submitted/flexbox/flexbox-align-self-baseline-horiz-1.xhtml
extra : rebase_source : cad260c0819a3ced47e1ec612de2788e1e991670
2013-12-11 17:16:14 -08:00
Andrew McCreight
1ae8e495d2 Bug 944492, part 2 - Make XPCWrappedJS a proper skippable class. r=smaug 2013-12-12 19:38:50 -08:00
Andrew McCreight
1fa99f5a29 Bug 944492, part 1 - Make XPCWrappedJS use the purple buffer. r=smaug 2013-12-12 19:38:49 -08:00
Wes Kocher
a613766f4c Backed out changeset 2a1e0a4f8d72 (bug 932982) for b2g m2 orange on a CLOSED TREE 2013-12-12 16:38:32 -08:00
Catalin Iacob
a9bab62029 Bug 947117 - Don't tell the compiler to use debug C++ runtimes just because we're using DMD. r=glandium 2013-12-09 07:58:16 +01:00
Douglas Crosher
3b0045b307 Bug 906964 - ARM: Revert the reservation of some head-room in the constant pools as it caused or tickled bug 944972. r=mjrosenb 2013-12-05 10:44:40 +11:00
Jim Blandy
00855bed87 Bug 948459: Reliably clean up DebugScopes::liveScopes when DebugScopeObjects are finalized. r=luke 2013-12-12 13:52:35 -08:00
Brian Hackett
2ad149fd13 Bug 932982 - Trace type constraints and allow preserving jitcode in GCs without also marking all type information, r=billm,jandem. 2013-12-12 13:10:54 -08:00
Sean Stangl
94bb42ef1a Bug 949195 - Don't refer to IsInRequest() when JS_DEBUG is not defined. r=efaust 2013-12-11 14:06:04 -08:00
Benjamin Bouvier
e8916602ba Bug 904918: Odin Float32 support: tests; r=luke 2013-12-12 20:23:35 +01:00
Benjamin Bouvier
f41c369692 Bug 904918: Odin Float32 support; p=bbouvier,dougc r=luke,sstangl
Authors:
- Douglas Crosher (dougc) for the ARM backend support
- Benjamin Bouvier (bbouvier) for everything else
2013-12-12 20:23:29 +01:00
Ryan VanderMeulen
2ecb65ed51 Backed out 6 changesets (bug 939614) for Hf timeouts on a CLOSED TREE.
Backed out changeset 50cc92857bf7 (bug 939614)
Backed out changeset 62a6568217da (bug 939614)
Backed out changeset 31d0d40d4a7c (bug 939614)
Backed out changeset 2b87186ddb6d (bug 939614)
Backed out changeset fa2005c9ca02 (bug 939614)
Backed out changeset 7d3c745a811f (bug 939614)
2013-12-12 13:56:50 -05:00
Ryan VanderMeulen
aa42fbffac Backed out changeset a29d7f5ddde6 (bug 932982) for ggc asserts. 2013-12-12 13:56:32 -05:00
Hannes Verschore
5fea02cc72 Bug 879402 - Fix possible leak in createArray and make it work for ggc, r=bhackett 2013-12-12 17:43:49 +01:00
Brian Hackett
dc8e205d66 Bug 932982 - Trace type constraints and allow preserving jitcode in GCs without also marking all type information, r=billm,jandem. 2013-12-12 08:42:24 -08:00
Hannes Verschore
42215715c3 Bug 879402 - Use template object to faster set the input and index properties on CreateRegExpMatchResult, r=bhackett 2013-12-12 16:43:52 +01:00
Mike Hommey
049b105f14 Bug 778236 - Treat gyp files as if their content was defined in moz.build files. r=gps 2013-12-12 23:41:05 +09:00
Hannes Verschore
e8e5537b6b Bug 939614: IonMonkey: Properly spew recompiling instead of analyzing, r=jandem 2013-12-12 15:14:13 +01:00
Hannes Verschore
7d729eb3a4 Bug 939614: IonMonkey: Enable reschedule same optimizationLevel if osrPc is different, r=jandem 2013-12-12 15:14:13 +01:00
Hannes Verschore
df9827c82b Bug 939614: IonMonkey: Use logic in UsesBeforeCompile to get actual needed usecount, r=jandem 2013-12-12 15:14:13 +01:00
Hannes Verschore
46f9e980a7 Bug 939614: IonMonkey: Rename IonOption to JitOption, r=jandem 2013-12-12 15:14:13 +01:00
Hannes Verschore
73de23e609 Bug 939614: IonMonkey: Split IonOptions in IonOptions and IonOptimizations, r=jandem 2013-12-12 15:14:12 +01:00
Hannes Verschore
7f3b4c2a17 Bug 939614: IonMonkey: Add recompile check, r=jandem 2013-12-12 15:14:12 +01:00
Jon Coppeard
bd120cc016 Bug 948423 - Use relookupOrAdd() to insert into has type representation hash map following possible mutation by GC r=sfink 2013-12-12 11:22:00 +00:00
Jon Coppeard
e309bf40ba Bug 949038 - Fix windows browser build error in jsweakmap.h with generational GC r=terrence 2013-12-12 11:21:59 +00:00
Nick Alexander
42814c41ba Bug 934646 - Part 3: Declare Android resource directories relative to $SRCDIR. r=glandium,gps,mfinkle
--HG--
rename : mobile/android/base/resources/drawable-mdpi/crash_reporter.png => mobile/android/base/crashreporter/res/drawable-mdpi/crash_reporter.png
rename : mobile/android/base/resources/layout/crash_reporter.xml => mobile/android/base/crashreporter/res/layout/crash_reporter.xml
rename : mobile/android/branding/aurora/content/fennec_72x72.png => mobile/android/branding/aurora/res/drawable-hdpi/icon.png
rename : mobile/android/branding/aurora/content/fennec_48x48.png => mobile/android/branding/aurora/res/drawable-mdpi/icon.png
rename : mobile/android/branding/aurora/content/fennec_96x96.png => mobile/android/branding/aurora/res/drawable-xhdpi/icon.png
rename : mobile/android/branding/aurora/content/fennec_144x144.png => mobile/android/branding/aurora/res/drawable-xxhdpi/icon.png
rename : mobile/android/branding/beta/content/fennec_72x72.png => mobile/android/branding/beta/res/drawable-hdpi/icon.png
rename : mobile/android/branding/beta/content/fennec_48x48.png => mobile/android/branding/beta/res/drawable-mdpi/icon.png
rename : mobile/android/branding/beta/content/fennec_96x96.png => mobile/android/branding/beta/res/drawable-xhdpi/icon.png
rename : mobile/android/branding/beta/content/fennec_144x144.png => mobile/android/branding/beta/res/drawable-xxhdpi/icon.png
rename : mobile/android/branding/nightly/content/fennec_72x72.png => mobile/android/branding/nightly/res/drawable-hdpi/icon.png
rename : mobile/android/branding/nightly/content/fennec_48x48.png => mobile/android/branding/nightly/res/drawable-mdpi/icon.png
rename : mobile/android/branding/nightly/content/fennec_96x96.png => mobile/android/branding/nightly/res/drawable-xhdpi/icon.png
rename : mobile/android/branding/nightly/content/fennec_144x144.png => mobile/android/branding/nightly/res/drawable-xxhdpi/icon.png
rename : mobile/android/branding/official/content/fennec_72x72.png => mobile/android/branding/official/res/drawable-hdpi/icon.png
rename : mobile/android/branding/official/content/fennec_48x48.png => mobile/android/branding/official/res/drawable-mdpi/icon.png
rename : mobile/android/branding/official/content/fennec_96x96.png => mobile/android/branding/official/res/drawable-xhdpi/icon.png
rename : mobile/android/branding/official/content/fennec_144x144.png => mobile/android/branding/official/res/drawable-xxhdpi/icon.png
rename : mobile/android/branding/unofficial/content/fennec_72x72.png => mobile/android/branding/unofficial/res/drawable-hdpi/icon.png
rename : mobile/android/branding/unofficial/content/fennec_48x48.png => mobile/android/branding/unofficial/res/drawable-mdpi/icon.png
rename : mobile/android/branding/unofficial/content/fennec_96x96.png => mobile/android/branding/unofficial/res/drawable-xhdpi/icon.png
rename : mobile/android/branding/unofficial/content/fennec_144x144.png => mobile/android/branding/unofficial/res/drawable-xxhdpi/icon.png
extra : rebase_source : f6ec8a38594e70520b10202c735dc019f8c856fd
2013-12-11 21:20:07 -08:00
Gregory Szorc
a021b88964 Bug 939367 - Allow Sphinx docs to come from all over the tree; r=glandium
--HG--
extra : rebase_source : 1c1a444a78c0dfce110db3890e29543eeb67f3aa
2013-11-20 12:37:22 -08:00
Mike Hommey
255ad3e210 Bug 945042 - Move NO_PROFILE_GUIDED_OPTIMIZE to moz.build. r=gps,r=njn 2013-12-09 13:39:26 +09:00
Ryan VanderMeulen
4fefbc7431 Backed out changeset 47b81e1366bc (bug 948553) because it depends on another patch that was backed out.
CLOSED TREE
2013-12-11 22:38:05 -05:00
Gregory Szorc
b8c943758f Bug 948787 - Print diffs during config.status; r=glandium
Build system developers commonly need to see what changes have on the
generated build files. We often put our objdir under version control and
diff commits before and after running config.status.

This patch adds a --diff option to config.status that will print diffs
of changes made during config.status. This functionality is implemented
on top of FileAvoidWrite, using Python's built-in diffing library.

While display of diffs is opt-in, diffs are always being captured when
config.status runs. There could be an unwanted performance regression
from this. Because diffs are only computed if files change and most
files don't change during most config.status runs, this greatly reduces
the surface area of the concern. The area for largest concern is clobber
builds. On my machine, I measured an increase of 0.2 to 0.3s from 2.0s.
While this is 10-15%, the total time is so small that I don't feel
snaking a "capture diff" flag through the build system is worth the
effort. This would make a decent followup bug if this turns out to be a
problem in the future.

I also snuck in a change to reindent all-tests.json because displaying
diffs for this massive 11MB all-in-one-line JSON file results in an
extremely large string being printed to my terminal.

--HG--
extra : rebase_source : c0f7ff69cad282e63a050e67f156dbe96b49a142
2013-12-11 13:06:56 +09:00
Terrence Cole
51307974e1 Bug 948516 - Assert that js::HashTable pointers and enumerators are used correctly; r=luke 2013-12-03 12:51:02 -08:00
Bobby Holley
4cb1f20d1c Bug 937317 - Tests. r=bz 2013-12-11 17:51:59 -08:00
Bobby Holley
c2e3e33a71 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-11 17:51:58 -08:00
Bobby Holley
332db76fde Bug 937317 - Implement and expose GetIncumbentGlobal. r=bz,luke 2013-12-11 17:51:57 -08:00
Ryan VanderMeulen
f076280148 Backed out changeset b93e7a83b308 (bug 932982) for Linux mochitest-bc leaks.
CLOSED TREE
2013-12-11 17:07:48 -05:00
Ryan VanderMeulen
1a13081f93 Merge m-c to inbound. 2013-12-11 13:38:14 -05:00
Ryan VanderMeulen
a5f41a6d54 Merge inbound to m-c. 2013-12-11 13:32:11 -05:00
Ryan VanderMeulen
ba670be0c6 Merge b2g-inbound to m-c. 2013-12-11 13:24:26 -05:00
Brian Hackett
e76e72614e Bug 932982 - Trace type constraints and allow preserving jitcode in GCs without also marking all type information, r=billm,jandem. 2013-12-11 10:12:33 -08:00
Brian Hackett
d7114d0408 Bug 936156 - Use different type objects when 'new' is used on different scripts with the same prototype, r=jandem. 2013-12-11 10:05:03 -08:00
Steve Fink
4ffe5f5231 Bug 948553 - Drop hazard expectation to 8, r=terrence
DONTBUILD because expectations currently aren't working anyway. (Need a mozharness push.)
2013-12-11 09:53:42 -08:00
Jon Coppeard
61020fc146 Bug 945453 - Postbarrier JIT-code writes to arguments objects r=terrence r=djvj 2013-12-11 14:03:24 +00:00
Dan Gohman
753f600245 Bug 944321 - IonMonkey: Disable MToFloat32's computeRange. r=bbouvier 2013-12-10 18:51:35 -08:00
Dan Gohman
8671c3fdaa Bug 941715 - SpiderMonkey: Don't use DebugOnly in struct fields when size is relevant. r=jorendorff 2013-12-10 18:27:13 -08:00
Dan Gohman
bb307c71a2 Bug 678745 - SpiderMonkey: Fix a file decriptor leak in the shell. r=jorendorff 2013-12-10 18:27:12 -08:00
Dan Gohman
81b0bc8976 Bug 948241 - IonMonkey: Use FixedList in MAsmJSCall. r=luke 2013-12-09 19:39:44 -08:00
Dan Gohman
cb5be02490 Bug 948241 - IonMonkey: Convert plain arrays to mozilla::Array r=luke 2013-12-09 19:39:46 -08:00
Brian Hackett
182feb3da6 Bug 948230 - Use accessor methods for JSScript bitfields, r=jandem. 2013-12-10 18:22:28 -08:00
Wes Kocher
7b1ededbc4 Merge m-c to b2g-inbound 2013-12-10 17:14:14 -08:00
Douglas Crosher
b5ee91b55d Bug 948400 - Fix perf-spewer to use the new accessor methods for JSScript uint32/uint16 fields. r=bhackett 2013-12-10 23:31:44 +11:00
Kannan Vijayan
bf5c0eccf4 Bug 945223 - Ensure correct baseline stack when calling out to noSuchMethod, so that decompiler works. r=efaust 2013-12-10 14:53:49 -05:00
Mike Hommey
fdcf80eb82 Bug 947804 - Finish to kill BOTH_MANIFESTS. r=gps 2013-12-09 16:30:06 +09:00
Mike Hommey
86adfade5d Bug 944935 - Cleanup some useless AC_CHECK_FUNCS tests in configure.in. r=gps
- HAVE_RANDOM is not checked at all.
- HAVE_STRERROR is not checked in code built using the defines from the main
  configure.
- HAVE_LCHOWN is only checked in nsinstall.c, which means the test is also wrong
  since it's checking for the target instead of the host. Also, lchown is only
  used of the -o and -g options of nsinstall, which, as far as I know, we don't
  use (and if we were, that would fail with nsinstall.py, which explicitly rejects
  them).
- HAVE_FCHMOD is only checked in nsinstall.c, so same as above about the
  correctness of the check. If it's not available, nsinstall.c falls back to
  chmod, which is fine enough for our use.
- HAVE_SNPRINTF is not checked.
- HAVE_MEMMOVE is checked in parser/expat/lib/xmlparse.c, but it's also
  unconditionally defined in expat_config.h which is included from that file.
- HAVE_SETBUF is checked in a couple files, but setbuf is C89 and C99, I think
  it's safe to assume all compilers we support are C89 and C99. Interestingly,
  windows does have it, but since we skip this check on windows, we don't use it.
- HAVE_ISATTY, same as HAVE_SETBUF, except it's POSIX instead of C89/C99.
- HAVE_FLOCKFILE is not checked at all.
- HAVE_STRTOK_R is not checked.
- HAVE_FT_SELECT_SIZE is not checked.
- HAVE_DLADDR is not checked under js/src.
- HAVE_GETPAGESIZE is not checked under js/src (it is in libffi, but ffi uses
  its own configure)
- HAVE_LSTAT64, HAVE_STAT64, HAVE_STATVFS, HAVE_STATVFS64, HAVE_TRUNCATE64 are
  not checked under js/src.
- HAVE_SBRK is not checked under js/src. Moreover,
  js/src/assembler/wtf/Platform.h defines it depending on the platform.
- HAVE_SNPRINTF is not checked under js/src.
- HAVE_HYPOT is not checked under js/src.
- HAVE__UNWIND_BACKTRACE is not checked under js/src.
2013-12-11 10:57:53 +09:00
Eric Faust
a9901cbb25 Bug 948716 - Remove unnecessary TestAreKnownDOMTypes(). (r=sstangl) 2013-12-10 16:17:49 -08:00
Sean Stangl
d6c11fe81b Bug 948638 - Always use jsid struct types. r=Waldo 2013-12-10 15:45:41 -08:00
Sean Stangl
829357af13 Bug 948689 - Update TraceLogger to use lineno(). r=efaust 2013-12-10 15:42:49 -08:00
Terrence Cole
e3a8f2bd80 Backout changeset 70e76314c8a7 for build bustage on a CLOSED TREE.
--HG--
extra : rebase_source : 83e1e8a5a4802ef0b7b1d6f7dc0df6595bc9f00f
2013-12-10 15:26:05 -08:00
Terrence Cole
8d3efe596e Bug 948516 - Assert that js::HashTable pointers and enumerators are used correctly; r=luke 2013-12-03 12:51:02 -08:00
Nathan Froyd
d647846100 Bug 946781 - part 5 - measure the proto and iface cache from within xpconnect; r=bholley,njn 2013-12-06 13:08:45 -05:00
Nathan Froyd
98d7e01c12 Bug 946781 - part 3 - prepare for measuring multiple things from XPCWrappedNativeScope; r=bholley,njn 2013-12-06 13:04:12 -05:00
Nathan Froyd
782884a55d Bug 946781 - part 2 - add memory used by mozJSComponentLoader to about:memory; r=bholley,njn 2013-12-05 16:54:30 -05:00
Nathan Froyd
5c216f13b3 Bug 946781 - part 1 - split explicit/jsconnect into its constituent parts; r=bholley,njn 2013-12-10 10:04:06 -05:00
Terrence Cole
9689eb49f2 Bug 946976 - Do not leak the store buffer when re-enabling; r=jonco 2013-12-05 15:15:05 -08:00
Jan de Mooij
e6ab9113bd Bug 946425 - Make phi specialization more accurate when one of the inputs has an empty typeset. r=bhackett 2013-12-10 20:01:49 +01:00
Ryan VanderMeulen
6d9b2558ff Backed out changeset ff6976885129 (bug 942565) for B2G mochitest-4 failures.
--HG--
extra : rebase_source : d5cd87b39ce85b6164a621dd540a023af622aecc
2013-12-10 13:18:52 -05:00
Andrew McCreight
584c2a4991 Bug 943373, part 4 - Use MOZ_THIS_IN_INITIALIZER_LIST in the JS engine. r=Waldo 2013-12-10 09:58:44 -08:00
Brian Hackett
241502e543 Bug 923614 - Remove assert, improve OOM handling in PropertyReadNeedsTypeBarrier, r=jandem. 2013-12-10 08:34:47 -08:00
Andrew McCreight
168f96fd5d Bug 943373, part 1 - Use MOZ_THIS_IN_INITIALIZER_LIST in XPConnect. r=bholley 2013-12-10 08:07:20 -08:00
Andrew McCreight
5170af7644 Bug 946837 - XPCWrappedJS.cpp doesn't need to include nsProxyRelease.h or nsTextFormatter.h. r=bholley 2013-12-10 08:07:20 -08:00
Andrew McCreight
0aeb884580 Bug 947448 - Define and use nsXPCWrappedJS::IsRootWrapper. r=bholley 2013-12-10 08:07:20 -08:00
Douglas Crosher
64bc62ec96 Bug 942565 - IonMonkey (ARM): Fix clampDoubleToUint8 to return 0 for an input of NaN. r=mjrosenb 2013-12-08 17:22:52 +11:00
Martin Stransky
f09c774110 Bug 941595 - Build with system-cairo is broken. r=glandium 2013-12-10 10:37:03 -05:00
Christian Holler
20f77db77a Bug 948023 - Refactor ReconstructStackDepth to handle OOMs. r=jandem
--HG--
extra : rebase_source : 2cec42388b624da590865dcc2f4a166f22f9ab21
2013-12-10 12:27:21 +01:00
Christian Holler
fe511ea21c Bug 948233 - Fix an OOM issue in DoCompareFallback. r=jandem
--HG--
extra : rebase_source : 81ae3f3afc9b4773839a447737ac163f1839de2e
2013-12-10 12:24:06 +01:00
Gabor Krizsanits
eac54db205 Bug 943357 - Name argument of exportFunction should be optional. r=bholley 2013-12-10 09:56:19 +01:00
Jan de Mooij
e426654330 Bug 921470 - Remove hasFallbackStub_ check in resetMonitorStubChain. r=djvj 2013-12-10 09:31:53 +01:00
Phil Ringnalda
e48762eeb9 Back out 712628797f21 (bug 946976) for ggc orange 2013-12-09 22:15:49 -08:00
Tom Schuster
8df7cf946b Bug 697343 - Add slice hook test. r=jandem 2013-12-05 20:07:25 +01:00
Boris Zbarsky
2c468e084a Bug 697343 - Add slice hook to DOM bindings like NodeList. r=peterv,bhackett 2013-12-02 11:32:22 -05:00
Tom Schuster
ac84baff89 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
aa96007c5a Bug 697343 - Remove getElementIfPresent. r=Waldo 2013-12-05 20:07:24 +01:00
Terrence Cole
a0b2c9bba3 Bug 946976 - Do not leak the store buffer when re-enabling; r=jonco
--HG--
extra : rebase_source : b43285c02b7872244d8e63c395cc57c1e550ade3
2013-12-05 15:15:05 -08:00
Phil Ringnalda
ac088b9d1c Back out 8e1d913c4436:c39721a052f3 (bug 948241) for Android build bustage
CLOSED TREE
2013-12-09 20:10:36 -08:00
Nicholas Nethercote
e02408b49d Bug 947798 (part 2) - Remove MemoryMultiReporter, because it's no longer helpful. r=mccr8.
--HG--
extra : rebase_source : f6f74de69d8c1d79d38b84b19dff5439efc41075
2013-12-07 21:39:47 -08:00
Nicholas Nethercote
67495eb7f8 Bug 947798 (part 1) - Rename NS_MEMORY_REPORTER_MALLOC_SIZEOF_FUN as MOZ_DEFINE_MALLOC_SIZE_OF. r=mccr8.
--HG--
extra : rebase_source : ec09d4c31264c15befb020375bf001a1ad1df6b8
2013-12-07 21:38:32 -08:00
Dan Gohman
11031ba9ea Bug 948241 - IonMonkey: Convert plain arrays to mozilla::Array r=luke 2013-12-09 19:39:46 -08:00
Dan Gohman
30e57702ae Bug 948241 - IonMonkey: Use FixedList in MAsmJSCall. r=luke 2013-12-09 19:39:44 -08:00
Luke Wagner
7cb6b32776 Bug 948183 - OdinMonkey: don't notifyAll when starting an AsmJSParallelTask (r=sstangl)
--HG--
extra : rebase_source : ac681cb509a49b6ff84c184e4589d4e5bd4e3760
2013-12-09 17:44:22 -06:00
Christian Holler
4aaa5ef442 Bug 948188 - Handle OOM in NewPropertyIteratorObject. r=njn
--HG--
extra : rebase_source : e94bc601b37a483904dab9cac5f824920b25abd0
2013-12-10 01:27:54 +01:00
Christian Holler
0f6c09f0b2 Bug 948171 - ASan: Define LLVM_SYMBOLIZER in js/src/configure.in. r=ted
--HG--
extra : rebase_source : 9e178060c58f3810edefe42db48585d750772d34
2013-12-10 01:27:44 +01:00
Luke Wagner
a02d02186b Bug 941830 - Extend asm.js compiled code caching to Workers (r=bent)
--HG--
extra : rebase_source : 4fed947b2fa76e26054d8293cec31433ceb61c8d
2013-12-03 13:31:30 -06:00
Ben Turner
0cffbe0bf4 Bug 939182 - Add 'eventWasProcessed' argument to nsIThreadObserver::afterProcessNextEvent(), r=bsmedberg.
--HG--
extra : transplant_source : %5E%80p%D6%C6A%23%0AZ%06%23%16%155%DB%CE%F5%5CEx
2013-10-23 05:01:20 -07:00
Jeff Walden
e5a33688ed Check for an empty string before dereferencing the first character of the string. No bug, rs=till
--HG--
extra : rebase_source : e4b408f772aa2460db920871086faa37c04356bb
2013-12-09 15:07:31 -08:00
Ryan VanderMeulen
5bad48704a Merge m-c to inbound. 2013-12-09 17:43:44 -05:00
Ryan VanderMeulen
6428c27a28 Merge b2g-inbound to m-c. 2013-12-09 17:26:11 -05:00
Ryan VanderMeulen
ff4c37cb6c Merge inbound to m-c. 2013-12-09 16:45:25 -05:00
Alex Keybl
aca3b4f5cf Merging in version bump NO BUG 2013-12-09 13:38:06 -05:00
Christian Holler
370a2a1082 Bug 938144 - Handle OOM in jit::SplitCriticalEdges. r=jandem
--HG--
extra : rebase_source : 0ea568be9d54dd072deaa5f02e1185f51007a81b
2013-12-09 19:28:18 +01:00
Jan de Mooij
4a5aff0ee9 Bug 947683 - Fix --disable-threadsafe shell builds on OS X. r=luke 2013-12-09 18:56:24 +01:00
Christian Holler
2eaedeac4d Bug 947958 - Use masm.propagateOOM to handle OOM in CodeGenerator. r=bhackett
--HG--
extra : rebase_source : 9f3d339b6e15777cff52465f846eaf55f90e8ed7
2013-12-09 17:29:06 +01:00
Christian Holler
5ffa956f18 Bug 947902 - Make dumpHeapComplete ignore file args with --fuzzing-safe. r=billm
--HG--
extra : rebase_source : b9c2d6441b095cb92586a24d4471174c65173195
2013-12-09 19:27:51 +01:00
Ryan VanderMeulen
232e97a51e Backed out changesets fabe232e8be9 and c84b0156ae03 (bug 793860) for Linux mochitest-2 timeouts. 2013-12-09 16:40:03 -05:00
Brian Hackett
4703d860eb Bug 946939 - Disable test that is intermittently failing under GGC. 2013-12-09 13:32:50 -08:00
Dan Gohman
863bf7540d Bug 943442 - IonMonkey: Step the instruction id by 1 instead of 2, to facilitate using it as a table index. r=dvander 2013-12-09 13:12:25 -08:00
Dan Gohman
cf2c763525 Bug 943442 - IonMonkey: Compare instructions by pointer rather than by id(), since it's equivalent. r=dvander 2013-12-09 13:12:25 -08:00
Dan Gohman
5a352e5122 Bug 935834 - IonMonkey: Fix a memory leak and revive an offset calculation. r=bhackett 2013-12-09 13:12:25 -08:00
Carsten "Tomcat" Book
45f6bd17d4 Backed out changeset 85196889c598 (bug 945042) PGO Test Bustage 2013-12-09 13:00:59 +01:00
Carsten "Tomcat" Book
2810be48a5 merge mozilla-inbound to mozilla-central 2013-12-09 09:02:29 +01:00
Mike Hommey
43fe8673a0 Bug 945042 - Move NO_PROFILE_GUIDED_OPTIMIZE to moz.build. r=gps,r=njn 2013-12-09 13:39:26 +09:00
Sean Stangl
59cdede15c Bug 939505 - Use JS_DEBUG in public headers. r=jorendorff 2013-12-06 15:03:08 -08:00
Jason Orendorff
f473d0e909 Bug 793860, part 2 - Remove JSOP_ENUMELEM. r=luke. 2013-12-09 14:12:39 -06:00
Jason Orendorff
445b83c0a9 Bug 793860, part 1 - Simplify the bytecode emitted for certain kinds of array destructuring assignment. Remove JSOP_ENUMCONSTELEM which is then no longer used (and JSOP_GETFUNNS which has not been used for some time). r=luke. 2013-12-09 14:12:36 -06:00
Jason Orendorff
a15a499cf9 Bug 942379 - js shell: Fix a crash due to poor argument checking in shell-only resolver() builtin. r=Waldo. 2013-12-09 14:10:51 -06:00
Jason Orendorff
c7e49960c8 Bug 943130 - js shell 'environment' builtin: Don't assume jsids are strings. r=Waldo. 2013-12-09 14:10:50 -06:00
Brian Hackett
c8facf85c7 Bug 947963 - Invalidate compilation after OOM in CodeGenerator::link, r=jandem. 2013-12-09 11:59:20 -08:00
Brian Hackett
eaf7b22f04 Bug 947782 - Use accessor methods for JSScript uint32/uint16 fields, r=jandem. 2013-12-09 11:26:09 -08:00
Brian Hackett
182e568f59 Bug 940635 - Don't allow Int32 conversions of both LHS and RHS in comparisons when their types are not actually known, r=shu. 2013-12-07 18:18:16 -08:00
Douglas Crosher
a4a289b71d Bug 946969 - Ionmonkey (ARM): correct AbsI, integer absolute value, r=mjrosenb 2013-12-08 10:30:42 +11:00
Douglas Crosher
5a07d0e57e Bug 861785 - Odinmonkey ARM: use the hard-float ABI for inter-asm.js function calls irrespective of the system ABI. r=luke 2013-12-06 23:00:31 +11:00
Birunthan Mohanathas
58325c73be Bug 713082 - Part 2: Rename Util.h to ArrayUtils.h. r=Waldo
--HG--
rename : mfbt/Util.h => mfbt/ArrayUtils.h
2013-12-08 21:52:54 -05:00
Birunthan Mohanathas
bd0f161288 Bug 713082 - Part 1: Remove unnecessary Util.h includes. r=Waldo 2013-12-08 21:52:33 -05:00
Brian Hackett
65ff8b089a Bug 947661 - Fix offset test used to find the block chain for a pc. 2013-12-08 16:44:54 -08:00
Jim Blandy
54fc636cc1 Bug 942480: Don't js_delete a freshly allocated js::Debugger, if we've stored it in the Debugger JSObject's private slot. r=shu 2013-12-08 15:53:28 -08:00
Shu-yu Guo
1f0f6f98fc Bug 942480 - Fix OOM handling in Debugger construction. r=jimb 2013-12-02 20:43:56 -08:00
Luke Wagner
79dc058e8b Bug 942276 - Improve test_asmjs2.html once caching is deterministic (r=me)
--HG--
extra : rebase_source : 36d1b607bda300f455d4086fe1bd8c7ca3834e77
2013-11-29 14:58:56 -06:00
Brian Hackett
f8f1321751 Bug 944080 - Fix =/== confusion. 2013-12-09 07:36:13 -08:00
Boris Zbarsky
bbaaf14ca8 Bug 946564 part 1. Allow installing chromeonly webidl quickstubs too. r=peterv 2013-12-09 10:34:04 -05:00
Boris Zbarsky
849cdbd771 Bug 946067 part 2. Generate Window's access checks in XPConnect based on WebIDL access annotations. r=bholley,peterv 2013-12-09 10:34:03 -05:00
Boris Zbarsky
de7385822b Bug 946289. Make GetNativeForGlobal work for WebIDL globals. r=peterv 2013-12-09 10:34:03 -05:00
Kannan Vijayan
42761a7057 Bug 834678 - Ensure correct update of lastPC_ for MInstructions which add OOL code. r=jandem 2013-12-09 10:28:58 -05:00
Dan Gohman
9fe7d6389b Bug 943303 - IonMonkey: Convert floating-point comparisons to integer using range analysis. r=nbp 2013-12-09 07:11:12 -08:00
Hannes Verschore
209e679b9b Bug 947875 - Tracelogger: Fix builds after HashMap changes, r=bhackett 2013-12-09 16:08:41 +01:00
Nicolas B. Pierron
12f9ff1835 Bug 943303 - Improve computed range of MPhi by populating with unreachable flags. r=sunfish 2013-12-09 05:56:19 -08:00
Nicolas B. Pierron
b828b80abb Bug 943303 - Annotate and modify conditions leading to dead branches. r=sunfish 2013-12-09 05:56:19 -08:00
Hannes Verschore
4861a013ac Bug 946243 - IonMonkey: Don't remove MComputeThis during EliminateDeadResumePointOperands, r=jandem 2013-12-09 13:43:55 +01:00
Hannes Verschore
8b34eeb9da Bug 947765 - Style nits in IonMacroAssembler, r=jandem 2013-12-09 13:43:49 +01:00
Christian Holler
6f6324f340 Bug 947233 - Handle OOM in js::frontend::NameResolver. r=jimb
--HG--
extra : rebase_source : 83d440944fb731e0663c81e148053787b877a2c1
2013-12-09 13:32:55 +01:00
masaya iseki
d33c0a0106 Bug 848510 - Add Baseline double stub for BITNOT. r=jandem 2013-12-09 12:53:06 +01:00
Phil Ringnalda
acb7391a6b Merge m-c to m-i 2013-12-07 11:21:52 -08:00
Phil Ringnalda
d1ba8751f2 Back out 35371620801a:bf2019278b77 (bug 937317) for gaia-ui-test bustage and frequent timeouts in its own test 2013-12-07 11:08:56 -08:00
Brian Hackett
54418a4d75 Bug 944930 - Remove block index from aliasedvar ops, use a binary search to find the block chain for a given pc, r=luke. 2013-12-07 11:03:07 -08:00
Jan de Mooij
c60f822ab3 Bug 947235 - Rewrite ternary to if-else to workaround a GGC quirk. r=me 2013-12-07 19:16:51 +01:00
Hannes Verschore
e43b3d1416 Bug 947603: IonMonkey: Mark scripts uninlineable in Baseline, r=jandem 2013-12-07 16:23:30 +01:00
Hannes Verschore
129739f998 Bug 947603: IonMonkey: Enable compiling, while an IonScript is already present, r=jandem 2013-12-07 16:23:11 +01:00
Hannes Verschore
506e00c478 Bug 947603: IonMonkey: Rename assertGraphCoherency to checkGraphCoherency, r=jandem 2013-12-07 16:23:07 +01:00
Hannes Verschore
f9c2fe8137 Bug 944278 - OdinMonkey: Fix stack alignment, r=luke 2013-12-07 15:45:06 +01:00
Hannes Verschore
34360b4b60 Bug 947188 - Add MOZ_ASSUME_UNREACHABLE for use in jit generated code, r=djvj 2013-12-07 15:44:59 +01:00
Jon Coppeard
8f8d210a4e 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
d66310a970 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
9f5c79aff9 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
02232ed529 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
5fb8a9df83 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
b0007dbfe1 Bug 922115 - Unsized array support in Typed Objects r=sfink 2013-09-30 10:19:09 -04:00
Steve Fink
356afc5da3 Bug 947400 - Comment fixup, DONTBUILD 2013-12-06 17:11:03 -08:00
Steve Fink
62b51bec36 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
143fb656fd Bug 943924 - Use default stack size for JS worker threads on Windows, r=billm. 2013-12-06 16:22:20 -08:00
Mike Hommey
e4999fcf01 Bug 947083 - Kill elf-dynstr-gc. r=ted 2013-12-07 07:47:27 +09:00
Brian Hackett
75fd49011e 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
fbf98b4969 Bug 942027 - Ionmonkey ARM: Add float32 support to callWithABIPost. r=mjrosenb 2013-12-06 16:26:35 -05:00
Jeff Walden
db0cfffe65 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
2f39b89183 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
adfd0f65df 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
18b77ec498 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
998a44edfd Bug 937317 - Tests. r=bz 2013-12-06 12:01:43 -08:00
Bobby Holley
9fc70d3f91 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
1a8a1b2498 Bug 937317 - Implement and expose GetIncumbentGlobal. r=bz,luke 2013-12-06 12:01:42 -08:00
Luke Wagner
ea95f526af 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
c31b02b4f3 Bug 937540 part 10 - Use placement new syntax for PendingMove. r=luke 2013-12-06 19:31:57 +01:00
Andy Wingo
220715e3ba Bug 927782 - Part 12: Remove blockChain from StackFrame. r=luke 2013-11-26 12:17:08 +01:00
Andy Wingo
d57dc9047e Bug 927782 - Part 11: Optimize block scopes without aliased locals. r=luke 2013-11-26 12:07:02 +01:00
Andy Wingo
6ecc0822be 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
dfa5d72362 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
c8506528c9 Bug 927782 - Part 8: Record block scope ranges more precisely. r=luke 2013-12-06 18:27:55 +01:00
Andy Wingo
e9c00f1200 Bug 927782 - Part 7: Refactor entering and leaving block scopes in BytecodeEmitter. r=luke 2013-12-06 18:25:55 +01:00
Andy Wingo
eb2b59545e 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
16bd9707de Bug 927782 - Part 5: Clean up bytecode generation for catch clauses. r=jorendorff 2013-11-26 10:11:06 +01:00
Andy Wingo
6e8f008646 Bug 927782 - Part 4: Generators allocate all locals on the scope chain. r=luke 2013-12-06 18:22:06 +01:00
Andy Wingo
c35ea5e42a Bug 927782 - Part 3: Add DEBUGLEAVEBLOCK opcode to invalidate live DebugScopes. r=luke 2013-11-25 12:19:58 +01:00
Andy Wingo
e88bad674b Bug 927782 - Part 2: Remove HAS_BLOCKCHAIN. r=luke 2013-11-25 12:19:38 +01:00
Andy Wingo
cb8fbc7449 Bug 927782 - Part 1: Expose JSScript::getBlockScope(jsbytecode *). r=luke 2013-12-06 17:56:20 +01:00
Christian Holler
6d64bff328 Bug 937083 - Make js::CharsToNumber propagate OOM. r=shu
--HG--
extra : rebase_source : 97816edbce569e85c7411184ab808e6429f33f94
2013-12-06 18:39:42 +01:00
Ehsan Akhgari
4a5f571594 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
98fad76463 Backed out changeset 099f65a712a8 (bug 915735) Windows Build Bustage on a CLOSED TREE 2013-12-06 14:48:13 +01:00