bug1357506.js (280B)
1 // Test that constructors that abort due to asm.js do not assert due to the 2 // parser keeping track of the FunctionBox corresponding to the constructor. 3 4 class a { 5 constructor() { 6 "use asm"; 7 } 8 } 9 10 function f() { 11 class a { 12 constructor() { 13 "use asm"; 14 } 15 } 16 }