Use types to distinguish between wasm function body indices and wasm function indices.

This commit is contained in:
Maddy
2018-08-02 01:29:47 +00:00
committed by Dan Gohman
parent f7e481d9ac
commit f5d46cabe7
12 changed files with 71 additions and 53 deletions

View File

@@ -11,6 +11,7 @@ keywords = ["webassembly", "wasm"]
[dependencies]
wasmparser = { version = "0.17.2", default-features = false }
cranelift-codegen = { path = "../codegen", version = "0.18.1", default-features = false }
cranelift-entity = { path = "../entity", version = "0.18.1", default-features = false }
cranelift-frontend = { path = "../frontend", version = "0.18.1", default-features = false }
hashmap_core = { version = "0.1.9", optional = true }
failure = { version = "0.1.1", default-features = false, features = ["derive"] }