Verify that FunctionBuilder blocks are basic blocks in debug mode (#857)

To use, enable the "basic-blocks" feature on cranelift-frontend.
This commit is contained in:
Sean Stangl
2019-07-19 09:52:05 -06:00
committed by GitHub
parent 9b97ddf29a
commit 8efaeec502
4 changed files with 45 additions and 36 deletions

View File

@@ -21,6 +21,9 @@ default = ["std"]
std = ["cranelift-codegen/std"]
core = ["hashmap_core", "cranelift-codegen/core"]
# Temporary feature that enforces basic block semantics.
basic-blocks = ["cranelift-codegen/basic-blocks"]
[badges]
maintenance = { status = "experimental" }
travis-ci = { repository = "CraneStation/cranelift" }