mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-19 19:30:44 +00:00
Fix stack set/get bad function signature
This commit is contained in:
parent
58e03d5165
commit
78b188c4b4
1 changed files with 1 additions and 1 deletions
|
|
@ -51,7 +51,7 @@ Stack::Stack(llvm::IRBuilder<>& _builder, llvm::Module* _module)
|
||||||
llvm::GlobalValue::LinkageTypes::ExternalLinkage, "evmccrt_stack_pop", _module);
|
llvm::GlobalValue::LinkageTypes::ExternalLinkage, "evmccrt_stack_pop", _module);
|
||||||
|
|
||||||
llvm::Type* getArgsTypes[] = {stackPtrTy, m_builder.getInt32Ty(), i256PtrTy};
|
llvm::Type* getArgsTypes[] = {stackPtrTy, m_builder.getInt32Ty(), i256PtrTy};
|
||||||
auto getFuncType = llvm::FunctionType::get(voidTy, getArgsTypes);
|
auto getFuncType = llvm::FunctionType::get(voidTy, getArgsTypes, false);
|
||||||
m_stackGet = llvm::Function::Create(getFuncType,
|
m_stackGet = llvm::Function::Create(getFuncType,
|
||||||
llvm::GlobalValue::LinkageTypes::ExternalLinkage, "evmccrt_stack_get", _module);
|
llvm::GlobalValue::LinkageTypes::ExternalLinkage, "evmccrt_stack_get", _module);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue