Index: src/wasm/encoder.h |
diff --git a/src/wasm/encoder.h b/src/wasm/encoder.h |
index 1afedcb9d6dd4a8174f165a92d461e21da3e56f5..c765844ae44dfbc5e434595a43cdc75575fcf2b1 100644 |
--- a/src/wasm/encoder.h |
+++ b/src/wasm/encoder.h |
@@ -42,11 +42,6 @@ class WasmFunctionEncoder : public ZoneObject { |
ZoneVector<uint8_t> body_; |
ZoneVector<char> name_; |
- bool HasLocals() const { |
- return (local_i32_count_ + local_i64_count_ + local_f32_count_ + |
- local_f64_count_) > 0; |
- } |
- |
bool HasName() const { return (exported_ || external_) && name_.size() > 0; } |
}; |