Sign in
webkit
/
WebKit
/
f4126aaf4746a8f8af8c9b0d292a75a3563b2348
/
.
/
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"
}