comparison graal/com.oracle.max.cri/src/com/oracle/max/cri/ci/CiValue.java @ 5503:438ab53efdd0

Renaming CiKind => RiKind.
author Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
date Thu, 07 Jun 2012 17:08:33 +0200
parents aaac4894175c
children 452f91ebdb54
comparison
equal deleted inserted replaced
5502:13aee5aba8cc 5503:438ab53efdd0
23 package com.oracle.max.cri.ci; 23 package com.oracle.max.cri.ci;
24 24
25 import java.io.*; 25 import java.io.*;
26 26
27 /** 27 /**
28 * Abstract base class for values manipulated by the compiler. All values have a {@linkplain CiKind kind} and are immutable. 28 * Abstract base class for values manipulated by the compiler. All values have a {@linkplain RiKind kind} and are immutable.
29 */ 29 */
30 public abstract class CiValue implements Serializable { 30 public abstract class CiValue implements Serializable {
31 private static final long serialVersionUID = -6909397188697766469L; 31 private static final long serialVersionUID = -6909397188697766469L;
32 32
33 @SuppressWarnings("serial") 33 @SuppressWarnings("serial")
34 public static CiValue IllegalValue = new CiValue(CiKind.Illegal) { 34 public static CiValue IllegalValue = new CiValue(RiKind.Illegal) {
35 @Override 35 @Override
36 public String toString() { 36 public String toString() {
37 return "-"; 37 return "-";
38 } 38 }
39 }; 39 };
40 40
41 /** 41 /**
42 * The kind of this value. 42 * The kind of this value.
43 */ 43 */
44 public final CiKind kind; 44 public final RiKind kind;
45 45
46 /** 46 /**
47 * Initializes a new value of the specified kind. 47 * Initializes a new value of the specified kind.
48 * @param kind the kind 48 * @param kind the kind
49 */ 49 */
50 protected CiValue(CiKind kind) { 50 protected CiValue(RiKind kind) {
51 this.kind = kind; 51 this.kind = kind;
52 } 52 }
53 53
54 /** 54 /**
55 * String representation of the kind, which should be the end of all {@link #toString()} implementation of subclasses. 55 * String representation of the kind, which should be the end of all {@link #toString()} implementation of subclasses.