History

20080201-1732

Charles.Forsyth committed 18 years ago

Commit 86e8b831 parent 5ce13095 files · +8 −4Browse files

Unified · Split

5 files
  1. CHANGES +2 −0
  2. appl/cmd/limbo/gen.b +2 −1
  3. dis/limbo.dis +0 −0
  4. include/version.h +1 −1
  5. limbo/gen.c +4 −3
CHANGES+2−0
@@ -1,3 +1,5 @@
1+20080201
2+ change foldbranch in limbo/gen.c to prevent loss of `no return value' diagnostics
13 20080131
24 update emu/Nt/^(os.c ie-os.c ie-win.c ie emu), but properly this time [issue 81]
35 remove _USE_32BIT_TIME_T from Nt/386/include/lib9.h, and time() def'n from emu/Nt/*.c [issue 81]
appl/cmd/limbo/gen.b+2−1
@@ -562,7 +562,8 @@ foldbranch(in: ref Inst) · 561 unmodified lines
562562 next := in.next;
563563 *in = *b;
564564 in.next = next;
565− # b.reach = byte 1;
565+ if(b.op == IRET)
566+ b.reach = byte 1; # might be default return (TO DO)
566567 continue;
567568 }
568569 foldbranch(in.branch);
dis/limbo.dis+0−0

Binary file not shown.

include/version.h+1−1
@@ -1 +1 @@
1−#define VERSION "Fourth Edition (20080131)"
1+#define VERSION "Fourth Edition (20080201)"
limbo/gen.c+4−3
@@ -590,10 +590,11 @@ foldbranch(Inst *in) · 589 unmodified lines
590590 next = in->next;
591591 *in = *b;
592592 in->next = next;
593− /* b->reach = 1; */ /* why ? */
593+ if(b->op == IRET)
594+ b->reach = 1; /* might be default return (TO DO) */
594595 continue;
595596 }
596− foldbranch(in->branch);
597+ foldbranch(b);
597598 return;
598599 default:
599600 if(in->branch != nil)
@@ -976,7 +977,7 @@ instconv(Fmt *f) · 376 unmodified lines
976977
977978 in = va_arg(f->args, Inst*);
978979 op = nil;
979− if(in->op >= 0 && in->op < MAXDIS)
980+ if(in->op < MAXDIS)
980981 op = instname[in->op];
981982 if(op == nil)
982983 op = "??";

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t