Fixed release test build breakage.


git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3131 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 53b93464
......@@ -396,11 +396,11 @@ static v8::Handle<Value> StackCheck(Local<String> name,
i::StackFrameIterator iter;
for (int i = 0; !iter.done(); i++) {
i::StackFrame* frame = iter.frame();
ASSERT(i != 0 || (frame->type() == i::StackFrame::EXIT));
ASSERT(frame->code()->IsCode());
CHECK(i != 0 || (frame->type() == i::StackFrame::EXIT));
CHECK(frame->code()->IsCode());
i::Address pc = frame->pc();
i::Code* code = frame->code();
ASSERT(code->contains(pc));
CHECK(code->contains(pc));
iter.Advance();
}
return v8::Undefined();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment