Fixed release test build breakage.
authorchristian.plesner.hansen@gmail.com <christian.plesner.hansen@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 26 Oct 2009 14:33:13 +0000 (14:33 +0000)
committerchristian.plesner.hansen@gmail.com <christian.plesner.hansen@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 26 Oct 2009 14:33:13 +0000 (14:33 +0000)
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3131 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

test/cctest/test-accessors.cc

index 7319da16f40465873b753c51b02aaf417af2be84..b56238ad69597a09f8e5c33b38321870da40125f 100644 (file)
@@ -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();