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