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:
parent
eebf33a94a
commit
5440d43d42
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user