Index: src/wasm/encoder.h |
diff --git a/src/wasm/encoder.h b/src/wasm/encoder.h |
index 3683cbf709fcf16b83c6f9cf96ffcb1f416b5f04..e07021ded6324cbbbe4a19cea5761fac1f9513b7 100644 |
--- a/src/wasm/encoder.h |
+++ b/src/wasm/encoder.h |
@@ -33,18 +33,18 @@ class WasmFunctionEncoder : public ZoneObject { |
friend class WasmFunctionBuilder; |
uint16_t signature_index_; |
ZoneVector<LocalType> params_; |
- uint16_t local_int32_count_; |
- uint16_t local_int64_count_; |
- uint16_t local_float32_count_; |
- uint16_t local_float64_count_; |
+ uint16_t local_i32_count_; |
+ uint16_t local_i64_count_; |
+ uint16_t local_f32_count_; |
+ uint16_t local_f64_count_; |
bool exported_; |
bool external_; |
ZoneVector<uint8_t> body_; |
ZoneVector<char> name_; |
bool HasLocals() const { |
- return (local_int32_count_ + local_int64_count_ + local_float32_count_ + |
- local_float64_count_) > 0; |
+ return (local_i32_count_ + local_i64_count_ + local_f32_count_ + |
+ local_f64_count_) > 0; |
} |
bool HasName() const { return exported_ && name_.size() > 0; } |