Skip to content

Commit

Permalink
Validation: Fix mixed memory64 table copy
Browse files Browse the repository at this point in the history
  • Loading branch information
kateinoigakukun committed Oct 6, 2024
1 parent c554be0 commit d452f05
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
2 changes: 1 addition & 1 deletion Sources/WasmKit/Translator.swift
Original file line number Diff line number Diff line change
Expand Up @@ -1983,7 +1983,7 @@ struct InstructionTranslator<Context: TranslatorContext>: InstructionVisitor {
// https://github.com/WebAssembly/memory64/blob/main/proposals/memory64/Overview.md
let destIsMemory64 = try module.isMemory64(tableIndex: dstTable)
let sourceIsMemory64 = try module.isMemory64(tableIndex: srcTable)
let lengthIsMemory64 = destIsMemory64 || sourceIsMemory64
let lengthIsMemory64 = destIsMemory64 && sourceIsMemory64
try pop3Emit(
(
.address(isMemory64: lengthIsMemory64),
Expand Down
10 changes: 0 additions & 10 deletions Tests/WasmKitTests/SpectestTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,6 @@ final class SpectestTests: XCTestCase {
path: Self.testPaths,
include: [],
exclude: [
"memory_grow.wast",
"memory_size.wast",
"proposals/memory64/align64.wast",
"proposals/memory64/call_indirect.wast",
"proposals/memory64/load64.wast",
"proposals/memory64/memory64.wast",
"proposals/memory64/table_copy_mixed.wast",
"proposals/memory64/table_get.wast",
"proposals/memory64/table_grow.wast",
"proposals/memory64/table_size.wast",
"ref_func.wast",
"select.wast",
"start.wast",
Expand Down

0 comments on commit d452f05

Please sign in to comment.