projects
/
cacao.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f8791fc
)
* src/vm/jit/intrp/java.vmg (LOOKUPSWITCH): No point in using >= 0 on
author
edwin
<none@none>
Wed, 4 Oct 2006 16:42:41 +0000
(16:42 +0000)
committer
edwin
<none@none>
Wed, 4 Oct 2006 16:42:41 +0000
(16:42 +0000)
an unsigned variable.
src/vm/jit/intrp/java.vmg
patch
|
blob
|
history
diff --git
a/src/vm/jit/intrp/java.vmg
b/src/vm/jit/intrp/java.vmg
index 4f2ea7ba34eda921eccfecd7331070c02f16b792..a8ee027eec611778a0b25980e7162f9ed00b7af1 100644
(file)
--- a/
src/vm/jit/intrp/java.vmg
+++ b/
src/vm/jit/intrp/java.vmg
@@
-813,7
+813,7
@@
LOOKUPSWITCH ( #iNpairs #addrSegment #iOffset #ainstDefault iKey -- ) 0xab
/* Note: This code should use a binary search, as
the table is sorted. Note also, we reversed the order
of the parms */
/* Note: This code should use a binary search, as
the table is sorted. Note also, we reversed the order
of the parms */
-
unsigned
i;
+
int
i;
i = iNpairs;
i = iNpairs;