OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2016 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: --enable-slow-asserts | |
6 | |
7 var v7 = eval(); | |
8 var v8 = eval(); | |
9 var v10 = eval(); | |
Camillo Bruni
2016/08/04 15:51:57
nit: can you clean up the test case a bit? Otherwi
| |
10 v13 = new Array(v10, v10, v7); | |
11 v18 = v13.copyWithin(); | |
Camillo Bruni
2016/08/04 15:51:57
drop this.
| |
12 v35 = new WeakMap(); | |
13 Object.defineProperty(v18, 0, { | |
Camillo Bruni
2016/08/04 15:51:57
v18 => v13
| |
14 get: function() { | |
15 v13.push(v8, v10); | |
16 } | |
17 }); | |
18 v13[0x80000] = 1; | |
19 v48 = v13.includes(v35); | |
Camillo Bruni
2016/08/04 15:51:57
v35 is just a value that isn't in the array
| |
OLD | NEW |