Index: src/wasm/wasm-objects.cc |
diff --git a/src/wasm/wasm-objects.cc b/src/wasm/wasm-objects.cc |
index 969e7221a68bbd7f766246a9713622b338bcde90..6ee5407dadbe461a318ffbcc466f1ed7a3689f23 100644 |
--- a/src/wasm/wasm-objects.cc |
+++ b/src/wasm/wasm-objects.cc |
@@ -795,7 +795,7 @@ bool WasmCompiledModule::GetPossibleBreakpoints( |
WasmFunction& func = functions[func_idx]; |
if (func.code_start_offset == func.code_end_offset) continue; |
- AstLocalDecls locals(&tmp); |
+ 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); |