protected override void VisitLoadArrayElementI1Instruction(LoadArrayElementI1Instruction instruction) { ControlState.EvaluationStack.PopValue(out CilValueReference arrayRef, out CilValueInt32 indexVal); var array = ManagedMemory.Load(arrayRef) as CilArray; var elem = array.GetValue(indexVal, new CilTypeInt8(), ManagedMemory, _program); ControlState.EvaluationStack.PushValue(elem); ControlState.MoveToNextInstruction(); }
protected abstract void VisitLoadArrayElementI1Instruction(LoadArrayElementI1Instruction instruction);