Fix check in r11850 for nosse2 and novfp3 machines.

R=ulan@chromium.org
TEST=cctest/test-compiler/OptimizedCodeSharing

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11859 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 22b3bf58
......@@ -374,8 +374,8 @@ TEST(OptimizedCodeSharing) {
*v8::Local<v8::Function>::Cast(env->Global()->Get(v8_str("closure1"))));
Handle<JSFunction> fun2 = v8::Utils::OpenHandle(
*v8::Local<v8::Function>::Cast(env->Global()->Get(v8_str("closure2"))));
CHECK(fun1->IsOptimized() || !FLAG_crankshaft);
CHECK(fun2->IsOptimized() || !FLAG_crankshaft);
CHECK(fun1->IsOptimized() || !fun1->IsOptimizable());
CHECK(fun2->IsOptimized() || !fun2->IsOptimizable());
CHECK_EQ(fun1->code(), fun2->code());
}
}
......
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