Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(276)

Side by Side Diff: src/debug.h

Issue 3249001: Fix presumbit errors in previous commit (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 10 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | src/x64/debug-x64.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « no previous file | src/x64/debug-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698