aboutsummaryrefslogtreecommitdiffgithub
path: root/novice/simulator/debugger.test.ts
diff options
context:
space:
mode:
authorAustin Adams <git@austinjadams.com>2019-02-05 23:00:58 -0500
committerAustin Adams <git@austinjadams.com>2019-02-05 23:00:58 -0500
commita1cf7626f6971c1f80a8511608ee5c701de2ccb4 (patch)
treef851e61dacff0fe311d0418ec8ffb6f857fdc891 /novice/simulator/debugger.test.ts
parent699bb01c1d7036bae89423cc4d5b24552cec6fbe (diff)
downloadnovice-a1cf7626f6971c1f80a8511608ee5c701de2ccb4.tar.gz
novice-a1cf7626f6971c1f80a8511608ee5c701de2ccb4.tar.xz
Try to optimize symbol lookups in debuggerHEADmaster
Diffstat (limited to 'novice/simulator/debugger.test.ts')
-rw-r--r--novice/simulator/debugger.test.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/novice/simulator/debugger.test.ts b/novice/simulator/debugger.test.ts
index c37b9ed..230807d 100644
--- a/novice/simulator/debugger.test.ts
+++ b/novice/simulator/debugger.test.ts
@@ -75,7 +75,7 @@ describe('debugger', () => {
dbg.store(0x3008, 0x0021); // bang .fill '!'
dbg.store(0x3009, 0xd000); // .fill 0xd000
- Object.assign(dbg.getSymbTable(), {
+ dbg.setSymbols({
loop: 0x3003,
// Don't include this so the branch has to have an integer
// operand in the disassembly