Initializes a new instance.
112 {
113#if IMPORTER || EXPORTER
114 var typeofByteCodeHelper = ((
IkvmReflectionTypeSymbol)context.Resolver.ResolveRuntimeType(
"IKVM.Runtime.ByteCodeHelper")).UnderlyingType;
115#else
116 var typeofByteCodeHelper = ((
ReflectionTypeSymbol)context.Resolver.ResolveRuntimeType(
"IKVM.Runtime.ByteCodeHelper")).UnderlyingType;
117#endif
118 multianewarray = GetHelper(typeofByteCodeHelper, "multianewarray");
119 multianewarray_ghost = GetHelper(typeofByteCodeHelper, "multianewarray_ghost");
120 anewarray_ghost = GetHelper(typeofByteCodeHelper, "anewarray_ghost");
121 f2i = GetHelper(typeofByteCodeHelper, "f2i");
122 d2i = GetHelper(typeofByteCodeHelper, "d2i");
123 f2l = GetHelper(typeofByteCodeHelper, "f2l");
124 d2l = GetHelper(typeofByteCodeHelper, "d2l");
125 arraycopy_fast = GetHelper(typeofByteCodeHelper, "arraycopy_fast");
126 arraycopy_primitive_8 = GetHelper(typeofByteCodeHelper, "arraycopy_primitive_8");
127 arraycopy_primitive_4 = GetHelper(typeofByteCodeHelper, "arraycopy_primitive_4");
128 arraycopy_primitive_2 = GetHelper(typeofByteCodeHelper, "arraycopy_primitive_2");
129 arraycopy_primitive_1 = GetHelper(typeofByteCodeHelper, "arraycopy_primitive_1");
130 arraycopy = GetHelper(typeofByteCodeHelper, "arraycopy");
131 DynamicCast = GetHelper(typeofByteCodeHelper, "DynamicCast");
132 DynamicAaload = GetHelper(typeofByteCodeHelper, "DynamicAaload");
133 DynamicAastore = GetHelper(typeofByteCodeHelper, "DynamicAastore");
134 DynamicClassLiteral = GetHelper(typeofByteCodeHelper, "DynamicClassLiteral");
135 DynamicMultianewarray = GetHelper(typeofByteCodeHelper, "DynamicMultianewarray");
136 DynamicNewarray = GetHelper(typeofByteCodeHelper, "DynamicNewarray");
137 DynamicNewCheckOnly = GetHelper(typeofByteCodeHelper, "DynamicNewCheckOnly");
138 DynamicCreateDelegate = GetHelper(typeofByteCodeHelper, "DynamicCreateDelegate");
139 DynamicLoadMethodType = GetHelper(typeofByteCodeHelper, "DynamicLoadMethodType");
140 DynamicLoadMethodHandle = GetHelper(typeofByteCodeHelper, "DynamicLoadMethodHandle");
141 DynamicBinderMemberLookup = GetHelper(typeofByteCodeHelper, "DynamicBinderMemberLookup");
142 DynamicMapException = GetHelper(typeofByteCodeHelper, "DynamicMapException");
143 DynamicCallerID = GetHelper(typeofByteCodeHelper, "DynamicCallerID");
144 DynamicLinkIndyCallSite = GetHelper(typeofByteCodeHelper, "DynamicLinkIndyCallSite");
145 DynamicEraseInvokeExact = GetHelper(typeofByteCodeHelper, "DynamicEraseInvokeExact");
146 VerboseCastFailure = GetHelper(typeofByteCodeHelper, "VerboseCastFailure");
147 SkipFinalizer = GetHelper(typeofByteCodeHelper,
"SkipFinalizer",
new Type[] { });
148 SkipFinalizerOf = GetHelper(typeofByteCodeHelper,
"SkipFinalizer",
new Type[] { context.Types.Object });
149 DynamicInstanceOf = GetHelper(typeofByteCodeHelper, "DynamicInstanceOf");
150 VolatileReadBoolean = GetHelper(typeofByteCodeHelper,
"VolatileRead",
new Type[] { context.Types.Boolean.MakeByRefType() });
151 VolatileReadByte = GetHelper(typeofByteCodeHelper,
"VolatileRead",
new Type[] { context.Types.Byte.MakeByRefType() });
152 VolatileReadChar = GetHelper(typeofByteCodeHelper,
"VolatileRead",
new Type[] { context.Types.Char.MakeByRefType() });
153 VolatileReadShort = GetHelper(typeofByteCodeHelper,
"VolatileRead",
new Type[] { context.Types.Int16.MakeByRefType() });
154 VolatileReadInt = GetHelper(typeofByteCodeHelper,
"VolatileRead",
new Type[] { context.Types.Int32.MakeByRefType() });
155 VolatileReadLong = GetHelper(typeofByteCodeHelper,
"VolatileRead",
new Type[] { context.Types.Int64.MakeByRefType() });
156 VolatileReadFloat = GetHelper(typeofByteCodeHelper,
"VolatileRead",
new Type[] { context.Types.Single.MakeByRefType() });
157 VolatileReadDouble = GetHelper(typeofByteCodeHelper,
"VolatileRead",
new Type[] { context.Types.Double.MakeByRefType() });
158 VolatileWriteBoolean = GetHelper(typeofByteCodeHelper,
"VolatileWrite",
new Type[] { context.Types.Boolean.MakeByRefType(), context.Types.Boolean });
159 VolatileWriteByte = GetHelper(typeofByteCodeHelper,
"VolatileWrite",
new Type[] { context.Types.Byte.MakeByRefType(), context.Types.Byte });
160 VolatileWriteChar = GetHelper(typeofByteCodeHelper,
"VolatileWrite",
new Type[] { context.Types.Char.MakeByRefType(), context.Types.Char });
161 VolatileWriteShort = GetHelper(typeofByteCodeHelper,
"VolatileWrite",
new Type[] { context.Types.Int16.MakeByRefType(), context.Types.Int16 });
162 VolatileWriteInt = GetHelper(typeofByteCodeHelper,
"VolatileWrite",
new Type[] { context.Types.Int32.MakeByRefType(), context.Types.Int32 });
163 VolatileWriteLong = GetHelper(typeofByteCodeHelper,
"VolatileWrite",
new Type[] { context.Types.Int64.MakeByRefType(), context.Types.Int64 });
164 VolatileWriteFloat = GetHelper(typeofByteCodeHelper,
"VolatileWrite",
new Type[] { context.Types.Single.MakeByRefType(), context.Types.Single });
165 VolatileWriteDouble = GetHelper(typeofByteCodeHelper,
"VolatileWrite",
new Type[] { context.Types.Double.MakeByRefType(), context.Types.Double });
166 CompareAndSwapObject = GetHelper(typeofByteCodeHelper, "CompareAndSwap", new[] { context.Types.Object.MakeByRefType(), context.Types.Object, context.Types.Object });
167 CompareAndSwapInt = GetHelper(typeofByteCodeHelper, "CompareAndSwap", new[] { context.Types.Int32.MakeByRefType(), context.Types.Int32, context.Types.Int32 });
168 CompareAndSwapLong = GetHelper(typeofByteCodeHelper, "CompareAndSwap", new[] { context.Types.Int64.MakeByRefType(), context.Types.Int64, context.Types.Int64 });
169 CompareAndSwapDouble = GetHelper(typeofByteCodeHelper, "CompareAndSwap", new[] { context.Types.Double.MakeByRefType(), context.Types.Double, context.Types.Double });
170 MapException = GetHelper(typeofByteCodeHelper, "MapException");
171 GetDelegateForInvokeExact = GetHelper(typeofByteCodeHelper, "GetDelegateForInvokeExact");
172 GetDelegateForInvoke = GetHelper(typeofByteCodeHelper, "GetDelegateForInvoke");
173 GetDelegateForInvokeBasic = GetHelper(typeofByteCodeHelper, "GetDelegateForInvokeBasic");
174 LoadMethodType = GetHelper(typeofByteCodeHelper, "LoadMethodType");
175 LinkIndyCallSite = GetHelper(typeofByteCodeHelper, "LinkIndyCallSite");
176 }
IKVM.Reflection.Type Type