OLD | NEW |
1 // Copyright (c) 2014, the Fletch project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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/vm/interpreter.h" | 5 #include "src/vm/interpreter.h" |
6 | 6 |
7 #include <math.h> | 7 #include <math.h> |
8 #include <stdlib.h> | 8 #include <stdlib.h> |
9 | 9 |
10 #include "src/shared/bytecodes.h" | 10 #include "src/shared/bytecodes.h" |
11 #include "src/shared/flags.h" | 11 #include "src/shared/flags.h" |
(...skipping 385 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
397 if (debug_info->is_at_breakpoint()) { | 397 if (debug_info->is_at_breakpoint()) { |
398 debug_info->ClearBreakpoint(); | 398 debug_info->ClearBreakpoint(); |
399 } else if (debug_info->ShouldBreak(bcp, sp)) { | 399 } else if (debug_info->ShouldBreak(bcp, sp)) { |
400 return Interpreter::kBreakPoint; | 400 return Interpreter::kBreakPoint; |
401 } | 401 } |
402 } | 402 } |
403 return Interpreter::kReady; | 403 return Interpreter::kReady; |
404 } | 404 } |
405 | 405 |
406 } // namespace fletch | 406 } // namespace fletch |
OLD | NEW |