1
0
This commit is contained in:
otya128
2016-02-23 21:55:54 +09:00
parent df7ed4aa28
commit 60770eb2f4
2 changed files with 5 additions and 5 deletions

View File

@@ -11,7 +11,7 @@ import std.conv;
import std.stdio;
struct VMVariable
{
sizediff_t index;
int index;
ValueType type;
this(int index, ValueType type)
{
@@ -65,7 +65,7 @@ class VM
currentSlot = slots[slot];
this.slot = slot;
}
void directSlot(int start, Code[] code, sizediff_t len, VMVariable[wstring] globalTable, Function[wstring] functions, DataTable gdt/*GNU Debugging Tools*/,
void directSlot(int start, Code[] code, int len, VMVariable[wstring] globalTable, Function[wstring] functions, DataTable gdt/*GNU Debugging Tools*/,
int[wstring] globalLabel, DebugInfo dinfo)
{
this.pc = start;
@@ -82,7 +82,7 @@ class VM
c.global[v.index] = Value(v.type);
}
}
void loadSlot(int slot, Code[] code, sizediff_t len, VMVariable[wstring] globalTable, Function[wstring] functions, DataTable gdt/*GNU Debugging Tools*/,
void loadSlot(int slot, Code[] code, int len, VMVariable[wstring] globalTable, Function[wstring] functions, DataTable gdt/*GNU Debugging Tools*/,
int[wstring] globalLabel, DebugInfo dinfo)
{
auto s = this.slots[slot];