Chromium Code Reviews| Index: src/wasm/decoder.h |
| diff --git a/src/wasm/decoder.h b/src/wasm/decoder.h |
| index 2dfdd02aed912387d75b4c31cef0656a26ca5263..fb71ea8272e88165bcf93c4252309714377dab62 100644 |
| --- a/src/wasm/decoder.h |
| +++ b/src/wasm/decoder.h |
| @@ -321,6 +321,7 @@ class Decoder { |
| bool ok() const { return error_pc_ == nullptr; } |
| bool failed() const { return error_pc_ != nullptr; } |
| + bool more() const { return pc_ < limit_; } |
| const byte* start() { return start_; } |
| const byte* pc() { return pc_; } |