Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2014 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 --debug-code | |
| 6 | |
| 7 __v_1 = new Int32Array(1024); | |
|
Toon Verwaest
2014/03/06 15:39:19
Could you please sanitize these tests a bit? Try t
Igor Sheludko
2014/03/06 17:21:20
Done.
| |
| 8 function __f_2(__v_1, base, condition) { | |
| 9 __v_1[base + 1] = 1; | |
| 10 __v_1[base + 4] = 2; | |
| 11 __v_1[base + 0] = base + -1; | |
| 12 } | |
| 13 __f_2(__v_1, 1, true); | |
| 14 __f_2(__v_1, -9, true); | |
| 15 __v_2 = new Int32Array(128); | |
| 16 %OptimizeFunctionOnNextCall(__f_2); | |
| 17 __f_2(__v_2, -2, true); | |
| OLD | NEW |