Mercurial > hg > truffle
comparison graal/com.oracle.max.cri/src/com/sun/cri/ci/CiStackSlot.java @ 4169:f5328dda9714
Initial commit of SSA-based spill-all register assignment
author | Christian Wimmer <Christian.Wimmer@Oracle.com> |
---|---|
date | Wed, 28 Dec 2011 18:13:25 -0800 |
parents | bc8527f3071c |
children | 319860ae697a |
comparison
equal
deleted
inserted
replaced
4168:0bc4815d2069 | 4169:f5328dda9714 |
---|---|
27 * or an incoming stack-based argument in a method's {@linkplain #inCallerFrame() caller's frame}. | 27 * or an incoming stack-based argument in a method's {@linkplain #inCallerFrame() caller's frame}. |
28 */ | 28 */ |
29 public final class CiStackSlot extends CiValue { | 29 public final class CiStackSlot extends CiValue { |
30 | 30 |
31 /** | 31 /** |
32 * | 32 * |
33 */ | 33 */ |
34 private static final long serialVersionUID = -7725071921307318433L; | 34 private static final long serialVersionUID = -7725071921307318433L; |
35 | 35 |
36 /** | 36 /** |
37 * @see CiStackSlot#index() | 37 * @see CiStackSlot#index() |
120 } | 120 } |
121 return false; | 121 return false; |
122 } | 122 } |
123 | 123 |
124 @Override | 124 @Override |
125 public String name() { | 125 public String toString() { |
126 return (inCallerFrame() ? "caller-stack" : "stack:") + index(); | 126 return (inCallerFrame() ? "caller-stack" : "stack:") + index() + kindSuffix(); |
127 } | 127 } |
128 | 128 |
129 /** | 129 /** |
130 * Determines if this is a stack slot in the caller's frame. | 130 * Determines if this is a stack slot in the caller's frame. |
131 */ | 131 */ |