summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDan Gohman <sunfish@mozilla.com>2016-01-06 16:20:12 -0800
committerDan Gohman <sunfish@mozilla.com>2016-01-06 16:20:12 -0800
commit8ae085fb1f79d6a72d234c5d33704f6106fe6f4b (patch)
tree68120e60fc185e157af9656288782f42efada509 /src
parent176a955c63f7891f00c1f29e33079dc3d77539da (diff)
parent10d9c8223360714918808aeafa24308039c1518b (diff)
downloadbinaryen-8ae085fb1f79d6a72d234c5d33704f6106fe6f4b.tar.gz
binaryen-8ae085fb1f79d6a72d234c5d33704f6106fe6f4b.tar.bz2
binaryen-8ae085fb1f79d6a72d234c5d33704f6106fe6f4b.zip
Merge pull request #74 from WebAssembly/llvm_autogenerated
Replace the experimental/prototype-wasmate/test tests.
Diffstat (limited to 'src')
-rw-r--r--src/wasm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wasm.h b/src/wasm.h
index e3724c612..5fd4ad53b 100644
--- a/src/wasm.h
+++ b/src/wasm.h
@@ -193,7 +193,7 @@ struct Literal {
uint32_t ll;
} u;
u.ff = f;
- o << "nan:" << std::hex << u.ll << std::dec;
+ o << "nan:0x" << std::hex << u.ll << std::dec;
return;
}
printDouble(o, f);
@@ -210,7 +210,7 @@ struct Literal {
uint64_t ll;
} u;
u.dd = d;
- o << "nan:" << std::hex << u.ll << std::dec;
+ o << "nan:0x" << std::hex << u.ll << std::dec;
return;
}
if (!std::isfinite(d)) {