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 // Flags: --random-seed=1557792826 --expose-gc --invoke-weak-callbacks --omit-qu
it --gc-interval=469 --validate-asm |
| 6 |
| 7 function nop() {} |
| 8 var __v_42 = {}; |
| 9 var __v_49 = {}; |
| 10 var __v_70 = {}; |
| 11 var __v_79 = {}; |
| 12 __v_58 = { |
| 13 instantiateModuleFromAsm: function(text, ffi, heap) { |
| 14 var __v_49 = eval('(' + text + ')'); |
| 15 if (nop()) { |
| 16 throw "validate failure"; |
| 17 } |
| 18 var __v_79 = __v_49(); |
| 19 if (nop()) { |
| 20 throw "bad module args"; |
| 21 } |
| 22 }}; |
| 23 __f_140 = function __f_140() { |
| 24 if (found === expected) { |
| 25 if (1 / expected) return; |
| 26 } else if ((expected !== expected) && (found !== found)) { return; }; |
| 27 }; |
| 28 __f_128 = function __f_128() { if (!__f_105()) { __f_125(__f_69(), found, name_o
pt); } }; |
| 29 __f_136 = function __f_136(code, type_opt, cause_opt) { |
| 30 var __v_42 = true; |
| 31 try { |
| 32 if (typeof code == 'function') { code(); } |
| 33 else { eval(); } |
| 34 __v_42 = false; |
| 35 } catch (e) { |
| 36 if (typeof type_opt == 'function') { __f_101(); } |
| 37 if (arguments.length >= 3) { __f_128(); } |
| 38 return; |
| 39 } |
| 40 }; |
| 41 __f_101 = function __f_101() { if (obj instanceof type) {obj.constructor; if (ty
peof __v_57 == "function") {; }; } }; |
| 42 try { |
| 43 __f_128(); |
| 44 __v_82.__p_750895751 = __v_82[getRandomProperty()]; |
| 45 } catch(e) {"Caught: " + e; } |
| 46 __f_119(); |
| 47 gc(); |
| 48 __f_119(19, __f_136); |
| 49 __f_119(); |
| 50 __f_119(); |
| 51 __f_136(function() { |
| 52 __v_58.instantiateModuleFromAsm(__f_128.toString()).__f_108(); |
| 53 }); |
| 54 function __f_119() { |
| 55 "use asm"; |
| 56 function __f_108() { |
| 57 } |
| 58 return {__f_108: __f_108}; |
| 59 } |
| 60 __f_119(); |
| 61 __f_119(); |
| 62 __f_119(); |
| 63 function __f_95() { |
| 64 } |
| 65 __f_119(); |
| 66 try { |
| 67 __f_119(); |
| 68 __f_135(); |
| 69 } catch(e) {"Caught: " + e; } |
| 70 __f_119(); |
| 71 __f_119(); |
| 72 __f_119(); |
| 73 function __f_105() { |
| 74 "use asm"; |
| 75 function __f_108() { |
| 76 } |
| 77 return {__f_108: __f_108}; |
| 78 } |
| 79 __f_119(); |
| 80 __f_119(); |
| 81 __f_119(); |
| 82 __f_119(); |
| 83 __f_119(); |
| 84 __f_119(); |
| 85 __f_119(); |
| 86 function __f_93(stdlib) { |
| 87 "use asm"; |
| 88 var __v_70 = new stdlib.Int32Array(); |
| 89 __v_70[4294967295]|14 + 1 | 14; |
| 90 return {__f_108: __f_108}; |
| 91 } |
| 92 function __f_135() { |
| 93 var __v_66 = new ArrayBuffer(); |
| 94 var __v_54 = new Int32Array(__v_66); |
| 95 var module = __v_58.instantiateModuleFromAsm( __f_93.toString()); |
| 96 __f_128(); |
| 97 } |
| 98 (function () { |
| 99 })(); |
| 100 (function () { |
| 101 })(); |
| 102 try { |
| 103 (function() { |
| 104 var __v_54 = 0x87654321; |
| 105 __v_66.__f_89(); |
| 106 })(); |
| 107 } catch(e) {; } |
OLD | NEW |