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