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

Side by Side Diff: src/debug.h

Issue 430503007: Rename ASSERT* to DCHECK*. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: REBASE and fixes Created 6 years, 4 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 | « src/dateparser-inl.h ('k') | src/debug.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 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 555 matching lines...) Expand 10 before | Expand all | Expand 10 after
566 void ActivateStepIn(StackFrame* frame); 566 void ActivateStepIn(StackFrame* frame);
567 void ClearStepIn(); 567 void ClearStepIn();
568 void ActivateStepOut(StackFrame* frame); 568 void ActivateStepOut(StackFrame* frame);
569 void ClearStepNext(); 569 void ClearStepNext();
570 // Returns whether the compile succeeded. 570 // Returns whether the compile succeeded.
571 void RemoveDebugInfo(Handle<DebugInfo> debug_info); 571 void RemoveDebugInfo(Handle<DebugInfo> debug_info);
572 Handle<Object> CheckBreakPoints(Handle<Object> break_point); 572 Handle<Object> CheckBreakPoints(Handle<Object> break_point);
573 bool CheckBreakPoint(Handle<Object> break_point_object); 573 bool CheckBreakPoint(Handle<Object> break_point_object);
574 574
575 inline void AssertDebugContext() { 575 inline void AssertDebugContext() {
576 ASSERT(isolate_->context() == *debug_context()); 576 DCHECK(isolate_->context() == *debug_context());
577 ASSERT(in_debug_scope()); 577 DCHECK(in_debug_scope());
578 } 578 }
579 579
580 void ThreadInit(); 580 void ThreadInit();
581 581
582 // Global handles. 582 // Global handles.
583 Handle<Context> debug_context_; 583 Handle<Context> debug_context_;
584 Handle<Object> event_listener_; 584 Handle<Object> event_listener_;
585 Handle<Object> event_listener_data_; 585 Handle<Object> event_listener_data_;
586 586
587 v8::Debug::MessageHandler message_handler_; 587 v8::Debug::MessageHandler message_handler_;
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
761 // several frames above. 761 // several frames above.
762 // There is no calling conventions here, because it never actually gets 762 // There is no calling conventions here, because it never actually gets
763 // called, it only gets returned to. 763 // called, it only gets returned to.
764 static void GenerateFrameDropperLiveEdit(MacroAssembler* masm); 764 static void GenerateFrameDropperLiveEdit(MacroAssembler* masm);
765 }; 765 };
766 766
767 767
768 } } // namespace v8::internal 768 } } // namespace v8::internal
769 769
770 #endif // V8_DEBUG_H_ 770 #endif // V8_DEBUG_H_
OLDNEW
« no previous file with comments | « src/dateparser-inl.h ('k') | src/debug.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698