Sign in
webkit
/
WebKit
/
bc305334a28f4491ad6c9aac1b58373754ba9a0e
/
.
/
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"
);