Chromium Code Reviews| Index: src/wasm/decoder.h |
| diff --git a/src/wasm/decoder.h b/src/wasm/decoder.h |
| index f18e802f7f592464e4bc6c1494170799e98aa869..0ca4e47f7525f059820ddc73eb017e821cbce8a9 100644 |
| --- a/src/wasm/decoder.h |
| +++ b/src/wasm/decoder.h |
| @@ -327,6 +327,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_; } |