Index: src/wasm/wasm-objects.cc |
diff --git a/src/wasm/wasm-objects.cc b/src/wasm/wasm-objects.cc |
index 6ee5407dadbe461a318ffbcc466f1ed7a3689f23..29d08031a8f9cf790a14e90ffe456208f4cc8acf 100644 |
--- a/src/wasm/wasm-objects.cc |
+++ b/src/wasm/wasm-objects.cc |
@@ -798,7 +798,7 @@ bool WasmCompiledModule::GetPossibleBreakpoints( |
BodyLocalDecls locals(&tmp); |
BytecodeIterator iterator(module_start + func.code_start_offset, |
module_start + func.code_end_offset, &locals); |
- DCHECK_LT(0u, locals.decls_encoded_size); |
+ DCHECK_LT(0u, locals.encoded_size); |
for (uint32_t offset : iterator.offsets()) { |
uint32_t total_offset = func.code_start_offset + offset; |
if (total_offset >= end_offset) { |