/js/src/jit-test/tests/jaeger/bug583672.js
http://github.com/zpao/v8monkey · JavaScript · 30 lines · 27 code · 1 blank · 2 comment · 2 complexity · 1626783c6362cd2fd2354073867c9a74 MD5 · raw file
- (function () {
- function f()
- {
- this.y = w
- this.y = (void 0)
- Object
- }
- for (a in [0, 0, 0, 0])
- {
- new f
- }
- let w = {}
- })()
- /* Make sure that MICs don't have the same bug. */
- x = Object();
- (function () {
- function f()
- {
- x = w
- x = (void 0)
- Object
- }
- for (a in [0, 0, 0, 0])
- {
- new f
- }
- let w = {}
- })()
- /* Don't assert. */