Fix nosse2 tests.

BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com/9617004

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10944 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
yangguo@chromium.org 2012-03-06 13:37:25 +00:00
parent eebf33a94a
commit 5440d43d42

View File

@ -70,9 +70,9 @@ void TestSeeds(Handle<JSFunction> fun,
TEST(CrankshaftRandom) {
if (!FLAG_crankshaft) return;
if (env.IsEmpty()) env = v8::Context::New();
// Skip test if crankshaft is disabled.
if (!V8::UseCrankshaft()) return;
v8::HandleScope scope;
env->Enter();