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