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