mirror of
https://github.com/pezkuwichain/revive.git
synced 2026-06-15 19:41:06 +00:00
909de515c4
Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com>
21 lines
709 B
Rust
21 lines
709 B
Rust
//! The LLVM context constants.
|
|
|
|
/// The LLVM framework version.
|
|
pub const LLVM_VERSION: semver::Version = semver::Version::new(18, 1, 4);
|
|
|
|
/// The pointer width sized type.
|
|
pub static XLEN: usize = revive_common::BIT_LENGTH_X32;
|
|
|
|
/// The heap memory pointer pointer global variable name.
|
|
pub static GLOBAL_HEAP_MEMORY_POINTER: &str = "memory_pointer";
|
|
|
|
/// The calldata size global variable name.
|
|
pub static GLOBAL_CALLDATA_SIZE: &str = "calldatasize";
|
|
|
|
/// The call flags global variable name.
|
|
pub static GLOBAL_CALL_FLAGS: &str = "call_flags";
|
|
|
|
/// The deployer call header size that consists of:
|
|
/// - bytecode hash (32 bytes)
|
|
pub const DEPLOYER_CALL_HEADER_SIZE: usize = revive_common::BYTE_LENGTH_WORD;
|