a CHECK instead of an ASSERT.
Review URL: http://codereview.chromium.org/
8073025
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@9482
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
code = *new_object;
Activate(code);
} else {
- ASSERT(IsPregenerated() == code->is_pregenerated());
+ CHECK(IsPregenerated() == code->is_pregenerated());
}
ASSERT(!NeedsImmovableCode() || heap->lo_space()->Contains(code));
bool CompilingCallsToThisStubIsGCSafe() {
bool is_pregenerated = IsPregenerated();
-#ifdef DEBUG
Code* code = NULL;
- ASSERT(!is_pregenerated || FindCodeInCache(&code));
-#endif
+ CHECK(!is_pregenerated || FindCodeInCache(&code));
return is_pregenerated;
}