mirror of
https://github.com/pezkuwichain/revive.git
synced 2026-05-06 03:27:56 +00:00
5003f3e9ac
Closes #48 Change the code size test to no longer emit debug info as to get a more accurate picture. --------- Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com>
18 lines
608 B
Rust
18 lines
608 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 calldata size global variable name.
|
|
pub static GLOBAL_CALLDATA_SIZE: &str = "calldatasize";
|
|
|
|
/// The spill buffer global variable name.
|
|
pub static GLOBAL_ADDRESS_SPILL_BUFFER: &str = "address_spill_buffer";
|
|
|
|
/// The deployer call header size that consists of:
|
|
/// - bytecode hash (32 bytes)
|
|
pub const DEPLOYER_CALL_HEADER_SIZE: usize = revive_common::BYTE_LENGTH_WORD;
|