Mercurial > hg > truffle
comparison graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/java/NewArrayNode.java @ 18163:c88ab4f1f04a
re-enabled Checkstyle with the release of 6.0 that supports Java 8; fixed existing Checkstyle warnings
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Fri, 24 Oct 2014 16:18:10 +0200 |
parents | 45b45f902bed |
children | 9619ba4daf4c |
comparison
equal
deleted
inserted
replaced
18162:ab62800259ff | 18163:c88ab4f1f04a |
---|---|
55 protected NewArrayNode(ResolvedJavaType elementType, ValueNode length, boolean fillContents) { | 55 protected NewArrayNode(ResolvedJavaType elementType, ValueNode length, boolean fillContents) { |
56 super(StampFactory.exactNonNull(elementType.getArrayClass()), length, fillContents); | 56 super(StampFactory.exactNonNull(elementType.getArrayClass()), length, fillContents); |
57 } | 57 } |
58 | 58 |
59 @NodeIntrinsic | 59 @NodeIntrinsic |
60 static private native Object newArray(@ConstantNodeParameter Class<?> elementType, int length, @ConstantNodeParameter boolean fillContents); | 60 private static native Object newArray(@ConstantNodeParameter Class<?> elementType, int length, @ConstantNodeParameter boolean fillContents); |
61 | 61 |
62 public static Object newUninitializedArray(Class<?> elementType, int length) { | 62 public static Object newUninitializedArray(Class<?> elementType, int length) { |
63 return newArray(elementType, length, false); | 63 return newArray(elementType, length, false); |
64 } | 64 } |
65 | 65 |