| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef V8_DEBUG_H_ | 5 #ifndef V8_DEBUG_H_ |
| 6 #define V8_DEBUG_H_ | 6 #define V8_DEBUG_H_ |
| 7 | 7 |
| 8 #include "src/allocation.h" | 8 #include "src/allocation.h" |
| 9 #include "src/arguments.h" | 9 #include "src/arguments.h" |
| 10 #include "src/assembler.h" | 10 #include "src/assembler.h" |
| (...skipping 485 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 496 | 496 |
| 497 Address restarter_frame_function_pointer_address() { | 497 Address restarter_frame_function_pointer_address() { |
| 498 Object*** address = &thread_local_.restarter_frame_function_pointer_; | 498 Object*** address = &thread_local_.restarter_frame_function_pointer_; |
| 499 return reinterpret_cast<Address>(address); | 499 return reinterpret_cast<Address>(address); |
| 500 } | 500 } |
| 501 | 501 |
| 502 Address step_in_fp_addr() { | 502 Address step_in_fp_addr() { |
| 503 return reinterpret_cast<Address>(&thread_local_.step_into_fp_); | 503 return reinterpret_cast<Address>(&thread_local_.step_into_fp_); |
| 504 } | 504 } |
| 505 | 505 |
| 506 StepAction last_step_action() { return thread_local_.last_step_action_; } |
| 507 |
| 506 private: | 508 private: |
| 507 explicit Debug(Isolate* isolate); | 509 explicit Debug(Isolate* isolate); |
| 508 | 510 |
| 509 void UpdateState(); | 511 void UpdateState(); |
| 510 void Unload(); | 512 void Unload(); |
| 511 void SetNextBreakId() { | 513 void SetNextBreakId() { |
| 512 thread_local_.break_id_ = ++thread_local_.break_count_; | 514 thread_local_.break_id_ = ++thread_local_.break_count_; |
| 513 } | 515 } |
| 514 | 516 |
| 515 // Check whether there are commands in the command queue. | 517 // Check whether there are commands in the command queue. |
| (...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 750 // several frames above. | 752 // several frames above. |
| 751 // There is no calling conventions here, because it never actually gets | 753 // There is no calling conventions here, because it never actually gets |
| 752 // called, it only gets returned to. | 754 // called, it only gets returned to. |
| 753 static void GenerateFrameDropperLiveEdit(MacroAssembler* masm); | 755 static void GenerateFrameDropperLiveEdit(MacroAssembler* masm); |
| 754 }; | 756 }; |
| 755 | 757 |
| 756 | 758 |
| 757 } } // namespace v8::internal | 759 } } // namespace v8::internal |
| 758 | 760 |
| 759 #endif // V8_DEBUG_H_ | 761 #endif // V8_DEBUG_H_ |
| OLD | NEW |