LLVM was designed the way(Picture). And I want to know if i understand correctly.

Smart Contract is byte code. So EOSIO need to interpret the byte code. EOSIO use WAVM converting to Middle End IR from Byte code. Like.. WABT Format. So EOSIO can use a function in contract.

The Convert part is https://github.com/EOSIO/eos/blob/3c553db73864ea19458512b4669cf9942dc59f57/libraries/chain/include/eosio/chain/wasm_interface_private.hpp#L118

Do I understand correctly?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.