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

Unified Diff: test/cctest/wasm/test-wasm-trap-position.cc

Issue 1970503004: [wasm] Differentiate unnamed and empty names (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@add-utf8-check
Patch Set: Yang's last comments Created 4 years, 7 months 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 | « test/cctest/wasm/test-wasm-stack.cc ('k') | test/mjsunit/wasm/function-names.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/wasm/test-wasm-trap-position.cc
diff --git a/test/cctest/wasm/test-wasm-trap-position.cc b/test/cctest/wasm/test-wasm-trap-position.cc
index 13f2929ede8196b0ffde06ed4f5c8a4690568791..4d10d9a808565880973128f43975bacae0530645 100644
--- a/test/cctest/wasm/test-wasm-trap-position.cc
+++ b/test/cctest/wasm/test-wasm-trap-position.cc
@@ -89,8 +89,8 @@ TEST(Unreachable) {
CHECK(returnObjMaybe.is_null());
ExceptionInfo expected_exceptions[] = {
- {"<WASM>", static_cast<int>(wasm_index), 1}, // --
- {"callFn", 1, 24} // --
+ {"<WASM UNNAMED>", static_cast<int>(wasm_index), 1}, // --
+ {"callFn", 1, 24} // --
};
CheckExceptionInfos(isolate, maybe_exc.ToHandleChecked(),
expected_exceptions);
@@ -131,9 +131,9 @@ TEST(IllegalLoad) {
// Line number is 1-based, with 0 == kNoLineNumberInfo.
ExceptionInfo expected_exceptions[] = {
- {"<WASM>", static_cast<int>(wasm_index), 6}, // --
- {"<WASM>", static_cast<int>(wasm_index_2), 2}, // --
- {"callFn", 1, 24} // --
+ {"<WASM UNNAMED>", static_cast<int>(wasm_index), 6}, // --
+ {"<WASM UNNAMED>", static_cast<int>(wasm_index_2), 2}, // --
+ {"callFn", 1, 24} // --
};
CheckExceptionInfos(isolate, maybe_exc.ToHandleChecked(),
expected_exceptions);
« no previous file with comments | « test/cctest/wasm/test-wasm-stack.cc ('k') | test/mjsunit/wasm/function-names.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698