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