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(); |