summaryrefslogtreecommitdiff
path: root/src/wasm.h
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2015-10-31 11:05:05 -0700
committerAlon Zakai <alonzakai@gmail.com>2015-10-31 11:05:05 -0700
commit3dd389f52b556530ec0514fac67277a41a21b47e (patch)
tree2a8b758162b5cadaf6004f3ebfe16e6bf11caf0a /src/wasm.h
parent2824e966bb1dc9cbc90365b39000540f84fae82c (diff)
downloadbinaryen-3dd389f52b556530ec0514fac67277a41a21b47e.tar.gz
binaryen-3dd389f52b556530ec0514fac67277a41a21b47e.tar.bz2
binaryen-3dd389f52b556530ec0514fac67277a41a21b47e.zip
refactoring
Diffstat (limited to 'src/wasm.h')
-rw-r--r--src/wasm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wasm.h b/src/wasm.h
index c2816dc19..4ef01395c 100644
--- a/src/wasm.h
+++ b/src/wasm.h
@@ -176,7 +176,7 @@ struct Literal {
double getf64() { assert(type == WasmType::f64); return f64; }
void printDouble(std::ostream &o, double d) {
- const char *text = JSPrinter::numToString(d);
+ const char *text = cashew::JSPrinter::numToString(d);
// spec interpreter hates floats starting with '.'
if (text[0] == '.') {
o << '0';