OLD | NEW |
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2008 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 934 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
945 // The previous state of the disable break used to restore the value when this | 945 // The previous state of the disable break used to restore the value when this |
946 // object is destructed. | 946 // object is destructed. |
947 bool prev_disable_break_; | 947 bool prev_disable_break_; |
948 }; | 948 }; |
949 | 949 |
950 | 950 |
951 // Debug_Address encapsulates the Address pointers used in generating debug | 951 // Debug_Address encapsulates the Address pointers used in generating debug |
952 // code. | 952 // code. |
953 class Debug_Address { | 953 class Debug_Address { |
954 public: | 954 public: |
955 Debug_Address(Debug::AddressId id) : id_(id) { } | 955 explicit Debug_Address(Debug::AddressId id) : id_(id) { } |
956 | 956 |
957 static Debug_Address AfterBreakTarget() { | 957 static Debug_Address AfterBreakTarget() { |
958 return Debug_Address(Debug::k_after_break_target_address); | 958 return Debug_Address(Debug::k_after_break_target_address); |
959 } | 959 } |
960 | 960 |
961 static Debug_Address DebugBreakReturn() { | 961 static Debug_Address DebugBreakReturn() { |
962 return Debug_Address(Debug::k_debug_break_return_address); | 962 return Debug_Address(Debug::k_debug_break_return_address); |
963 } | 963 } |
964 | 964 |
965 static Debug_Address RestarterFrameFunctionPointer() { | 965 static Debug_Address RestarterFrameFunctionPointer() { |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1006 | 1006 |
1007 DISALLOW_COPY_AND_ASSIGN(MessageDispatchHelperThread); | 1007 DISALLOW_COPY_AND_ASSIGN(MessageDispatchHelperThread); |
1008 }; | 1008 }; |
1009 | 1009 |
1010 | 1010 |
1011 } } // namespace v8::internal | 1011 } } // namespace v8::internal |
1012 | 1012 |
1013 #endif // ENABLE_DEBUGGER_SUPPORT | 1013 #endif // ENABLE_DEBUGGER_SUPPORT |
1014 | 1014 |
1015 #endif // V8_DEBUG_H_ | 1015 #endif // V8_DEBUG_H_ |
OLD | NEW |