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: --allow-natives-syntax | |
6 | |
7 var n; | |
8 | |
9 function Ctor() { | |
10 n = new Set(); | |
11 } | |
12 | |
13 function Check() { | |
14 n.xyz = 0x826852f4; | |
15 } | |
16 | |
17 Ctor(); | |
18 Ctor(); | |
19 %OptimizeFunctionOnNextCall(Ctor); | |
20 Ctor(); | |
21 | |
22 Check(); | |
23 Check(); | |
24 %OptimizeFunctionOnNextCall(Check); | |
25 Check(); | |
26 | |
27 Ctor(); | |
28 Check(); | |
29 | |
30 parseInt('AAAAAAAA'); | |
OLD | NEW |