Index: src/wasm/wasm-module.cc |
diff --git a/src/wasm/wasm-module.cc b/src/wasm/wasm-module.cc |
index f262421174894abea16ea68715867fe796a83e39..340125e73a7d008ffcf3e673d2f26d3344d74928 100644 |
--- a/src/wasm/wasm-module.cc |
+++ b/src/wasm/wasm-module.cc |
@@ -34,14 +34,10 @@ std::ostream& operator<<(std::ostream& os, const WasmFunction& function) { |
os << "WASM function with signature " << *function.sig; |
os << " locals: "; |
- if (function.local_int32_count) |
- os << function.local_int32_count << " int32s "; |
- if (function.local_int64_count) |
- os << function.local_int64_count << " int64s "; |
- if (function.local_float32_count) |
- os << function.local_float32_count << " float32s "; |
- if (function.local_float64_count) |
- os << function.local_float64_count << " float64s "; |
+ if (function.local_i32_count) os << function.local_i32_count << " i32s "; |
+ if (function.local_i64_count) os << function.local_i64_count << " i64s "; |
+ if (function.local_f32_count) os << function.local_f32_count << " f32s "; |
+ if (function.local_f64_count) os << function.local_f64_count << " f64s "; |
JF
2016/02/03 10:36:33
What's the `s`?
|
os << " code bytes: " |
<< (function.code_end_offset - function.code_start_offset); |