Mercurial > hg > graal-compiler
changeset 7514:6bf569d50989
disabled auto-formatting of some code sections that use manual alignment
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Tue, 22 Jan 2013 17:46:40 +0100 |
parents | 9b2262afcb0d |
children | 44d92b447951 |
files | graal/com.oracle.graal.amd64/src/com/oracle/graal/amd64/AMD64.java graal/com.oracle.graal.bytecode/src/com/oracle/graal/bytecode/Bytecodes.java |
diffstat | 2 files changed, 7 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/graal/com.oracle.graal.amd64/src/com/oracle/graal/amd64/AMD64.java Tue Jan 22 16:54:50 2013 +0100 +++ b/graal/com.oracle.graal.amd64/src/com/oracle/graal/amd64/AMD64.java Tue Jan 22 17:46:40 2013 +0100 @@ -34,6 +34,8 @@ */ public class AMD64 extends Architecture { + // @formatter:off + // General purpose CPU registers public static final Register rax = new Register(0, 0, 8, "rax", CPU, RegisterFlag.Byte); public static final Register rcx = new Register(1, 1, 8, "rcx", CPU, RegisterFlag.Byte); @@ -114,4 +116,5 @@ r15.encoding + 1, 8); } + // @formatter:on }
--- a/graal/com.oracle.graal.bytecode/src/com/oracle/graal/bytecode/Bytecodes.java Tue Jan 22 16:54:50 2013 +0100 +++ b/graal/com.oracle.graal.bytecode/src/com/oracle/graal/bytecode/Bytecodes.java Tue Jan 22 17:46:40 2013 +0100 @@ -40,6 +40,7 @@ * information in the second and third bytes. */ public class Bytecodes { + // @formatter:off public static final int NOP = 0; // 0x00 public static final int ACONST_NULL = 1; // 0x01 public static final int ICONST_M1 = 2; // 0x02 @@ -246,6 +247,7 @@ public static final int ILLEGAL = 255; public static final int END = 256; + // @formatter:on /** * The last opcode defined by the JVM specification. To iterate over all JVM bytecodes: @@ -356,6 +358,7 @@ private static final int[] compilationComplexityArray = new int[256]; // Checkstyle: stop + // @formatter:off static { def(NOP , "nop" , "b" , 0); def(ACONST_NULL , "aconst_null" , "b" , 0); @@ -561,6 +564,7 @@ def(JSR_W , "jsr_w" , "boooo", 0, STOP | BRANCH); def(BREAKPOINT , "breakpoint" , "b" , 0, TRAP); } + // @formatter:on // Checkstyle: resume /**