44 _sp = state[
_pc].GetStackHeight();
47 internal RuntimeJavaType PeekType()
50 throw new VerifyError(
"Unable to pop operand off an empty stack");
59 internal RuntimeJavaType PopAnyType()
62 throw new VerifyError(
"Unable to pop operand off an empty stack");
66 if (RuntimeVerifierJavaType.IsThis(type))
67 type = ((RuntimeVerifierJavaType)type).UnderlyingType;
69 if (RuntimeVerifierJavaType.IsFaultBlockException(type))
71 RuntimeVerifierJavaType.ClearFaultBlockException(type);
72 type = type.Context.JavaBase.TypeOfjavaLangThrowable;
78 internal RuntimeJavaType PopType(RuntimeJavaType baseType)
80 return InstructionState.PopTypeImpl(baseType, PopAnyType());
84 internal RuntimeJavaType PopType()
86 return InstructionState.PopTypeImpl(PopAnyType());
89 internal void PopInt()
91 InstructionState.PopIntImpl(PopAnyType());
94 internal void PopFloat()
96 InstructionState.PopFloatImpl(PopAnyType());
99 internal void PopDouble()
101 InstructionState.PopDoubleImpl(PopAnyType());
104 internal void PopLong()
106 InstructionState.PopLongImpl(PopAnyType());
109 internal RuntimeJavaType PopArrayType()
111 return InstructionState.PopArrayTypeImpl(PopAnyType());
118 internal RuntimeJavaType PopObjectType()
120 return InstructionState.PopObjectTypeImpl(PopAnyType());
128 internal RuntimeJavaType PopObjectType(RuntimeJavaType baseType)
130 return InstructionState.PopObjectTypeImpl(baseType, PopObjectType());