Index: src/wasm/decoder.h |
diff --git a/src/wasm/decoder.h b/src/wasm/decoder.h |
index 5e285bbf3ef452f9ff204e33de8e988f1744bad0..bee39d5226a719e7283513c39104d1a4cf90c288 100644 |
--- a/src/wasm/decoder.h |
+++ b/src/wasm/decoder.h |
@@ -284,6 +284,7 @@ class Decoder { |
const byte* start() const { return start_; } |
const byte* pc() const { return pc_; } |
uint32_t pc_offset() const { return static_cast<uint32_t>(pc_ - start_); } |
+ const byte* end() const { return end_; } |
protected: |
const byte* start_; |