Commit Graph

30943 Commits

Author SHA1 Message Date
Benjamin Bouvier
b92066e3e9 Bug 904918: Odin Float32 support: tests; r=luke 2013-12-12 20:23:35 +01:00
Benjamin Bouvier
dd95a2a359 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
009e5af904 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
2cedf78bb2 Backed out changeset a29d7f5ddde6 (bug 932982) for ggc asserts. 2013-12-12 13:56:32 -05:00
Hannes Verschore
5c015167b3 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
30cc121c23 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
4698dd3a0c 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
25972646a7 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
d71dc948df Bug 939614: IonMonkey: Properly spew recompiling instead of analyzing, r=jandem 2013-12-12 15:14:13 +01:00
Hannes Verschore
749d2cae6d Bug 939614: IonMonkey: Enable reschedule same optimizationLevel if osrPc is different, r=jandem 2013-12-12 15:14:13 +01:00
Hannes Verschore
d3c01ecc33 Bug 939614: IonMonkey: Use logic in UsesBeforeCompile to get actual needed usecount, r=jandem 2013-12-12 15:14:13 +01:00
Hannes Verschore
628c36cc7c Bug 939614: IonMonkey: Rename IonOption to JitOption, r=jandem 2013-12-12 15:14:13 +01:00
Hannes Verschore
6952a4ad4e Bug 939614: IonMonkey: Split IonOptions in IonOptions and IonOptimizations, r=jandem 2013-12-12 15:14:12 +01:00
Hannes Verschore
a8565bbc84 Bug 939614: IonMonkey: Add recompile check, r=jandem 2013-12-12 15:14:12 +01:00
Jon Coppeard
e3b4276605 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
e5c00eeaf8 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
6fade1ad27 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
e413f97acc 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
3325256d97 Bug 945042 - Move NO_PROFILE_GUIDED_OPTIMIZE to moz.build. r=gps,r=njn 2013-12-09 13:39:26 +09:00
Ryan VanderMeulen
9cdf9f9b45 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
ba2d03eb97 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
2e679fb1a1 Bug 948516 - Assert that js::HashTable pointers and enumerators are used correctly; r=luke 2013-12-03 12:51:02 -08:00
Bobby Holley
cfdc7a64b4 Bug 937317 - Tests. r=bz 2013-12-11 17:51:59 -08:00
Bobby Holley
a7395d2ec6 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
bc61230c38 Bug 937317 - Implement and expose GetIncumbentGlobal. r=bz,luke 2013-12-11 17:51:57 -08:00
Ryan VanderMeulen
cb80ce98fe Backed out changeset b93e7a83b308 (bug 932982) for Linux mochitest-bc leaks.
CLOSED TREE
2013-12-11 17:07:48 -05:00
Ryan VanderMeulen
9a5a3e3614 Merge m-c to inbound. 2013-12-11 13:38:14 -05:00
Ryan VanderMeulen
ec34e0fb19 Merge inbound to m-c. 2013-12-11 13:32:11 -05:00
Ryan VanderMeulen
106d512427 Merge b2g-inbound to m-c. 2013-12-11 13:24:26 -05:00
Brian Hackett
5d9bd2a0fa 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
6a40ed3a56 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
32bcb02241 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
6c75dbea68 Bug 945453 - Postbarrier JIT-code writes to arguments objects r=terrence r=djvj 2013-12-11 14:03:24 +00:00
Dan Gohman
93ad71b2d2 Bug 944321 - IonMonkey: Disable MToFloat32's computeRange. r=bbouvier 2013-12-10 18:51:35 -08:00
Dan Gohman
0c22273d01 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
dd36fc4dd5 Bug 678745 - SpiderMonkey: Fix a file decriptor leak in the shell. r=jorendorff 2013-12-10 18:27:12 -08:00
Dan Gohman
f30efb5cb7 Bug 948241 - IonMonkey: Use FixedList in MAsmJSCall. r=luke 2013-12-09 19:39:44 -08:00
Dan Gohman
f4b14888fe Bug 948241 - IonMonkey: Convert plain arrays to mozilla::Array r=luke 2013-12-09 19:39:46 -08:00
Brian Hackett
5af6307c95 Bug 948230 - Use accessor methods for JSScript bitfields, r=jandem. 2013-12-10 18:22:28 -08:00
Wes Kocher
b7e717b615 Merge m-c to b2g-inbound 2013-12-10 17:14:14 -08:00
Douglas Crosher
71cd72fd1d 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
2342de0db0 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
4fc7d237c6 Bug 947804 - Finish to kill BOTH_MANIFESTS. r=gps 2013-12-09 16:30:06 +09:00
Mike Hommey
1e593d53d5 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
b881546cc1 Bug 948716 - Remove unnecessary TestAreKnownDOMTypes(). (r=sstangl) 2013-12-10 16:17:49 -08:00
Sean Stangl
e73d5179bd Bug 948638 - Always use jsid struct types. r=Waldo 2013-12-10 15:45:41 -08:00
Sean Stangl
6b33f60283 Bug 948689 - Update TraceLogger to use lineno(). r=efaust 2013-12-10 15:42:49 -08:00
Terrence Cole
7f6fe020bb 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
1ba90fd085 Bug 948516 - Assert that js::HashTable pointers and enumerators are used correctly; r=luke 2013-12-03 12:51:02 -08:00
Nathan Froyd
07e29b05c3 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
d222605992 Bug 946781 - part 3 - prepare for measuring multiple things from XPCWrappedNativeScope; r=bholley,njn 2013-12-06 13:04:12 -05:00
Nathan Froyd
a6090ebf41 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
c2c75e8f89 Bug 946781 - part 1 - split explicit/jsconnect into its constituent parts; r=bholley,njn 2013-12-10 10:04:06 -05:00
Terrence Cole
1332ac9dcf Bug 946976 - Do not leak the store buffer when re-enabling; r=jonco 2013-12-05 15:15:05 -08:00
Jan de Mooij
42733206c3 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
49897d0a80 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
6e00c79ea8 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
0fbbd74746 Bug 923614 - Remove assert, improve OOM handling in PropertyReadNeedsTypeBarrier, r=jandem. 2013-12-10 08:34:47 -08:00
Andrew McCreight
5a519d7b99 Bug 943373, part 1 - Use MOZ_THIS_IN_INITIALIZER_LIST in XPConnect. r=bholley 2013-12-10 08:07:20 -08:00
Andrew McCreight
071cbebf8a 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
97392b279a Bug 947448 - Define and use nsXPCWrappedJS::IsRootWrapper. r=bholley 2013-12-10 08:07:20 -08:00
Douglas Crosher
dec962ef4a 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
2b7ca13346 Bug 941595 - Build with system-cairo is broken. r=glandium 2013-12-10 10:37:03 -05:00
Christian Holler
e4bac88046 Bug 948023 - Refactor ReconstructStackDepth to handle OOMs. r=jandem
--HG--
extra : rebase_source : 2cec42388b624da590865dcc2f4a166f22f9ab21
2013-12-10 12:27:21 +01:00
Christian Holler
d4610cdcff 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
a4dc9c6eea Bug 943357 - Name argument of exportFunction should be optional. r=bholley 2013-12-10 09:56:19 +01:00
Jan de Mooij
90193750e8 Bug 921470 - Remove hasFallbackStub_ check in resetMonitorStubChain. r=djvj 2013-12-10 09:31:53 +01:00
Phil Ringnalda
65a3b14601 Back out 712628797f21 (bug 946976) for ggc orange 2013-12-09 22:15:49 -08:00
Tom Schuster
4b72f849ba Bug 697343 - Add slice hook test. r=jandem 2013-12-05 20:07:25 +01:00
Boris Zbarsky
ea590176b9 Bug 697343 - Add slice hook to DOM bindings like NodeList. r=peterv,bhackett 2013-12-02 11:32:22 -05:00
Tom Schuster
153ffc1fbc 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
f24c8c5b90 Bug 697343 - Remove getElementIfPresent. r=Waldo 2013-12-05 20:07:24 +01:00
Terrence Cole
021130af12 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
de3c212da7 Back out 8e1d913c4436:c39721a052f3 (bug 948241) for Android build bustage
CLOSED TREE
2013-12-09 20:10:36 -08:00
Nicholas Nethercote
bdfbbf7bcd 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
0b9a804eb0 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
63864a0fdf Bug 948241 - IonMonkey: Convert plain arrays to mozilla::Array r=luke 2013-12-09 19:39:46 -08:00
Dan Gohman
df57ab0cac Bug 948241 - IonMonkey: Use FixedList in MAsmJSCall. r=luke 2013-12-09 19:39:44 -08:00
Luke Wagner
0afe1dbf94 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
c6f17da510 Bug 948188 - Handle OOM in NewPropertyIteratorObject. r=njn
--HG--
extra : rebase_source : e94bc601b37a483904dab9cac5f824920b25abd0
2013-12-10 01:27:54 +01:00
Christian Holler
32a51b8c3e 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
9a1e82e4f9 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
5e46d041d5 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
71e5708f15 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
72c57be9ea Merge m-c to inbound. 2013-12-09 17:43:44 -05:00
Ryan VanderMeulen
ca386608b9 Merge b2g-inbound to m-c. 2013-12-09 17:26:11 -05:00
Ryan VanderMeulen
3083eba130 Merge inbound to m-c. 2013-12-09 16:45:25 -05:00
Alex Keybl
b260957292 Merging in version bump NO BUG 2013-12-09 13:38:06 -05:00
Christian Holler
ad413f4eb3 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
79ca20b5d1 Bug 947683 - Fix --disable-threadsafe shell builds on OS X. r=luke 2013-12-09 18:56:24 +01:00
Christian Holler
0f196a3032 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
f26bacb2e1 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
6a9240e026 Backed out changesets fabe232e8be9 and c84b0156ae03 (bug 793860) for Linux mochitest-2 timeouts. 2013-12-09 16:40:03 -05:00
Brian Hackett
a34ee4edbc Bug 946939 - Disable test that is intermittently failing under GGC. 2013-12-09 13:32:50 -08:00
Dan Gohman
e6eb490d48 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
87e00e0c35 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
52f969a7bb 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
d1456b8d0e Backed out changeset 85196889c598 (bug 945042) PGO Test Bustage 2013-12-09 13:00:59 +01:00
Carsten "Tomcat" Book
488d65b1a9 merge mozilla-inbound to mozilla-central 2013-12-09 09:02:29 +01:00
Mike Hommey
eaa22cd1f1 Bug 945042 - Move NO_PROFILE_GUIDED_OPTIMIZE to moz.build. r=gps,r=njn 2013-12-09 13:39:26 +09:00
Sean Stangl
c8c6d69eb0 Bug 939505 - Use JS_DEBUG in public headers. r=jorendorff 2013-12-06 15:03:08 -08:00
Jason Orendorff
ca1b881b6b Bug 793860, part 2 - Remove JSOP_ENUMELEM. r=luke. 2013-12-09 14:12:39 -06:00
Jason Orendorff
8bcc0d90df 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
1c02e7b836 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
38de50285e Bug 943130 - js shell 'environment' builtin: Don't assume jsids are strings. r=Waldo. 2013-12-09 14:10:50 -06:00
Brian Hackett
227296e8c6 Bug 947963 - Invalidate compilation after OOM in CodeGenerator::link, r=jandem. 2013-12-09 11:59:20 -08:00
Brian Hackett
e9de0bd6a8 Bug 947782 - Use accessor methods for JSScript uint32/uint16 fields, r=jandem. 2013-12-09 11:26:09 -08:00
Brian Hackett
0b4ca80e39 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
fe1f48616a Bug 946969 - Ionmonkey (ARM): correct AbsI, integer absolute value, r=mjrosenb 2013-12-08 10:30:42 +11:00
Douglas Crosher
b192b55c0a 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
759ab69b0a 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
2a97f4dc0d Bug 713082 - Part 1: Remove unnecessary Util.h includes. r=Waldo 2013-12-08 21:52:33 -05:00
Brian Hackett
d9c1235f0a Bug 947661 - Fix offset test used to find the block chain for a pc. 2013-12-08 16:44:54 -08:00
Jim Blandy
8a825633a5 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
19850f7261 Bug 942480 - Fix OOM handling in Debugger construction. r=jimb 2013-12-02 20:43:56 -08:00
Luke Wagner
c4f69baa02 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
1c0a210012 Bug 944080 - Fix =/== confusion. 2013-12-09 07:36:13 -08:00
Boris Zbarsky
8cab6acb40 Bug 946564 part 1. Allow installing chromeonly webidl quickstubs too. r=peterv 2013-12-09 10:34:04 -05:00
Boris Zbarsky
cf5a96ff48 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
204625e3b7 Bug 946289. Make GetNativeForGlobal work for WebIDL globals. r=peterv 2013-12-09 10:34:03 -05:00
Kannan Vijayan
73515ed307 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
ed772b9951 Bug 943303 - IonMonkey: Convert floating-point comparisons to integer using range analysis. r=nbp 2013-12-09 07:11:12 -08:00
Hannes Verschore
0402cd192c Bug 947875 - Tracelogger: Fix builds after HashMap changes, r=bhackett 2013-12-09 16:08:41 +01:00
Nicolas B. Pierron
deab550eea 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
124937ac0a Bug 943303 - Annotate and modify conditions leading to dead branches. r=sunfish 2013-12-09 05:56:19 -08:00
Hannes Verschore
cd06db80c4 Bug 946243 - IonMonkey: Don't remove MComputeThis during EliminateDeadResumePointOperands, r=jandem 2013-12-09 13:43:55 +01:00
Hannes Verschore
3a8d4b68bc Bug 947765 - Style nits in IonMacroAssembler, r=jandem 2013-12-09 13:43:49 +01:00
Christian Holler
d42fd64a35 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
5ff058083d Bug 848510 - Add Baseline double stub for BITNOT. r=jandem 2013-12-09 12:53:06 +01:00
Phil Ringnalda
f251c5eb20 Merge m-c to m-i 2013-12-07 11:21:52 -08:00
Phil Ringnalda
e2e1627d17 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
a6f7837c2c 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
bda12c0d14 Bug 947235 - Rewrite ternary to if-else to workaround a GGC quirk. r=me 2013-12-07 19:16:51 +01:00
Hannes Verschore
fe0628d4dc Bug 947603: IonMonkey: Mark scripts uninlineable in Baseline, r=jandem 2013-12-07 16:23:30 +01:00
Hannes Verschore
193b98f571 Bug 947603: IonMonkey: Enable compiling, while an IonScript is already present, r=jandem 2013-12-07 16:23:11 +01:00
Hannes Verschore
72beeda74d Bug 947603: IonMonkey: Rename assertGraphCoherency to checkGraphCoherency, r=jandem 2013-12-07 16:23:07 +01:00
Hannes Verschore
f279594d37 Bug 944278 - OdinMonkey: Fix stack alignment, r=luke 2013-12-07 15:45:06 +01:00
Hannes Verschore
8c9014b01a Bug 947188 - Add MOZ_ASSUME_UNREACHABLE for use in jit generated code, r=djvj 2013-12-07 15:44:59 +01:00
Jon Coppeard
cacaec6884 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
21ce805be7 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
dc528200e2 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
e126da2e0d 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
c1149842d6 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
df57e8093b Bug 922115 - Unsized array support in Typed Objects r=sfink 2013-09-30 10:19:09 -04:00
Steve Fink
cd495443a9 Bug 947400 - Comment fixup, DONTBUILD 2013-12-06 17:11:03 -08:00
Steve Fink
e18b4757e1 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
246b860876 Bug 943924 - Use default stack size for JS worker threads on Windows, r=billm. 2013-12-06 16:22:20 -08:00
Mike Hommey
e6e9868d2e Bug 947083 - Kill elf-dynstr-gc. r=ted 2013-12-07 07:47:27 +09:00
Brian Hackett
a675fd7f26 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
ea0c327a23 Bug 942027 - Ionmonkey ARM: Add float32 support to callWithABIPost. r=mjrosenb 2013-12-06 16:26:35 -05:00
Jeff Walden
7200d3fc91 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
6e6ec86b96 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
1dfe0d31a7 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
c60e2ccac4 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
e57ccfca4b Bug 937317 - Tests. r=bz 2013-12-06 12:01:43 -08:00
Bobby Holley
4d56f0a83d 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
7a53c5e9e6 Bug 937317 - Implement and expose GetIncumbentGlobal. r=bz,luke 2013-12-06 12:01:42 -08:00
Luke Wagner
5f3d5d4e14 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
48232f7a22 Bug 937540 part 10 - Use placement new syntax for PendingMove. r=luke 2013-12-06 19:31:57 +01:00
Andy Wingo
1ab4798307 Bug 927782 - Part 12: Remove blockChain from StackFrame. r=luke 2013-11-26 12:17:08 +01:00
Andy Wingo
5d270093c7 Bug 927782 - Part 11: Optimize block scopes without aliased locals. r=luke 2013-11-26 12:07:02 +01:00
Andy Wingo
457223d858 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
50f4f9bbdd 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
fa62971bc8 Bug 927782 - Part 8: Record block scope ranges more precisely. r=luke 2013-12-06 18:27:55 +01:00
Andy Wingo
d552c075fd Bug 927782 - Part 7: Refactor entering and leaving block scopes in BytecodeEmitter. r=luke 2013-12-06 18:25:55 +01:00
Andy Wingo
a0be8b3d61 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
0f5882d465 Bug 927782 - Part 5: Clean up bytecode generation for catch clauses. r=jorendorff 2013-11-26 10:11:06 +01:00
Andy Wingo
4cf370629c Bug 927782 - Part 4: Generators allocate all locals on the scope chain. r=luke 2013-12-06 18:22:06 +01:00
Andy Wingo
1ff8c90e25 Bug 927782 - Part 3: Add DEBUGLEAVEBLOCK opcode to invalidate live DebugScopes. r=luke 2013-11-25 12:19:58 +01:00
Andy Wingo
31188071fe Bug 927782 - Part 2: Remove HAS_BLOCKCHAIN. r=luke 2013-11-25 12:19:38 +01:00
Andy Wingo
899e16e608 Bug 927782 - Part 1: Expose JSScript::getBlockScope(jsbytecode *). r=luke 2013-12-06 17:56:20 +01:00
Christian Holler
be290c82dd Bug 937083 - Make js::CharsToNumber propagate OOM. r=shu
--HG--
extra : rebase_source : 97816edbce569e85c7411184ab808e6429f33f94
2013-12-06 18:39:42 +01:00
Ehsan Akhgari
1adec124cd 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
72db98e70d Backed out changeset 099f65a712a8 (bug 915735) Windows Build Bustage on a CLOSED TREE 2013-12-06 14:48:13 +01:00
Ehsan Akhgari
905395bdd0 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
a9748d5e39 Backed out changeset cad77af5f7e6 (bug 937317) WinXP Build Bustage on a CLOSED TREE 2013-12-06 08:42:20 +01:00
Carsten "Tomcat" Book
f0d2b953c5 Backed out changeset 374e44c835a8 (bug 937317) WinXP Build Bustage on a CLOSED TREE 2013-12-06 08:41:42 +01:00
Carsten "Tomcat" Book
5493003a84 Backed out changeset c84430c040dd (bug 937317) WinXP Build Bustage on a CLOSED TREE 2013-12-06 08:41:18 +01:00
Carsten "Tomcat" Book
98f8ce0778 Merge m-c to mozilla-inbound 2013-12-06 07:38:31 +01:00
Bobby Holley
3fbf0dd19c Bug 937317 - Tests. r=bz 2013-12-05 21:34:18 -08:00
Bobby Holley
c8308277c1 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
384fd2eb13 Bug 937317 - Implement and expose GetIncumbentGlobal. r=bz,luke 2013-12-05 21:34:16 -08:00
Shu-yu Guo
e7fa785aa1 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
b8c8461609 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
1f32d35f8d Bug 942549 - Fix direct eval on non-strings in Ion. (r=jandem) 2013-12-05 15:51:56 -08:00
Shu-yu Guo
9db256f637 Bug 940088 - Fix assumption that Ion stays enabled across warmup in ForkJoin. (r=nmatsakis) 2013-12-05 15:51:55 -08:00
Ehsan Akhgari
7667458dc3 Bug 946702 - Remove the remnants of GTEST_SOURCES from config.mk; r=glandium 2013-12-05 18:49:19 -05:00
Mike Hommey
bc81a22316 Bug 944569 - Relax GNU make requirements on Windows. r=gps 2013-12-06 08:45:29 +09:00
Ryan VanderMeulen
33d0976fb1 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
c4a965e7ed Bug 937540 part 9 - Use placement new for LIR instructions, OOL code. r=luke 2013-12-05 22:04:27 +01:00
Dan Gohman
89e22a7a6c 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
750df56a20 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
9408fb64eb 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
94d19c46f2 Bug 875013 - Remove VPATH; r=glandium 2013-11-21 14:57:06 -05:00
Jan de Mooij
dcc12a476f 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
7a90492651 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
af5cba125a 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
906c6a78dd 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
a6181000b9 Bug 945826 - Trap overrides and comments. r=jorendorff 2013-12-05 12:58:20 -08:00
Tom Schuster
f6d59f8849 Bug 697343 - Add slice hook test. r=jandem 2013-12-05 20:07:25 +01:00