[WebAssembly] Accomodate wasm's 128-bit long double.

llvm-svn: 257614
This commit is contained in:
Dan Gohman 2016-01-13 16:39:30 +00:00
parent c775fa43d0
commit d51bd8dd2e
1 changed files with 2 additions and 1 deletions

View File

@ -165,7 +165,8 @@ constexpr const char* float_data<double>::spec;
template <>
struct float_data<long double>
{
#if defined(__mips__) && defined(__mips_n64) || defined(__aarch64__)
#if defined(__mips__) && defined(__mips_n64) || defined(__aarch64__) || \
defined(__wasm__)
static const size_t mangled_size = 32;
#elif defined(__arm__) || defined(__mips__)
static const size_t mangled_size = 16;