Index: test/mjsunit/regress/regress-441099.js |
diff --git a/test/mjsunit/regress/regress-441099.js b/test/mjsunit/regress/regress-441099.js |
new file mode 100644 |
index 0000000000000000000000000000000000000000..63aecfd25c4e1689c83463a68a84462e9eb2295a |
--- /dev/null |
+++ b/test/mjsunit/regress/regress-441099.js |
@@ -0,0 +1,53 @@ |
+// Copyright 2014 the V8 project authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+var Module; |
+if (!Module) Module = eval('(function() { try { return Module || {} } catch(e) { return {} } })()'); |
+else if (ENVIRONMENT_IS_SHELL) { |
+} |
+var Runtime = { |
+ stackSave: function () { |
+ }, |
+ alignMemory: function (quantum) { var ret = size = Math.ceil()*(quantum ? quantum : 8); return ret; }} |
+function allocate() { |
+} |
+function callRuntimeCallbacks(callbacks) { |
+ var callback = callbacks.shift(); |
+ var func = callback.func; |
+ if (typeof func === 'number') { |
+ } else { |
+ func(); |
+ } |
+} |
+var __ATINIT__ = []; // functions called during startup |
+function ensureInitRuntime() { |
+ callRuntimeCallbacks(__ATINIT__); |
+} |
+/* global initializers */ __ATINIT__.push({ func: function() { runPostSets() } }); |
+ function __formatString() { |
+ switch (next) { |
+ } |
+ } |
+ var Browser={mainLoop:{queue:[],pause:function () { |
+ }},moduleContextCreatedCallbacks:[],workers:[],init:function () { |
+ }}; |
+var asm = (function() { |
+ 'use asm'; |
+function setThrew() { |
+} |
+function runPostSets() { |
+} |
+function _main() { |
+} |
+function _free() { |
+} |
+ return { runPostSets: runPostSets}; |
+}) |
+(); |
+var runPostSets = Module["runPostSets"] = asm["runPostSets"]; |
+var i64Math = (function() { // Emscripten wrapper |
+ /** |
+ */ |
+})(); |
+ ensureInitRuntime(); |