StackFrame.cs 554 B

123456789101112131415161718192021222324
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using ILRuntime.CLR.Method;
  6. namespace ILRuntime.Runtime.Stack
  7. {
  8. class IntegerReference
  9. {
  10. public int Value { get; set; }
  11. }
  12. unsafe struct StackFrame
  13. {
  14. public ILMethod Method;
  15. public StackObject* LocalVarPointer;
  16. public StackObject* BasePointer;
  17. public StackObject* ValueTypeBasePointer;
  18. public IntegerReference Address;
  19. public int ManagedStackBase;
  20. public bool IsRegister;
  21. }
  22. }