[Wasm] Improve interface method dispatch
- Use typed Wasm tables for each interface method to avoid runtime function type check - Use linear search by implemented interface rather than by individual virtual function signature
This commit is contained in:
+3
@@ -1,3 +1,6 @@
|
||||
// DONT_TARGET_EXACT_BACKEND: WASM
|
||||
// WASM_MUTE_REASON: IMPLICIT_INTERFACE_METHOD_IMPL
|
||||
|
||||
interface Named {
|
||||
val name: String
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user