OLD | NEW |
(Empty) | |
| 1 // Copyright 2014 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 var Module; |
| 6 if (!Module) Module = eval('(function() { try { return Module || {} } catch(e) {
return {} } })()'); |
| 7 else if (ENVIRONMENT_IS_SHELL) { |
| 8 } |
| 9 var Runtime = { |
| 10 stackSave: function () { |
| 11 }, |
| 12 alignMemory: function (quantum) { var ret = size = Math.ceil()*(quantum ? quan
tum : 8); return ret; }} |
| 13 function allocate() { |
| 14 } |
| 15 function callRuntimeCallbacks(callbacks) { |
| 16 var callback = callbacks.shift(); |
| 17 var func = callback.func; |
| 18 if (typeof func === 'number') { |
| 19 } else { |
| 20 func(); |
| 21 } |
| 22 } |
| 23 var __ATINIT__ = []; // functions called during startup |
| 24 function ensureInitRuntime() { |
| 25 callRuntimeCallbacks(__ATINIT__); |
| 26 } |
| 27 /* global initializers */ __ATINIT__.push({ func: function() { runPostSets() } }
); |
| 28 function __formatString() { |
| 29 switch (next) { |
| 30 } |
| 31 } |
| 32 var Browser={mainLoop:{queue:[],pause:function () { |
| 33 }},moduleContextCreatedCallbacks:[],workers:[],init:function () { |
| 34 }}; |
| 35 var asm = (function() { |
| 36 'use asm'; |
| 37 function setThrew() { |
| 38 } |
| 39 function runPostSets() { |
| 40 } |
| 41 function _main() { |
| 42 } |
| 43 function _free() { |
| 44 } |
| 45 return { runPostSets: runPostSets}; |
| 46 }) |
| 47 (); |
| 48 var runPostSets = Module["runPostSets"] = asm["runPostSets"]; |
| 49 var i64Math = (function() { // Emscripten wrapper |
| 50 /** |
| 51 */ |
| 52 })(); |
| 53 ensureInitRuntime(); |
OLD | NEW |