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

@@ -15,6 +15,7 @@ path = "src/clif-util.rs"
[dependencies]
cfg-if = "0.1"
cranelift-codegen = { path = "lib/codegen", version = "0.18.1" }
cranelift-entity = { path = "lib/entity", version = "0.18.1" }
cranelift-reader = { path = "lib/reader", version = "0.18.1" }
cranelift-frontend = { path = "lib/frontend", version = "0.18.1" }
cranelift-serde = { path = "lib/serde", version = "0.18.1", optional = true }