| Index: src/wasm/wasm-debug.cc
|
| diff --git a/src/wasm/wasm-debug.cc b/src/wasm/wasm-debug.cc
|
| index 59ad5aaeab5fad6754b1313d3bfa1072a12bacfa..5ff89e1c7977255b506afbb15ed43ed42731aa25 100644
|
| --- a/src/wasm/wasm-debug.cc
|
| +++ b/src/wasm/wasm-debug.cc
|
| @@ -94,10 +94,8 @@ class InterpreterHandle {
|
| }
|
|
|
| // Set pointer to globals storage.
|
| - if (instance->has_globals_buffer()) {
|
| - instance_.globals_start =
|
| - reinterpret_cast<byte*>(instance->globals_buffer()->backing_store());
|
| - }
|
| + instance_.globals_start =
|
| + debug_info->wasm_instance()->compiled_module()->GetGlobalsStartOrNull();
|
| }
|
|
|
| ~InterpreterHandle() {
|
|
|