Mercurial > hg > graal-compiler
comparison graal/com.oracle.max.asm/src/com/oracle/max/asm/target/amd64/X86InstructionDecoder.java @ 4142:bc8527f3071c
Adjust code base to new level of warnings.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Sun, 18 Dec 2011 05:24:06 +0100 |
parents | e233f5660da4 |
children | 1aaf3592e516 |
comparison
equal
deleted
inserted
replaced
4141:04d21be7a24f | 4142:bc8527f3071c |
---|---|
497 assert code[pos] == 0; | 497 assert code[pos] == 0; |
498 assert code[pos + 1] == 0; | 498 assert code[pos + 1] == 0; |
499 assert code[pos + 2] == 0; | 499 assert code[pos + 2] == 0; |
500 assert code[pos + 3] == 0; | 500 assert code[pos + 3] == 0; |
501 | 501 |
502 code[pos++] = (byte) (offset & 0xFF); | 502 code[pos] = (byte) (offset & 0xFF); |
503 code[pos++] = (byte) ((offset >> 8) & 0xFF); | 503 code[pos + 1] = (byte) ((offset >> 8) & 0xFF); |
504 code[pos++] = (byte) ((offset >> 16) & 0xFF); | 504 code[pos + 2] = (byte) ((offset >> 16) & 0xFF); |
505 code[pos++] = (byte) ((offset >> 24) & 0xFF); | 505 code[pos + 3] = (byte) ((offset >> 24) & 0xFF); |
506 } | 506 } |
507 } | 507 } |