Sign in
webkit
/
WebKit
/
a231c91b6a598a51b62eadba79950f827d9298a2
/
.
/
LayoutTests
/
js
/
script-tests
/
dfg-cos-constant.js
blob: 4650a94fd2b094f45a0f902174f7e2035ef1fbed [
file
] [
log
] [
blame
]
description
(
"Tests that Math.cos() on a constant works in the DFG."
);
function
foo
()
{
return
Math
.
cos
(
0
);
}
dfgShouldBe
(
foo
,
"foo()"
,
"1"
);