mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-22 04:36:42 +00:00
Fix for EVMJIT
This commit is contained in:
parent
92f42e98cf
commit
2304d6c141
1 changed files with 4 additions and 1 deletions
|
|
@ -22,9 +22,12 @@ namespace jit
|
||||||
|
|
||||||
Ext::Ext(RuntimeManager& _runtimeManager, Memory& _memoryMan):
|
Ext::Ext(RuntimeManager& _runtimeManager, Memory& _memoryMan):
|
||||||
RuntimeHelper(_runtimeManager),
|
RuntimeHelper(_runtimeManager),
|
||||||
m_memoryMan(_memoryMan),
|
m_memoryMan(_memoryMan)
|
||||||
|
#ifdef __MSCVER
|
||||||
|
,
|
||||||
m_funcs({}), // The only std::array initialization that works in both Visual Studio & GCC
|
m_funcs({}), // The only std::array initialization that works in both Visual Studio & GCC
|
||||||
m_argAllocas({})
|
m_argAllocas({})
|
||||||
|
#endif
|
||||||
{
|
{
|
||||||
m_size = m_builder.CreateAlloca(Type::Size, nullptr, "env.size");
|
m_size = m_builder.CreateAlloca(Type::Size, nullptr, "env.size");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue