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

Unified Diff: test/mjsunit/wasm/indirect-tables.js

Issue 2551323003: [wasm] Names of exported functions should be the stringified function index. (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
« src/wasm/wasm-objects.cc ('K') | « test/mjsunit/wasm/function-prototype.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/wasm/indirect-tables.js
diff --git a/test/mjsunit/wasm/indirect-tables.js b/test/mjsunit/wasm/indirect-tables.js
index 62b900586ce942d2c09899709d055332db2783b3..29e4a50031749d03865bb163403308d6b6afcf19 100644
--- a/test/mjsunit/wasm/indirect-tables.js
+++ b/test/mjsunit/wasm/indirect-tables.js
@@ -81,7 +81,7 @@ function js_div(a, b) { return (a / b) | 0; }
assertEquals(2, mul.length);
assertEquals(2, add.length);
assertEquals(2, sub.length);
- assertEquals("blarg", add.name);
+ assertEquals(String(f.add.index), add.name);
let exp_div = table.get(i+3);
assertEquals("function", typeof exp_div);
« src/wasm/wasm-objects.cc ('K') | « test/mjsunit/wasm/function-prototype.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698