OLD | NEW |
1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE.md file. | 3 // BSD-style license that can be found in the LICENSE.md file. |
4 | 4 |
5 #ifdef FLETCH_ENABLE_LIVE_CODING | 5 #ifdef FLETCH_ENABLE_LIVE_CODING |
6 | 6 |
7 #include "src/vm/debug_info.h" | 7 #include "src/vm/debug_info.h" |
8 | 8 |
9 #include "src/shared/bytecodes.h" | 9 #include "src/shared/bytecodes.h" |
10 #include "src/vm/object.h" | 10 #include "src/vm/object.h" |
11 #include "src/vm/native_interpreter.h" | 11 #include "src/vm/native_interpreter.h" |
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
174 function->bytecode_address_for(0) + it->second.bytecode_index(); | 174 function->bytecode_address_for(0) + it->second.bytecode_index(); |
175 SetBytecodeBreak(static_cast<Opcode>(*bcp)); | 175 SetBytecodeBreak(static_cast<Opcode>(*bcp)); |
176 new_breakpoints.Insert({bcp, it->second}); | 176 new_breakpoints.Insert({bcp, it->second}); |
177 } | 177 } |
178 breakpoints_.Swap(new_breakpoints); | 178 breakpoints_.Swap(new_breakpoints); |
179 } | 179 } |
180 | 180 |
181 } // namespace fletch | 181 } // namespace fletch |
182 | 182 |
183 #endif // FLETCH_ENABLE_LIVE_CODING | 183 #endif // FLETCH_ENABLE_LIVE_CODING |
OLD | NEW |