| OLD | NEW |
| 1 // Copyright (c) 2015, the Dartino 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 #include "src/shared/assert.h" | 5 #include "src/shared/assert.h" |
| 6 | 6 |
| 7 #include "src/vm/native_interpreter.h" | 7 #include "src/vm/native_interpreter.h" |
| 8 | 8 |
| 9 namespace fletch { | 9 namespace dartino { |
| 10 | 10 |
| 11 extern "C" | 11 extern "C" |
| 12 uword Interpret_DispatchTable[]; | 12 uword Interpret_DispatchTable[]; |
| 13 | 13 |
| 14 extern "C" | 14 extern "C" |
| 15 void BC_InvokeStatic(); | 15 void BC_InvokeStatic(); |
| 16 | 16 |
| 17 extern "C" | 17 extern "C" |
| 18 void Debug_BC_InvokeStatic(); | 18 void Debug_BC_InvokeStatic(); |
| 19 | 19 |
| (...skipping 10 matching lines...) Expand all Loading... |
| 30 } | 30 } |
| 31 } | 31 } |
| 32 | 32 |
| 33 void ClearBytecodeBreak(Opcode opcode) { | 33 void ClearBytecodeBreak(Opcode opcode) { |
| 34 uword value = Interpret_DispatchTable[opcode]; | 34 uword value = Interpret_DispatchTable[opcode]; |
| 35 if ((value & 4) != 0) { | 35 if ((value & 4) != 0) { |
| 36 Interpret_DispatchTable[opcode] = value + kDebugDiff; | 36 Interpret_DispatchTable[opcode] = value + kDebugDiff; |
| 37 } | 37 } |
| 38 } | 38 } |
| 39 | 39 |
| 40 } // namespace fletch | 40 } // namespace dartino |
| OLD | NEW |