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