Chromium Code Reviews| 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 Realm.eval(Realm.current(), '"use asm"'); | |
| 6 function f() { "use asm" } | |
| 7 () => "use asm" | |
| 8 if (true) "use asm" | |
| 9 with ({}) "use asm" | |
| 10 try { } catch (e) { "use asm" } | |
| 11 Realm.eval(Realm.current(), 'eval(\'"use asm"\')'); | |
| OLD | NEW |