Sign in
webkit
/
WebKit
/
9a43d7e8bb9093ccc493831ef3377ee933abb11e
/
.
/
JSTests
/
stress
/
ftl-gettypedarrayoffset-simple.js
blob: 7529fc647ec322dba5555f09ae842792060d4d0a [
file
] [
log
] [
blame
]
function
foo
(
x
){
return
x
.
byteOffset
}
noInline
(
foo
);
for
(
var
i
=
0
;
i
<
100000
;
++
i
)
{
var
b
=
new
Uint8Array
(
42
,
0
);
if
(
foo
(
b
)
!=
0
)
throw
"error"
}