| Index: src/wasm/ast-decoder.cc
|
| diff --git a/src/wasm/ast-decoder.cc b/src/wasm/ast-decoder.cc
|
| index 0d0c6e0fb0f3e83433895e408b02ee0a376cc938..f1cb79240101c4edb0575d4e244144195857fb07 100644
|
| --- a/src/wasm/ast-decoder.cc
|
| +++ b/src/wasm/ast-decoder.cc
|
| @@ -635,6 +635,10 @@ class SR_WasmDecoder : public WasmDecoder {
|
| continue; // back to decoding loop.
|
| }
|
|
|
| + DCHECK_EQ(pc_ - start_, static_cast<int>(pc_ - start_));
|
| + if (builder_)
|
| + builder_->SetCurrentSourcePosition(static_cast<int>(pc_ - start_));
|
| +
|
| switch (opcode) {
|
| case kExprNop:
|
| Leaf(kAstStmt);
|
|
|