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