Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2016 the V8 project authors. All rights reserved. | 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 | 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 var o = function() {}; | 5 // Flags: --ignition-filter=f |
|
rmcilroy
2016/02/04 15:06:39
nit - no need for --ignition-filter=f
Yang
2016/02/05 12:21:31
Done.
| |
| 6 | |
| 6 function f() { | 7 function f() { |
| 7 var lit = { __proto__: o }; | 8 for (f(x) in []) { f(new f()) } |
| 8 o instanceof RegExp; | |
| 9 } | 9 } |
| 10 | |
| 10 f(); | 11 f(); |
| OLD | NEW |