Index: src/debug/liveedit.cc |
diff --git a/src/debug/liveedit.cc b/src/debug/liveedit.cc |
index 39db3dbcca572b7c04d9173aaf21aef7ac5ec7ab..cc21f2dd46b015dd0dff10c3920ab95d97f2bced 100644 |
--- a/src/debug/liveedit.cc |
+++ b/src/debug/liveedit.cc |
@@ -1255,7 +1255,8 @@ void PatchPositionsInBytecodeArray(Handle<BytecodeArray> bytecode, |
iterator.is_statement()); |
} |
- bytecode->set_source_position_table(*builder.ToSourcePositionTable()); |
+ Handle<ByteArray> source_position_table = builder.ToSourcePositionTable(); |
+ bytecode->set_source_position_table(*source_position_table); |
} |
} // namespace |