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