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