Пример #1
0
            public override void Visit(SizeofInstruction instruction)
            {
                SavePreState(instruction, FreshCurrent());
                var nstate = FreshCurrent();

                if (instruction.HasResult && IsConstantType(instruction.Result.Type))
                {
                    UpdateStateNotConstant(nstate, instruction.Result);
                }

                SetCurrent(nstate);
                SavePostState(instruction, FreshCurrent());
            }
Пример #2
0
 public virtual void Visit(SizeofInstruction instruction)
 {
 }
Пример #3
0
 public override void Visit(SizeofInstruction instruction)
 {
     instruction.Result.Type = Types.Instance.SizeofType;
 }
Пример #4
0
 public virtual void Visit(SizeofInstruction instruction)
 {
     Default(instruction);
 }