mirror of
https://github.com/erg-lang/erg.git
synced 2025-09-29 20:34:44 +00:00
Fix #56
This commit is contained in:
parent
842fe10353
commit
53f665355b
2 changed files with 2 additions and 19 deletions
|
@ -53,7 +53,6 @@ pub enum CodeObjFlags {
|
|||
FutureAnnotations = 0x10_0000,
|
||||
// Erg-specific flags
|
||||
EvmDynParam = 0x1000_0000,
|
||||
EvmDynamic = 0x2000_0000,
|
||||
EvmNoGC = 0x4000_0000,
|
||||
Illegal = 0x0000,
|
||||
}
|
||||
|
@ -82,7 +81,6 @@ impl From<u32> for CodeObjFlags {
|
|||
0x10_0000 => Self::FutureAnnotations,
|
||||
// EVM flags
|
||||
0x1000_0000 => Self::EvmDynParam,
|
||||
0x2000_0000 => Self::EvmDynamic,
|
||||
0x4000_0000 => Self::EvmNoGC,
|
||||
_ => Self::Illegal,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue