mirror of
https://github.com/pezkuwichain/revive.git
synced 2026-06-14 21:31:05 +00:00
357bf58868
This PR changes the implementation of the emulated EVM heap memory: Instead of linking in a C implementation the code is emitted directly into the contract module. Which allows making it configurable via a compiler parameter (a follow up PR to this). --------- Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com>
18 lines
403 B
Rust
18 lines
403 B
Rust
//! The front-end runtime functions.
|
|
|
|
pub mod arithmetics;
|
|
pub mod deploy_code;
|
|
pub mod entry;
|
|
pub mod revive;
|
|
pub mod runtime_code;
|
|
pub mod sbrk;
|
|
|
|
/// The main entry function name.
|
|
pub const FUNCTION_ENTRY: &str = "__entry";
|
|
|
|
/// The deploy code function name.
|
|
pub const FUNCTION_DEPLOY_CODE: &str = "__deploy";
|
|
|
|
/// The runtime code function name.
|
|
pub const FUNCTION_RUNTIME_CODE: &str = "__runtime";
|