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 try { } catch (e) {} | |
11 n = new Set(); | |
12 } | |
13 | |
14 function Check() { | |
15 n.xyz = 0x826852f4; | |
16 } | |
17 | |
18 Ctor(); | |
19 Ctor(); | |
20 %OptimizeFunctionOnNextCall(Ctor); | |
21 Ctor(); | |
22 | |
23 Check(); | |
24 Check(); | |
25 %OptimizeFunctionOnNextCall(Check); | |
26 Check(); | |
27 | |
28 Ctor(); | |
29 Check(); | |
30 | |
31 parseInt('AAAAAAAA'); | |
OLD | NEW |