Browse Source

Fix for EVMJIT

cl-refactor
Gav Wood 10 years ago
parent
commit
2304d6c141
  1. 5
      libevmjit/Ext.cpp

5
libevmjit/Ext.cpp

@ -22,9 +22,12 @@ namespace jit
Ext::Ext(RuntimeManager& _runtimeManager, Memory& _memoryMan):
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_argAllocas({})
#endif
{
m_size = m_builder.CreateAlloca(Type::Size, nullptr, "env.size");
}

Loading…
Cancel
Save