mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-27 14:02:19 +00:00
debug cleanup
This commit is contained in:
parent
752c5d0655
commit
230a8cf42e
2 changed files with 0 additions and 6 deletions
|
|
@ -62,9 +62,6 @@ namespace Indy.IL2CPU.IL.X86 {
|
||||||
|
|
||||||
public Call(Instruction aInstruction, MethodInformation aMethodInfo)
|
public Call(Instruction aInstruction, MethodInformation aMethodInfo)
|
||||||
: base(aInstruction, aMethodInfo) {
|
: base(aInstruction, aMethodInfo) {
|
||||||
if (aInstruction.ToString() == "Callvirt !0[] System.Collections.Generic.List`1<System.String>::ToArray()") {
|
|
||||||
System.Diagnostics.Debugger.Break();
|
|
||||||
}
|
|
||||||
MethodReference xMethod = ((MethodReference)aInstruction.Operand);
|
MethodReference xMethod = ((MethodReference)aInstruction.Operand);
|
||||||
Initialize(xMethod);
|
Initialize(xMethod);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -16,9 +16,6 @@ namespace Indy.IL2CPU.IL.X86 {
|
||||||
private readonly int mArgumentCount;
|
private readonly int mArgumentCount;
|
||||||
public Callvirt(Instruction aInstruction, MethodInformation aMethodInfo)
|
public Callvirt(Instruction aInstruction, MethodInformation aMethodInfo)
|
||||||
: base(aInstruction, aMethodInfo) {
|
: base(aInstruction, aMethodInfo) {
|
||||||
if (aInstruction.Operand.ToString() == "!0[] System.Collections.Generic.List`1<System.String>::ToArray()") {
|
|
||||||
System.Diagnostics.Debugger.Break();
|
|
||||||
}
|
|
||||||
int xThisOffSet = (from item in aMethodInfo.Locals
|
int xThisOffSet = (from item in aMethodInfo.Locals
|
||||||
select item.Offset + item.Size).LastOrDefault();
|
select item.Offset + item.Size).LastOrDefault();
|
||||||
MethodReference xMethod = aInstruction.Operand as MethodReference;
|
MethodReference xMethod = aInstruction.Operand as MethodReference;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue