Mercurial > hg > graal-compiler
comparison graal/com.oracle.max.cri/src/com/oracle/max/cri/xir/XirSnippet.java @ 5540:a891c53a295b
Renaming RiKind => Kind.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Fri, 08 Jun 2012 23:47:42 +0200 |
parents | 426c605c9d3c |
children | e42c0df7212a |
comparison
equal
deleted
inserted
replaced
5539:bc647d8b0080 | 5540:a891c53a295b |
---|---|
56 } | 56 } |
57 return true; | 57 return true; |
58 } | 58 } |
59 | 59 |
60 private static boolean assertArgumentCorrect(XirParameter param, XirArgument arg) { | 60 private static boolean assertArgumentCorrect(XirParameter param, XirArgument arg) { |
61 if (param.kind == RiKind.Illegal || param.kind == RiKind.Void) { | 61 if (param.kind == Kind.Illegal || param.kind == Kind.Void) { |
62 if (arg != null) { | 62 if (arg != null) { |
63 return false; | 63 return false; |
64 } | 64 } |
65 } else { | 65 } else { |
66 if (arg == null) { | 66 if (arg == null) { |