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

Unified Diff: src/frames.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/flags.cc ('k') | src/frames.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/frames.h
diff --git a/src/frames.h b/src/frames.h
index a39d90fd956734a9ddd9b1922259175117e39d4e..f7e60aef33b1b0fd67342bfa66ea78a5e8bb89b7 100644
--- a/src/frames.h
+++ b/src/frames.h
@@ -371,7 +371,7 @@ class EntryFrame: public StackFrame {
virtual void Iterate(ObjectVisitor* v) const;
static EntryFrame* cast(StackFrame* frame) {
- ASSERT(frame->is_entry());
+ DCHECK(frame->is_entry());
return static_cast<EntryFrame*>(frame);
}
virtual void SetCallerFp(Address caller_fp);
@@ -399,7 +399,7 @@ class EntryConstructFrame: public EntryFrame {
virtual Code* unchecked_code() const;
static EntryConstructFrame* cast(StackFrame* frame) {
- ASSERT(frame->is_entry_construct());
+ DCHECK(frame->is_entry_construct());
return static_cast<EntryConstructFrame*>(frame);
}
@@ -427,7 +427,7 @@ class ExitFrame: public StackFrame {
virtual void SetCallerFp(Address caller_fp);
static ExitFrame* cast(StackFrame* frame) {
- ASSERT(frame->is_exit());
+ DCHECK(frame->is_exit());
return static_cast<ExitFrame*>(frame);
}
@@ -467,7 +467,7 @@ class StandardFrame: public StackFrame {
virtual void SetCallerFp(Address caller_fp);
static StandardFrame* cast(StackFrame* frame) {
- ASSERT(frame->is_standard());
+ DCHECK(frame->is_standard());
return static_cast<StandardFrame*>(frame);
}
@@ -610,7 +610,7 @@ class JavaScriptFrame: public StandardFrame {
static Register constant_pool_pointer_register();
static JavaScriptFrame* cast(StackFrame* frame) {
- ASSERT(frame->is_java_script());
+ DCHECK(frame->is_java_script());
return static_cast<JavaScriptFrame*>(frame);
}
@@ -699,7 +699,7 @@ class ArgumentsAdaptorFrame: public JavaScriptFrame {
virtual Code* unchecked_code() const;
static ArgumentsAdaptorFrame* cast(StackFrame* frame) {
- ASSERT(frame->is_arguments_adaptor());
+ DCHECK(frame->is_arguments_adaptor());
return static_cast<ArgumentsAdaptorFrame*>(frame);
}
@@ -731,7 +731,7 @@ class InternalFrame: public StandardFrame {
virtual Code* unchecked_code() const;
static InternalFrame* cast(StackFrame* frame) {
- ASSERT(frame->is_internal());
+ DCHECK(frame->is_internal());
return static_cast<InternalFrame*>(frame);
}
@@ -786,7 +786,7 @@ class ConstructFrame: public InternalFrame {
virtual Type type() const { return CONSTRUCT; }
static ConstructFrame* cast(StackFrame* frame) {
- ASSERT(frame->is_construct());
+ DCHECK(frame->is_construct());
return static_cast<ConstructFrame*>(frame);
}
@@ -817,7 +817,7 @@ class StackFrameIteratorBase BASE_EMBEDDED {
const bool can_access_heap_objects_;
StackHandler* handler() const {
- ASSERT(!done());
+ DCHECK(!done());
return handler_;
}
@@ -840,7 +840,7 @@ class StackFrameIterator: public StackFrameIteratorBase {
StackFrameIterator(Isolate* isolate, ThreadLocalTop* t);
StackFrame* frame() const {
- ASSERT(!done());
+ DCHECK(!done());
return frame_;
}
void Advance();
« no previous file with comments | « src/flags.cc ('k') | src/frames.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698