aboutsummaryrefslogtreecommitdiffgithub
path: root/novice/assembler/codegen/codegen.ts
diff options
context:
space:
mode:
Diffstat (limited to 'novice/assembler/codegen/codegen.ts')
-rw-r--r--novice/assembler/codegen/codegen.ts6
1 files changed, 2 insertions, 4 deletions
diff --git a/novice/assembler/codegen/codegen.ts b/novice/assembler/codegen/codegen.ts
index 290a11f..7ea3d21 100644
--- a/novice/assembler/codegen/codegen.ts
+++ b/novice/assembler/codegen/codegen.ts
@@ -1,9 +1,7 @@
-import { Assembly, Isa, MachineCodeSection, SymbTable } from '../../isa';
-import { PseudoOpSpec } from '../opspec';
+import { Assembly, MachineCodeSection, SymbTable } from '../../isa';
interface MachineCodeGenerator {
- gen(isa: Isa, opSpec: PseudoOpSpec, asm: Assembly):
- [SymbTable, MachineCodeSection[]];
+ gen(asm: Assembly): [SymbTable, MachineCodeSection[]];
}
export { MachineCodeGenerator };