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
This commit is contained in:
parent
22b3bf5867
commit
4f6e72ce29
@ -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());
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user