Skip to content

Commit

Permalink
Remove wasm-support-plugin and deal with the code
Browse files Browse the repository at this point in the history
  • Loading branch information
andreaTP committed Sep 9, 2024
1 parent bc67751 commit afa3860
Show file tree
Hide file tree
Showing 8 changed files with 252 additions and 479 deletions.
1 change: 0 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@
<module>wasi-test-gen-plugin</module>
<module>wasm</module>
<module>wasm-corpus</module>
<module>wasm-support-plugin</module>
</modules>

<scm>
Expand Down
5 changes: 0 additions & 5 deletions wasm-support-plugin/README.md

This file was deleted.

58 changes: 0 additions & 58 deletions wasm-support-plugin/pom.xml

This file was deleted.

This file was deleted.

17 changes: 0 additions & 17 deletions wasm/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,21 +30,4 @@
<scope>test</scope>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>com.dylibso.chicory</groupId>
<artifactId>wasm-support-plugin</artifactId>
<version>${project.version}</version>
<executions>
<execution>
<goals>
<goal>opcode-gen</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
4 changes: 2 additions & 2 deletions wasm/src/main/java/com/dylibso/chicory/wasm/Parser.java
Original file line number Diff line number Diff line change
Expand Up @@ -906,8 +906,8 @@ private static Instruction parseInstruction(ByteBuffer buffer) {
}

// System.out.println("b: " + b + " op: " + op);
var signature = OpCode.getSignature(op);
// TODO: Encode this in instructions.tsv ?
var signature = OpCode.signature(op);

switch (op) {
case MEMORY_GROW:
case MEMORY_SIZE:
Expand Down
Loading

0 comments on commit afa3860

Please sign in to comment.