Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1201)

Unified Diff: test/mjsunit/asm/regress-669899.js

Issue 2546553002: [wasm] [asm.js] Ignore unused function tables in AsmWasmBuilder. (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/asmjs/asm-wasm-builder.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/asm/regress-669899.js
diff --git a/test/mjsunit/asm/regress-669899.js b/test/mjsunit/asm/regress-669899.js
new file mode 100644
index 0000000000000000000000000000000000000000..7adf45b911205517956b9973046c704a99f34d0d
--- /dev/null
+++ b/test/mjsunit/asm/regress-669899.js
@@ -0,0 +1,27 @@
+// Copyright 2016 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.
+
+try {
+(function () {
+})();
+} catch(e) {; }
+ function __f_113() {
+ }
+(function () {
+function __f_89() {
+ "use asm";
+ function __f_63(__v_26, __v_28) {
+ __v_26 = __v_26|0;
+ __v_28 = __v_28|0;
+ }
+ function __f_21(table_id, fun_id, arg1, arg2) {
+ table_id = table_id|0;
+ fun_id = fun_id|0;
+ arg1 = arg1|0;
+ arg2 = arg2|0;
+ }
+ var __v_17 = [];
+}
+var module = __f_89();
+})();
« no previous file with comments | « src/asmjs/asm-wasm-builder.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698