Squashed 'deps/v8/' changes from 0462788..e4e4d10

e4e4d10 Version 3.30.2 (based on bleeding_edge revision r24373)
ec9f9bf Version 3.30.1 (based on bleeding_edge revision r24337)
f8d2b37 Version 3.29.93.1 (merged r24284)
cb1838b Whitespace change for tag testing.
3d1a16e Whitespace change for tag testing.
1f0b334 Version 3.29.93 (based on bleeding_edge revision r24283)
e878a8c Version 3.29.92 (based on bleeding_edge revision r24256)
42a92fb Version 3.29.91.1 (merged r24240)
a2a2e88 Whitespace change for testing new git workflow.
37ef82d Version 3.29.91 (based on bleeding_edge revision r24232)
4d9fbd7 Version 3.29.88.1 (merged r24221)
3b07cca Version 3.29.88 (based on bleeding_edge revision r24177)
c15262b Version 3.29.87 (based on bleeding_edge revision r24156)
2e283fb Version 3.29.84 (based on bleeding_edge revision r24096)
dc5e6bc Version 3.29.83 (based on bleeding_edge revision r24139)
9c04d56 Version 3.29.82 (based on bleeding_edge revision r24129)
1b46e96 Version 3.29.70.1 (merged r24071)
5f78b49 Reset trunk to 3.29.70
685b394 Version 3.29.81 (based on bleeding_edge revision r24099)
4fc719f Version 3.29.78 (based on bleeding_edge revision r24051)
802bc81 Version 3.29.75 (based on bleeding_edge revision r24018)
692e884 Version 3.29.74 (based on bleeding_edge revision r24014)

git-subtree-dir: deps/v8
git-subtree-split: e4e4d10acd9dd7afe037d738b22de3f3613f3d7e
Merge commit '961ccc67fc7ee5f48d73b719c3e5453888e95752'

* commit '961ccc67fc7ee5f48d73b719c3e5453888e95752':
  Squashed 'deps/v8/' changes from 0462788..e4e4d10

Conflicts:
	deps/v8/src/flag-definitions.h
	deps/v8/src/heap/sweeper-thread.cc
	deps/v8/src/mksnapshot.cc
Squashed 'deps/libcxx/' changes from 52a708f..8758796

