Disable test-spaces/SizeOfFirstPageIsLargeEnough for snapshot=off build.

R=hpayer@chromium.org

Review URL: https://codereview.chromium.org/368583002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22114 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
yangguo@chromium.org 2014-07-01 11:54:57 +00:00
parent 6b1c019776
commit 4e4fb07c24

View File

@ -27,9 +27,11 @@
#include <stdlib.h>
#include "src/snapshot.h"
#include "src/v8.h"
#include "test/cctest/cctest.h"
using namespace v8::internal;
#if 0
@ -405,6 +407,8 @@ TEST(LargeObjectSpace) {
TEST(SizeOfFirstPageIsLargeEnough) {
if (i::FLAG_always_opt) return;
// Bootstrapping without a snapshot causes more allocations.
if (!i::Snapshot::HaveASnapshotToStartFrom()) return;
CcTest::InitializeVM();
Isolate* isolate = CcTest::i_isolate();