Mercurial > hg > graal-compiler
comparison graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/nodes/InitializeArrayNode.java @ 8501:41fc46da946a
-More fixes and passrate(fop)
author | Christos Kotselidis <christos.kotselidis@oracle.com> |
---|---|
date | Wed, 06 Mar 2013 19:35:04 +0100 |
parents | 96a337d307bd |
children | c92949b1ec8a |
comparison
equal
deleted
inserted
replaced
8500:992f62c457b0 | 8501:41fc46da946a |
---|---|
21 * questions. | 21 * questions. |
22 */ | 22 */ |
23 package com.oracle.graal.hotspot.nodes; | 23 package com.oracle.graal.hotspot.nodes; |
24 | 24 |
25 import com.oracle.graal.api.meta.*; | 25 import com.oracle.graal.api.meta.*; |
26 import com.oracle.graal.hotspot.*; | 26 import com.oracle.graal.hotspot.snippets.*; |
27 import com.oracle.graal.nodes.*; | 27 import com.oracle.graal.nodes.*; |
28 import com.oracle.graal.nodes.spi.*; | 28 import com.oracle.graal.nodes.spi.*; |
29 import com.oracle.graal.nodes.type.*; | 29 import com.oracle.graal.nodes.type.*; |
30 | 30 |
31 /** | 31 /** |
71 public ResolvedJavaType type() { | 71 public ResolvedJavaType type() { |
72 return type; | 72 return type; |
73 } | 73 } |
74 | 74 |
75 public boolean fillContents() { | 75 public boolean fillContents() { |
76 return HotSpotGraalRuntime.getInstance().getConfig().useG1GC ? true : fillContents; | 76 return HotSpotSnippetUtils.useG1GC() ? true : fillContents; |
77 } | 77 } |
78 | 78 |
79 public boolean locked() { | 79 public boolean locked() { |
80 return locked; | 80 return locked; |
81 } | 81 } |