Mercurial > hg > truffle
comparison graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/nodes/NewMultiArrayStubCall.java @ 12361:ec57cc36371e
introduced @InjectedNodeParameter annotation to make injection of arguments during node intrinsification more extensible
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Fri, 11 Oct 2013 21:58:41 +0200 |
parents | 23ccaa863eda |
children | f53dc8bbb88c |
comparison
equal
deleted
inserted
replaced
12360:cfba4fd3d616 | 12361:ec57cc36371e |
---|---|
41 @Input private ValueNode dims; | 41 @Input private ValueNode dims; |
42 private final int rank; | 42 private final int rank; |
43 | 43 |
44 public static final ForeignCallDescriptor NEW_MULTI_ARRAY = new ForeignCallDescriptor("new_multi_array", Object.class, Word.class, int.class, Word.class); | 44 public static final ForeignCallDescriptor NEW_MULTI_ARRAY = new ForeignCallDescriptor("new_multi_array", Object.class, Word.class, int.class, Word.class); |
45 | 45 |
46 public NewMultiArrayStubCall(MetaAccessProvider metaAccess, ValueNode hub, int rank, ValueNode dims) { | 46 public NewMultiArrayStubCall(@InjectedNodeParameter MetaAccessProvider metaAccess, ValueNode hub, int rank, ValueNode dims) { |
47 super(metaAccess, NEW_MULTI_ARRAY, defaultStamp); | 47 super(metaAccess, NEW_MULTI_ARRAY, defaultStamp); |
48 this.hub = hub; | 48 this.hub = hub; |
49 this.rank = rank; | 49 this.rank = rank; |
50 this.dims = dims; | 50 this.dims = dims; |
51 } | 51 } |