diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/wasm-stack.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wasm-stack.h b/src/wasm-stack.h index de8fd8b03..d6c0e46ec 100644 --- a/src/wasm-stack.h +++ b/src/wasm-stack.h @@ -328,6 +328,7 @@ void BinaryenIRWriter<SubType>::visitBlock(Block* curr) { parents.push_back(curr); emit(curr); curr = child; + emitDebugLocation(curr); } // Emit the current block, which does not have a block as a child in the // first position. |