Support long-lived closures

Docs coming soon!
This commit is contained in:
Alex Crichton
2018-04-05 18:25:22 -07:00
parent 28d6c1bc12
commit f7f0d578e7
6 changed files with 541 additions and 15 deletions

View File

@ -154,8 +154,9 @@ pub const TYPE_STACK_FUNC4: u32 = 28;
pub const TYPE_STACK_FUNC5: u32 = 29;
pub const TYPE_STACK_FUNC6: u32 = 30;
pub const TYPE_STACK_FUNC7: u32 = 31;
pub const TYPE_FUNC: u32 = 32;
pub const TYPE_CUSTOM_START: u32 = 32;
pub const TYPE_CUSTOM_START: u32 = 40;
pub const TYPE_CUSTOM_REF_FLAG: u32 = 1;
pub fn name_to_descriptor(name: &str) -> u32 {