8758796 Mark module atomic as cplusplus11.
300da4f [libcxx] Fix installation of ABI headers. Fixes PR20936
d132bf4 Fix some type-traits (is_assignable, etc) dealing with classes that take non-const references as 'right hand side'. Add tests. Fixes PR# 20836
6a5a8ab Support newlib as libc++'s C library [locale part]
5ffb8d0 Fix PR#20843: binomial_distribution<unsigned> is broken. Add test to ensure that signed and unsigned verstions produce the same sequence.
6d9505a Fix char_traits functions for GCC compatibility.
01c6bbd Add include of <cassert> for the operator comma
bb9902e K-ballo pointed out *another* mistype in my change
d402a4d Fix for mismatch to handle evil iterators which overload operator comma
270f8e0 Create a 'comma_iterator' class that overloads operator, and asserts when it's called. Add tests to mismatch to make sure it can't be blindsided by such an evil iterator. More tests for other algorithms forthcoming. Thanks to STL for pointing this out at CppCon and Yakov Galka for opening LWG issue #2133
4413ab0 Fix a bug in the move-assigment operator for basic_stringbuf. Thanks to Johnathan Wakeley for the bug report
86d311c Thanks to K-ballo for noting a second incorrect noexcept clause in tuple - and suggesting a more correct way to write the first
12929a9 Fix a bad noexcept clause in tuple's move constructor
d1fae17 Forgot 'const' on my last checkin
546eca8 Some of the synopsis was left out of these headers, and the copy construction/assignment should have been marked as deleted. Done. No functionality change, because the base class (base_ios) was marked as non-copyable already.
7ba3c57 PR20546: Fix tests for compare_exchange_weak.
baed05d Address some post-commit review comments on r217261
8d86b2e Allow libc++ to be built on systems without POSIX threads
d634a2c Bugfix: allow additional_features to be empty
217bdc1 Set -D_LIBCPP_HAS_NO_THREADS and -D_LIBCPP_HAS_NO_MONOTONIC_CLOCK based on available_features
60a74bd Define ELAST in libcxx's config header on FreeBSD Differential Revision: http://reviews.llvm.org/D5165
26f472d Make the ASAN RAII object a nop when building w/o ASAN
0f4ca8b Detection for _LIBCPP_HAS_NO_MONOTONIC_CLOCK caused several more build breakages
5907f03 Allow libc++ to be built with GCC 5.0 compiler
464da3b test: Make it possible to opt in to use_clang_verify per test
438d2cb Fix buffer overflow issue in valarray test
837cfe5 test: Allow using clang -verify for failures rather than exit 1
fc68548 Fix yet another aspect of the build breakage caused by r216949
cb09395 Fix comment that was obsoleted by r216949
7d7b994 Fix build breakage introduced in r216949
497f912 [asan] Make vector asan annotations exception-friendly
5050833 Silence _LIBCPP_ELAST porting warning on __APPLE__
0991323 Don't #define _LIBCPP_HAS_NO_MONOTONIC_CLOCK on __APPLE__
c578065 Partially address a FIXME in steady_clock::now()
b942093 Newlib names ELAST differently than linux
e33e03e Fix PR#20834 - 'is_trivially_destructible yeilds wrong answer for arrays of unknown bound' Thanks to K-ballo for the bug report. Update a few of the other tests while we're here, and fix a typo in a test name.
b26c966 Mark test types for <atomic> nothrow default constructible. Patch from Steve MacKenzie.
9dc353c Rename arguments in include/cmath to work around Newlib macro implementation using these particular names
116c819 Revert r216497: "[libcxx] Fix ctype_byname<wchar_t>::do_is() mask checking."
32050e1 [libcxx] Fix ctype_byname<wchar_t>::do_is() mask checking.
861f1e9 Replace 'noexcept' with '_NOEXCEPT' in <shared_mutex>. This allows us to build the dylib with MSVC, which doesn't support noexcept (sheesh\!). Thanks to K-ballo for the report.
4de3204 Fix bug 20740 - std::set/std::map don't support heterogeneous lookup for count(). Thanks to Jim Porter for the bug report
a564dc5 Fix assignments that should be comparisons x3
69e7c05 Add return statement to a test class's assignment operator. Defect found by Coverity Scan.
1070916 [libcxx] Add --show-unsupported and --show-xfail to check-libcxx's default LIT args.
ae6e58c Fix handling of format strings to work with python 2.6
2c26213 Refactor lit.cfg.
4f26672 Add self to credits
5015619 Mark some localization time tests as XFAIL on linux.
51642a4 Mark some localization monetary tests as XFAIL on linux.
f523693 Mark localization ctype tests as XFAIL on linux.
682132b fix missing include for ::close in platform_support.h
bc4bcf0 Add extra test case for PR20345. Should have been commited with r215984
63648cf Fix is_member_function_pointer does not account for ellipsis. PR20345. Patch from Agustin Berge.
6f10d47 Give libcxx tests temporary filenames that are actually unique.
6661ad1 Add standard version to lit.cfg's available features
978faa0 Update linux test results
da98ce0 [libcxx] Add UNSUPPORTED tag to lit. It mirrors REQUIRES.
caf1c02 [libcxx] Add list of currently known buildbots to libc++ homepage
781448f Mark cuchar tests as always xfail since we don't provide the header'
25a1516 [libcxx] Add support for LLVM_USE_SANITIZER to libcxx when being built standalone and in-tree
dfe5e72 [libcxx] Update the way the -std= flag is chosen by CMake and LibcxxTestFormat
b4b32a0 Readding FreeBSD support to lit.cfg. Patch from Pawel Worach.
09d8c46 Tame a few enum size tests when using -fshort-enums on ARM.
efefe8b Revert get testsuite running on FreeBSD.
101e2f3 Get testsuite running on FreeBSD.
98c4e40 Revert "Turn off extern templates for most uses."
c808961 Fix incorrect locale requirements in tests
31b9c44 Add bare_allocator archetype that implements the minimal possible allocator interface.
f3b5f0e [libc++] Fix the CMake build on Mac when setting MACOSX_DEPLOYMENT_TARGET=10.6
5b34a5f Change two tests to be less dependant on locales.
f412461 Add return statement to slice_array and mask_array assignment. Closes PR20614.
35d775d Update libc++ docs to include instructions for LIT.
b953610 NFC. Move definition of _LIBCPP_ASSERT into __debug header and remove external include guards.
e48b0c4 fix stdio.h test to reflect removal of ::gets in c++14
6774067 NFC. Remove trailing whitespace and tabs.
e8b4232 Emulate clang atomic built-ins on gcc > 4.7
ddcbcd6 Revert "Add some extra checks to the MoveOnly test class to ensure it is not constructed or assigned from in a moved-from state."
5eb396a Add some extra checks to the MoveOnly test class to ensure it is not constructed or assigned from in a moved-from state.
ae39e4f fix copy and pasted comment in test
2af66e9 Mark math.h and cmath tests as xfail on linux.
095c3dd Apply a similar fix to <forward_list> as I did for <list> in r215210. Again, thanks to Ion Gaztañaga for noticing this problem w.r.t LWG#526
fca038e While reading LWG#526, Ion Gaztañaga noticed that libc++ didn't correctly handle list::remove(const value_type &x), if x was an element of the list. Added a test for this, and a fix. Thanks to Ion for the report.
f2e8c04 Fix re-building in-tree libc++ against in-tree libc++abi Differential Revision: http://reviews.llvm.org/D4805
ea8ed83 dit pointed out on IRC that '__i = _VSTD::next(__i)' was a very long-winded way of writing '++__i'. Since I hate being thought of as long-winded (this checkin comment notwithstanding), I fixed it. No functionality change.
c09c286 Fix typo.
529d303 Fix a problem with reference_wrapper in C++03 that was causing counting predicates to fail. Add a test to make sure it works. However, most of the reference_wrapper tests still fail in C++03 mode, due to a lack of decltype. No change there.
b4ed5ca Add locales to available_features for tests.
f0f1bca Fix PR#202520 - predicate called too many times in list::remove_if. Add tests for list, forward_list, and the std::remove_if algorithm
a1d32fc Obey LLVM_LIBDIR_SUFFIX.
32d4b65 Adding ABI information to linux test results
b127e60 Update information about compiler used during linux tests and reformat run information.
c72b49b Update linux test results file
d3d01ea Change lit.cfg to allow whitespace before comments
3ab4061 Make Android's ctype_base::mask unsigned.
6f8821d [libcxx] Remove use of default function template parameters in type traits. Fixes DR20484
c5eb696 Add test cases for creating atomic types for trivially copyable types.
15269a8 Fix numeric_limits<XXX>::is_modulo for signed arithmetic types. We were reporting true, for all arithmetic types, which is incorrect. Fix the tests which were wrong, too. This fixes PR#20158.
05d116e std::once_flag was forward declared with _LIBCPP_TYPE_VIS decoration, and the defined with _LIBCPP_TYPE_VIS_ONLY decoration. Make them match
1757386 Base regex code on char_class_type.
e515bbd Fix linking with just-built libc++abi (added in r214037).
0d1965d Fix PR#20471. Add a cast in __align_it to ensure that the bit twiddling is done at the correct size. A better solution, IMHO, would be to declare vector<bool>::__bits_per_word as 'size_type', rather than 'unsigned', but that's a possible ABI change.
0c6d1a8 Better defaults for in-tree libc++ with cmake.
3ee7233 [libcxx] expose experimental::erased_type for all standard versions.
9020c08 D4451: Fix copy/move issues casude by __tuple_leafs's converting constructor
08b8506 test commit
2a52a32 Fix ctype_base::xdigit for Android.
de2404b Update the synopsis and comments with the results of LWG #2255. No code to back it up at the moment; just comments
cc160f5 Fix classic_locale for Android.
cb8757a Fix std::make_heap's worst case time complexity
db5e54d make the same change as in 213546 for vector<bool>
3c2eac6 In response to bug #20362, change the order of operations in vector move assignment so that if the allocator move assignment throws, we aren't left with two objects pointing at the same memory. This is not a complete fix; I am unconvinced that a complete fix is possible. With this change in place, we will leak the old contents of the vector. LWG issue #2106, when adopted, will make this problem illegal. Thanks to Thomas Koeppe for the report and analysis.
d5549cc Fix bug #20335 - memory leak when move-constructing a string with unequal allocator. Thanks to Thomas Koeppe for the report
b1a4026 [libcxx] Add <experimental/utility> header for LFTS.
8fcc272 Change _LIBCXX_CONSTEXPR_AFTER_CXX11 to check for c++14 constexpr rules
9b2b60c Test commit: Reverting whitespace changes
ad250c1 Test commit: whitespace change
2b44e3d Correctly implement LWG 2049; std::is_destructible.
7ef03b7 Change Windows decoration on some base classes
48e7e9f Support the built-in type-trait support in gcc 4.7 and later. Thanks to Albert Wong for the patch.
a643926 Add support for BIONIC C library (Android). Patch from Dan Albert
7778249 Fix warning in test - missing exception specifier for overload of operator new
bbeca21 Add a reset method to the counting predicates in the test suite
4847287 string_view enhancements. Move to the correct namespace. Better constexpr support (thanks to Richard for the suggestions). Update the tests to match this. Add <experimental/__config for experimental macros/etc to live.
5134953 Fix some failing tests for the standard containers. The tests were failing in 32-bit mode because they assumed that std::size_type and make_unsigned<ptrdiff_t>::type were always the same type. No change to libc++, just the tests.
3a61b30 Minor cleanup for string_view; mostly from suggestions by Richard Smith. Also, make the tests pass under c++03
2f9e714 Fix libc++ bug #20039: 'Constructing std::function from empty compatible std::function results in half-empty state' Thanks to Agustin Berge for the report, and for his and Eric Fiselier's work on a fix.
394451d Fix a typo in the noexcept calculation for __compressed_pair::swap. Thanks to EricWF for the bug report and the fix.
c8c7aba Add checking for the complexity guarantees in the standard
81aa3a7 Patch from Albert J. Wong to make type_traits take advantage of gcc intrinsics in 4.7 and later. No functionality change when using clang.
44ead61 eliminate install of duplicate headers (take 2) Patch by Ryuta Suzuki
ba6dbf4 Some calls to get<>() were qualified. Some were not. Qualify them all. Fixes bug #20092. Thanks to Agustín Bergé for the bug report and the fix.
e4694b4 Formatting improvements in the <string_view> synopsis suggested by RSmith. No functionality change.
04035d6 Revert "fixes duplicate header installation"
164b297 Implement string_view from the library fundamentals TS (n4023). Also works in C++11 and 03, with reduced functionality (mostly in the area of constexpr)
0bd40d6 fixes duplicate header installation http://llvm.org/bugs/show_bug.cgi?id=18681 Patch by Ryuta Suzuki <oroppas gmail com>
675dd5c Mark assign to be constepr only in c++14; can't have constexpr fns that return void in C++11
37025e1 Make the helper routines in string really be constexpr. This required a bit of refacoring in algorithm as well. Give them better names while we're at it. All of these are internal rotines; no visible functionality change.
c1345e3 A bunch of the char.traits tests were using unicode literals. #ifdef those bits out on c++03, since it doesn't support u"" and U "" style strings.
c743921 Update Arcanist config to point to reviews.llvm.org
5520bf5 Fixed damaged row in issues table; thanks to STL for the catch
281918b Testing infastructure: A template for char_traits where all the functions are constexpr, and a comparison predicate which counts how many times it's been called.
20f0955 Since we now have a value for __cplusplus for c++14, teach libc++ about it
73c1fce Use __builtin_operator_new/__builtin_operator_delete when available. This allows allocations and deallocations to be optimized out.
0707b67 Handle partial nanosleeps in this_thread::sleep_for
981b01d Make meta.trans.other/aligned_storage.pass.cpp pass on arm.
0211e86 Make locales (and transitively, std::endl) work reliably with gcc.
5a54699 Add a note about debug mode being non-functional
4d9f97b [libc++] Don't return uninitialized data from random_device::operator()
8db32cc [libc++] random_device fails if open returns zero
d2f0b5c First cut at a post c++14 status page
4074d6e Remove unused code in a libc++ test.
360f319 Preparation for <string_view>. More helper functions that can be shared between <string> and <string_view>. No functionality change
e39915b Fix XFAIL condition from r208840
3c122d8 Add a _LIBCPP_CONSTEXPR that was missed in r170026.
d32add4 fix typo
fcafd80 Linux: Correctly identify valid error codes
4f3368e Fix a problem exposed by r208825, which caused bind (and other bits of libc++) to stop working. And tests

git-subtree-dir: deps/libcxx
git-subtree-split: 8758796fc9bab80d2d405678d8874a860b14974f
Merge commit '89fd85c450f329d32c24a59d90affc0af6b61055'

* commit '89fd85c450f329d32c24a59d90affc0af6b61055':
  Squashed 'deps/libcxx/' changes from 52a708f..8758796
Add V8 platform support (very basic)
Update V8 snapshot
libc++ update fixes
Remove V8 ArrayBuffer hack (no longer needed)
Disable samaphores (implementation required)
Update v8 generated libraries
Update dockerfile gcc version to 4.9.1. Do not use gcc 4.9.0 because of libc++ compile bug
version 0.1.4
Merge remote-tracking branch 'origin/master'

* origin/master:
  Update README.md