Skip to content

Commit 700b1b9

Browse files
backesCommit Bot
authored andcommitted
[api] Remove deprecated wasm module type check
The method was deprecated in favor of {IsWasmModuleObject}. R=adamk@chromium.org Bug: v8:10155 Change-Id: Id21a1b74dde5576c2c82cc209555c22209a9e5d4 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2033170 Reviewed-by: Adam Klein <adamk@chromium.org> Commit-Queue: Clemens Backes <clemensb@chromium.org> Cr-Commit-Position: refs/heads/master@{#66469}
1 parent 9a96f1b commit 700b1b9

2 files changed

Lines changed: 0 additions & 4 deletions

File tree

‎include/v8.h‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2789,9 +2789,6 @@ class V8_EXPORT Value : public Data {
27892789
*/
27902790
bool IsWasmModuleObject() const;
27912791

2792-
V8_DEPRECATED("Use IsWasmModuleObject")
2793-
bool IsWebAssemblyCompiledModule() const;
2794-
27952792
/**
27962793
* Returns true if the value is a Module Namespace Object.
27972794
*/

‎src/api/api.cc‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3505,7 +3505,6 @@ VALUE_IS_SPECIFIC_TYPE(Set, JSSet)
35053505
VALUE_IS_SPECIFIC_TYPE(WasmModuleObject, WasmModuleObject)
35063506
VALUE_IS_SPECIFIC_TYPE(WeakMap, JSWeakMap)
35073507
VALUE_IS_SPECIFIC_TYPE(WeakSet, JSWeakSet)
3508-
VALUE_IS_SPECIFIC_TYPE(WebAssemblyCompiledModule, WasmModuleObject)
35093508

35103509
#undef VALUE_IS_SPECIFIC_TYPE
35113510

0 commit comments

Comments
 (0)