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 function foo() { |
| 6 // Generates a forward branch that puts 200 in the constant pool. |
| 7 var i = 0; |
| 8 if (i) { |
| 9 i = 0; i = 0; i = 0; i = 0; i = 0; i = 0; i = 0; i = 0; i = 0; i = 0; |
| 10 i = 0; i = 0; i = 0; i = 0; i = 0; i = 0; i = 0; i = 0; i = 0; i = 0; |
| 11 i = 0; i = 0; i = 0; i = 0; i = 0; i = 0; i = 0; i = 0; i = 0; i = 0; |
| 12 i = 0; i = 0; i = 0; i = 0; i = 0; i = 0; i = 0; i = 0; i = 0; i = 0; |
| 13 i = 0; i = 0; i = 0; i = 0; i = 0; i = 0; i = 0; i = 0; i = 0; i = 0; |
| 14 i = 0; i = 0; i = 0; i = 0; i = 0; i = 0; i = 0; i = 0; i = 0; i = 0; |
| 15 i = 0; i = 0; i = 0; i = 0; i = 0; i = 0; |
| 16 } |
| 17 // Emit a 200 literal which also ends up in the constant pool. |
| 18 var j = 0.2e3; |
| 19 } |
| 20 foo(); |
OLD | NEW |