43 _context = context ??
throw new ArgumentNullException(nameof(context));
44 _state = state ??
throw new ArgumentNullException(nameof(state));
47 internal bool HasState(
int pc)
49 return _state[pc]._initialized;
52 internal int GetStackHeight(
int pc)
54 return _state[pc].GetStackHeight();
57 internal RuntimeJavaType GetStackTypeWrapper(
int pc,
int pos)
59 var type =
_state[pc].GetStackSlot(pos);
60 if (RuntimeVerifierJavaType.IsThis(type))
61 type = ((RuntimeVerifierJavaType)type).UnderlyingType;
66 internal RuntimeJavaType GetRawStackTypeWrapper(
int pc,
int pos)
68 return _state[pc].GetStackSlot(pos);
71 internal bool IsStackTypeExtendedDouble(
int pc,
int pos)
76 internal RuntimeJavaType GetLocalTypeWrapper(
int pc,
int local)
78 return _state[pc].GetLocalTypeEx(local);
Maintains services relevant to an instane of the IKVM runtime.
RuntimeVerifierJavaTypeFactory VerifierJavaTypeFactory
Gets the RuntimeVerifierJavaTypeFactory associated with this instance of the runtime.