Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2017 the V8 project authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 // Flags: --expose-gc --invoke-weak-callbacks | |
| 6 | |
| 7 function __f_6() { | |
| 8 this.a4 = {}; | |
| 9 } | |
| 10 __v_6 = new __f_6(); | |
| 11 __v_6.prototype = __v_6; | |
| 12 __v_6 = new __f_6(); | |
| 13 gc(); | |
| 14 gc(); | |
| 15 | |
| 16 buf = new ArrayBuffer(8); | |
| 17 __v_8 = new Int32Array(buf); | |
| 18 __v_9 = new Float64Array(buf); | |
| 19 | |
| 20 __v_8[0] = 1; | |
| 21 __v_6.a4 = {a: 0}; | |
| 22 delete __v_6.a4; | |
| 23 __v_6.boom = __v_9[0]; | |
| OLD | NEW |