コード例 #1
0
 public static void DefineBuiltin(GlobalAddress address, Procedure value)
 {
     DefineBuiltin(address, (object)value);
 }
コード例 #2
0
 private void EndEmitPopGlobal(ILGenerator generator, GlobalAddress address)
 {
     generator.Emit(OpCodes.Callvirt, typeof(List <object>).GetMethod("set_Item"));
 }
コード例 #3
0
 public static void DefineBuiltin(GlobalAddress address, object value)
 {
     sGlobal.mVariables[address.index] = value;
 }
コード例 #4
0
 private void EmitLoadGlobal(ILGenerator generator, GlobalAddress address)
 {
     generator.Emit(OpCodes.Ldsfld, typeof(JITInterpreter_DS).GetField("mGlobalVariables"));
     EmitLoadInt(generator, address.index);
     generator.Emit(OpCodes.Callvirt, typeof(List <object>).GetMethod("get_Item"));
 }
コード例 #5
0
 private void BeginEmitPopGlobal(ILGenerator generator, GlobalAddress address)
 {
     generator.Emit(OpCodes.Ldsfld, typeof(JITInterpreter_DS).GetField("mGlobalVariables"));
     EmitLoadInt(generator, address.index);
 }
コード例 #6
0
 static public void DefineBuiltin(GlobalAddress address, Procedure value)
 {
     DefineBuiltin(address, (object)value);
 }
コード例 #7
0
 static public void DefineBuiltin(GlobalAddress address, object value)
 {
     sGlobal.mVariables[address.index] = value;
 }
コード例 #8
0
 private void EndEmitPopGlobal(ILGenerator generator, GlobalAddress address)
 {
     generator.Emit(OpCodes.Callvirt, typeof(List<object>).GetMethod("set_Item"));
 }
コード例 #9
0
 private void EmitLoadGlobal(ILGenerator generator, GlobalAddress address)
 {
     generator.Emit(OpCodes.Ldsfld, typeof(JITInterpreter_DS2).GetField("mGlobalVariables"));
     EmitLoadInt(generator, address.index);
     generator.Emit(OpCodes.Callvirt, typeof(List<object>).GetMethod("get_Item"));
 }
コード例 #10
0
 private void BeginEmitPopGlobal(ILGenerator generator, GlobalAddress address)
 {
     generator.Emit(OpCodes.Ldsfld, typeof(JITInterpreter_DS2).GetField("mGlobalVariables"));
     EmitLoadInt(generator, address.index);
 }