Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // Flags: --always-opt | |
| 6 | |
| 5 function f() { | 7 function f() { |
| 6 return ((0%0)&1) + (1>>>(0%0)); | 8 var x = 1; |
| 9 return eval("eval('var x = 2'); x;"); | |
| 7 } | 10 } |
| 8 | |
| 9 f(); | 11 f(); |
| OLD | NEW |