cardiograph - Remove old debug logging
This commit is contained in:
parent
19784b56b6
commit
e9d721042b
|
|
@ -27,13 +27,10 @@ async function main() {
|
||||||
|
|
||||||
if (!debuggable) {
|
if (!debuggable) {
|
||||||
code = new Uint8Array(input.split(' '));
|
code = new Uint8Array(input.split(' '));
|
||||||
dbg.nit(code);
|
|
||||||
} else {
|
} else {
|
||||||
const parsedInput = JSON.parse(input);
|
const parsedInput = JSON.parse(input);
|
||||||
code = new Uint8Array(parsedInput.machineCode);
|
code = new Uint8Array(parsedInput.machineCode);
|
||||||
sourceInfo = parsedInput.sourceInfo;
|
sourceInfo = parsedInput.sourceInfo;
|
||||||
dbg.nit(code);
|
|
||||||
dbg.nit(sourceInfo);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
cpu.loadMemory(code);
|
cpu.loadMemory(code);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue