Commit 39865bea authored by Igor Sheludko's avatar Igor Sheludko Committed by Commit Bot

Remove the check from the roots test that doesn't add value

Bug: v8:8238
Change-Id: I0883e36ddbacb3e6f222e33f5e4604b31723872f
Reviewed-on: https://chromium-review.googlesource.com/c/1270919Reviewed-by: 's avatarIgor Sheludko <ishell@chromium.org>
Reviewed-by: 's avatarDan Elphick <delphick@chromium.org>
Commit-Queue: Dan Elphick <delphick@chromium.org>
Cr-Commit-Position: refs/heads/master@{#56487}
parent 73250d9c
......@@ -27,12 +27,6 @@ AllocationSpace GetSpaceFromObject(Object* object) {
TEST(TestReadOnlyRoots) {
ReadOnlyRoots roots(CcTest::i_isolate());
STATIC_ASSERT(static_cast<int>(RootIndex::kFirstReadOnlyRoot) == 0);
#ifdef V8_INTL_SUPPORT
CHECK_EQ(static_cast<int>(RootIndex::kReadOnlyRootsCount), 501);
#else
CHECK_EQ(static_cast<int>(RootIndex::kReadOnlyRootsCount), 456);
#endif
READ_ONLY_ROOT_LIST(CHECK_IN_RO_SPACE)
}
......
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