summaryrefslogtreecommitdiff
path: root/src/wasm.h
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2015-10-30 22:13:30 -0700
committerAlon Zakai <alonzakai@gmail.com>2015-10-30 22:13:30 -0700
commit3067079eec5759fbbbf81872b32a9ae4a2dd99fc (patch)
tree90c788b31fcf978ade17ee42f0db77b2e403ad18 /src/wasm.h
parent51be0e93e50c3717cb8e4dff47000a494e67b29a (diff)
downloadbinaryen-3067079eec5759fbbbf81872b32a9ae4a2dd99fc.tar.gz
binaryen-3067079eec5759fbbbf81872b32a9ae4a2dd99fc.tar.bz2
binaryen-3067079eec5759fbbbf81872b32a9ae4a2dd99fc.zip
function scopes
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 07cddfcdd..097ce1900 100644
--- a/src/wasm.h
+++ b/src/wasm.h
@@ -164,7 +164,7 @@ struct Literal {
double f64;
};
- Literal() : type(WasmType::none) {}
+ Literal() : type(WasmType::none), f64(0) {}
Literal(int32_t init) : type(WasmType::i32), i32(init) {}
Literal(int64_t init) : type(WasmType::i64), i64(init) {}
Literal(float init) : type(WasmType::f32), f32(init) {}