Sign in
webkit
/
WebKit
/
f49b03c15d8d2a6a2f383c9d134f9d610877184f
/
.
/
JSTests
/
stress
/
dont-constant-fold-check-type-info-on-bound-function.js
blob: 5c119b9011faae89ea084ca335dbc0ecf78105da [
file
] [
log
] [
blame
]
"use strict"
;
class
C
{
}
let x
=
new
C
;
C
=
C
.
bind
(
this
);
function
foo
(
x
)
{
x
.
foo
;
return
x instanceof C
;
}
noInline
(
foo
);
for
(
let i
=
0
;
i
<
1000
;
++
i
)
{
let r
=
foo
(
x
);
if
(
r
!==
true
)
throw
new
Error
(
"Bad"
)
}