blob: 0b591d46cec3b3a69b550bdf2202abd113bfb00b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
using System.Reflection;
using System.Reflection.Emit;
namespace ChocolArm64.Translation
{
struct ILOpCodeCall : IILEmit
{
private MethodInfo _mthdInfo;
public ILOpCodeCall(MethodInfo mthdInfo)
{
_mthdInfo = mthdInfo;
}
public void Emit(ILEmitter context)
{
context.Generator.Emit(OpCodes.Call, _mthdInfo);
}
}
}
|