Skip to content

Commit 6bd9cf2

Browse files
committed
Remove unused byteSize property
1 parent ff63a37 commit 6bd9cf2

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

Sources/WasmTypes/WasmTypes.swift

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -35,17 +35,6 @@ public enum ValueType: Equatable, Hashable, Sendable {
3535
case v128
3636
/// Reference value type.
3737
case ref(ReferenceType)
38-
39-
#if WasmDebuggingSupport
40-
package var byteSize: Int {
41-
switch self {
42-
case .i32, .f32: 4
43-
case .i64, .f64: 8
44-
case .v128: 16
45-
case .ref: fatalError("bitwise copy of references not implemented yet")
46-
}
47-
}
48-
#endif
4938
}
5039

5140
/// Runtime representation of a WebAssembly function reference.

0 commit comments

Comments
 (0)