use range assert when loading enum discriminant

Closes #4924
This commit is contained in:
Daniel Micay 2013-02-19 14:55:40 -05:00
parent 1171a214a6
commit 0262e4b138
3 changed files with 54 additions and 3 deletions

View file

@ -184,6 +184,15 @@ pub enum FileType {
ObjectFile = 1
}
pub enum Metadata {
MD_dbg = 0,
MD_tbaa = 1,
MD_prof = 2,
MD_fpmath = 3,
MD_range = 4,
MD_tbaa_struct = 5
}
// Opaque pointer types
pub enum Module_opaque {}
pub type ModuleRef = *Module_opaque;