move VM-bound data into VMInstance from context

Signed-off-by: seonghyun kim <sh8281.kim@samsung.com>
This commit is contained in:
seonghyun kim 2017-03-23 16:13:06 +09:00
commit 34dad07c79
12 changed files with 352 additions and 299 deletions

View file

@ -28,8 +28,7 @@ OpcodeTable g_opcodeTable;
OpcodeTable::OpcodeTable()
{
Context c;
ExecutionState state(&c);
ExecutionState state((Context*)nullptr);
ByteCodeBlock block;
block.m_code.resize(sizeof(FillOpcodeTable));