OLD | NEW |
1 // Derived from Inferno utils/8c/txt.c | 1 // Derived from Inferno utils/8c/txt.c |
2 // http://code.google.com/p/inferno-os/source/browse/utils/8c/txt.c | 2 // http://code.google.com/p/inferno-os/source/browse/utils/8c/txt.c |
3 // | 3 // |
4 // Copyright © 1994-1999 Lucent Technologies Inc. All rights reserved. | 4 // Copyright © 1994-1999 Lucent Technologies Inc. All rights reserved. |
5 // Portions Copyright © 1995-1997 C H Forsyth (forsyth@terzarima.net) | 5 // Portions Copyright © 1995-1997 C H Forsyth (forsyth@terzarima.net) |
6 // Portions Copyright © 1997-1999 Vita Nuova Limited | 6 // Portions Copyright © 1997-1999 Vita Nuova Limited |
7 // Portions Copyright © 2000-2007 Vita Nuova Holdings Limited (www.vitanuov
a.com) | 7 // Portions Copyright © 2000-2007 Vita Nuova Holdings Limited (www.vitanuov
a.com) |
8 // Portions Copyright © 2004,2006 Bruce Ellis | 8 // Portions Copyright © 2004,2006 Bruce Ellis |
9 // Portions Copyright © 2005-2007 C H Forsyth (forsyth@terzarima.net) | 9 // Portions Copyright © 2005-2007 C H Forsyth (forsyth@terzarima.net) |
10 // Revisions Copyright © 2000-2007 Lucent Technologies Inc. and others | 10 // Revisions Copyright © 2000-2007 Lucent Technologies Inc. and others |
(...skipping 1729 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1740 switch(as) { | 1740 switch(as) { |
1741 case AMOVB: | 1741 case AMOVB: |
1742 case AMOVW: | 1742 case AMOVW: |
1743 case AMOVL: | 1743 case AMOVL: |
1744 if(f != N && t != N && samaddr(f, t)) | 1744 if(f != N && t != N && samaddr(f, t)) |
1745 return nil; | 1745 return nil; |
1746 break; | 1746 break; |
1747 ········ | 1747 ········ |
1748 case ALEAL: | 1748 case ALEAL: |
1749 if(f != N && isconst(f, CTNIL)) | 1749 if(f != N && isconst(f, CTNIL)) |
1750 » » » fatal("gins LEAQ nil %T", f->type); | 1750 » » » fatal("gins LEAL nil %T", f->type); |
1751 break; | 1751 break; |
1752 } | 1752 } |
1753 | 1753 |
1754 memset(&af, 0, sizeof af); | 1754 memset(&af, 0, sizeof af); |
1755 memset(&at, 0, sizeof at); | 1755 memset(&at, 0, sizeof at); |
1756 if(f != N) | 1756 if(f != N) |
1757 naddr(f, &af, 1); | 1757 naddr(f, &af, 1); |
1758 if(t != N) | 1758 if(t != N) |
1759 naddr(t, &at, 1); | 1759 naddr(t, &at, 1); |
1760 p = prog(as); | 1760 p = prog(as); |
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2032 | 2032 |
2033 int | 2033 int |
2034 sudoaddable(int as, Node *n, Addr *a) | 2034 sudoaddable(int as, Node *n, Addr *a) |
2035 { | 2035 { |
2036 USED(as); | 2036 USED(as); |
2037 USED(n); | 2037 USED(n); |
2038 USED(a); | 2038 USED(a); |
2039 | 2039 |
2040 return 0; | 2040 return 0; |
2041 } | 2041 } |
OLD | NEW |