Chromium Code Reviews| Index: src/frames.cc |
| diff --git a/src/frames.cc b/src/frames.cc |
| index fbce95bec0a7f9938bf9c6b356357cb23fe1863c..d14646989ebfb71161bccd93a67a2ae53e742d1f 100644 |
| --- a/src/frames.cc |
| +++ b/src/frames.cc |
| @@ -1434,8 +1434,8 @@ uint32_t WasmFrame::function_index() const { |
| } |
| Script* WasmFrame::script() const { |
|
Michael Starzinger
2016/07/08 08:05:07
If {wasm::GetDebugInfo} can really trigger a GC th
|
| - JSObject* wasm = JSObject::cast(wasm_obj()); |
| - Handle<wasm::WasmDebugInfo> debug_info(wasm::GetDebugInfo(wasm), isolate()); |
| + Handle<JSObject> wasm(JSObject::cast(wasm_obj()), isolate()); |
| + Handle<wasm::WasmDebugInfo> debug_info = wasm::GetDebugInfo(wasm); |
| return wasm::WasmDebugInfo::GetFunctionScript(debug_info, function_index()); |
| } |