summaryrefslogtreecommitdiff
path: root/src/wasm-s-parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm-s-parser.h')
-rw-r--r--src/wasm-s-parser.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/wasm-s-parser.h b/src/wasm-s-parser.h
index 62efc92c1..e3bf07177 100644
--- a/src/wasm-s-parser.h
+++ b/src/wasm-s-parser.h
@@ -723,9 +723,9 @@ private:
std::istringstream istr(modifier);
istr >> std::hex >> u.pattern;
} else {
- u.pattern = 0x7fc00000;
+ u.pattern = 0;
}
- u.pattern |= 0x7f800000;
+ u.pattern |= 0x7fc00000;
if (negative) u.pattern |= 0x80000000;
if (!isnan(u.f)) u.pattern |= 1;
assert(isnan(u.f));
@@ -741,7 +741,7 @@ private:
std::istringstream istr(modifier);
istr >> std::hex >> u.pattern;
} else {
- u.pattern = 0x7ff8000000000000;
+ u.pattern = 0;
}
u.pattern |= 0x7ff0000000000000LL;
if (negative) u.pattern |= 0x8000000000000000LL;