mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-22 12:46:44 +00:00
Fix MSVC build
This commit is contained in:
parent
47886c844a
commit
cb8fa0a5b2
2 changed files with 5 additions and 3 deletions
|
|
@ -22,7 +22,9 @@ namespace jit
|
||||||
|
|
||||||
Ext::Ext(RuntimeManager& _runtimeManager, Memory& _memoryMan):
|
Ext::Ext(RuntimeManager& _runtimeManager, Memory& _memoryMan):
|
||||||
RuntimeHelper(_runtimeManager),
|
RuntimeHelper(_runtimeManager),
|
||||||
m_memoryMan(_memoryMan)
|
m_memoryMan(_memoryMan),
|
||||||
|
m_funcs{},
|
||||||
|
m_argAllocas{}
|
||||||
{
|
{
|
||||||
m_size = m_builder.CreateAlloca(Type::Size, nullptr, "env.size");
|
m_size = m_builder.CreateAlloca(Type::Size, nullptr, "env.size");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -65,8 +65,8 @@ private:
|
||||||
llvm::Value* m_size;
|
llvm::Value* m_size;
|
||||||
llvm::Value* m_data = nullptr;
|
llvm::Value* m_data = nullptr;
|
||||||
|
|
||||||
std::array<llvm::Function*, sizeOf<EnvFunc>::value> m_funcs = {{}};
|
std::array<llvm::Function*, sizeOf<EnvFunc>::value> m_funcs;
|
||||||
std::array<llvm::Value*, 8> m_argAllocas = {{}};
|
std::array<llvm::Value*, 8> m_argAllocas;
|
||||||
size_t m_argCounter = 0;
|
size_t m_argCounter = 0;
|
||||||
|
|
||||||
llvm::CallInst* createCall(EnvFunc _funcId, std::initializer_list<llvm::Value*> const& _args);
|
llvm::CallInst* createCall(EnvFunc _funcId, std::initializer_list<llvm::Value*> const& _args);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue