core/vm: added JIT segmenting / optimisations

* multi-push segments
* static jumps segments
This commit is contained in:
Jeffrey Wilcke
2015-10-06 23:39:43 +02:00
parent 9d61d78de6
commit b196278044
9 changed files with 205 additions and 5 deletions

View File

@ -73,7 +73,7 @@ func (instr instruction) do(program *Program, pc *uint64, env Environment, contr
// Resize the memory calculated previously
memory.Resize(newMemSize.Uint64())
// These opcodes return an argument and are thefor handled
// These opcodes return an argument and are therefor handled
// differently from the rest of the opcodes
switch instr.op {
case JUMP: