Chromium Code Reviews| Index: src/wasm/ast-decoder.h |
| diff --git a/src/wasm/ast-decoder.h b/src/wasm/ast-decoder.h |
| index 5c0e0f3b83a8d0babe9cf2b356bd387a5e7e625b..c2dd4e2449a734ebc087555adb1be4804674590a 100644 |
| --- a/src/wasm/ast-decoder.h |
| +++ b/src/wasm/ast-decoder.h |
| @@ -158,7 +158,7 @@ struct BranchTableOperand { |
| table = nullptr; |
| } |
| } |
| - inline uint32_t read_entry(Decoder* decoder, int i) { |
| + inline uint16_t read_entry(Decoder* decoder, int i) { |
|
titzer
2016/03/09 08:18:17
does this need a rebase?
binji
2016/03/09 18:34:17
Done.
|
| DCHECK(i >= 0 && static_cast<uint32_t>(i) <= table_count); |
| return table ? decoder->read_u32(table + i * sizeof(uint32_t)) : 0; |
| } |