Commit 2c60a1fa authored by mtrofin's avatar mtrofin Committed by Commit bot

[wasm] some const annotations

BUG=

Review-Url: https://codereview.chromium.org/2618743004
Cr-Commit-Position: refs/heads/master@{#42110}
parent 677bd40e
......@@ -281,9 +281,9 @@ class Decoder {
bool failed() const { return !ok(); }
bool more() const { return pc_ < end_; }
const byte* start() { return start_; }
const byte* pc() { return pc_; }
uint32_t pc_offset() { return static_cast<uint32_t>(pc_ - start_); }
const byte* start() const { return start_; }
const byte* pc() const { return pc_; }
uint32_t pc_offset() const { return static_cast<uint32_t>(pc_ - start_); }
protected:
const byte* start_;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment