Mercurial > hg > graal-jvmci-8
comparison graal/com.oracle.truffle.codegen.processor/src/com/oracle/truffle/codegen/processor/node/NodeData.java @ 7519:9beb22bd83c3
disabled auto-formatting of manually formatted code
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Tue, 22 Jan 2013 20:44:15 +0100 |
parents | 6343a09b2ec1 |
children | 5e3d1a68664e |
comparison
equal
deleted
inserted
replaced
7518:e8e3bfc8a003 | 7519:9beb22bd83c3 |
---|---|
281 | 281 |
282 public SpecializationData[] getSpecializations() { | 282 public SpecializationData[] getSpecializations() { |
283 return specializations; | 283 return specializations; |
284 } | 284 } |
285 | 285 |
286 // @formatter:off | |
286 public String dump() { | 287 public String dump() { |
287 StringBuilder b = new StringBuilder(); | 288 StringBuilder b = new StringBuilder(); |
288 b.append(String.format("[name = %s\n" + | 289 b.append(String.format("[name = %s\n" + |
289 " typeSystem = %s\n" + | 290 " typeSystem = %s\n" + |
290 " fields = %s\n" + | 291 " fields = %s\n" + |
298 dumpList(getSpecializations()), | 299 dumpList(getSpecializations()), |
299 dumpList(guards) | 300 dumpList(guards) |
300 )); | 301 )); |
301 return b.toString(); | 302 return b.toString(); |
302 } | 303 } |
304 // @formatter:on | |
303 | 305 |
304 private static String dumpList(Object[] array) { | 306 private static String dumpList(Object[] array) { |
305 if (array == null) { | 307 if (array == null) { |
306 return "null"; | 308 return "null"; |
307 } | 309 } |