nodejs/deps/v8/test/mjsunit/ignition/regress-616064.js
Michaël Zasso 9b4bf7de6c
deps: update V8 to 7.1.302.28
PR-URL: https://github.com/nodejs/node/pull/23423
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
2018-12-06 15:23:33 +01:00

25 lines
536 B
JavaScript

// Copyright 2016 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
function foo() {
if (this.Worker) {
function __f_0() { this.s = a; }
function __f_1() {
this.l = __f_0;
}
with ( 'source' , Object ) throw function __f_0(__f_0) {
return Worker.__f_0(-2147483648, __f_0);
};
var __v_9 = new Worker('', {type: 'string'});
__f_1 = {s: Math.s, __f_1: true};
}
}
try {
foo();
} catch(e) {
}