Mercurial > hg > graal-compiler
comparison graal/com.oracle.truffle.object/src/com/oracle/truffle/object/Transition.java @ 18626:ce46f909c176
OM: record replaceProperty transitions
author | Andreas Woess <andreas.woess@jku.at> |
---|---|
date | Thu, 04 Dec 2014 19:31:45 +0100 |
parents | 073e7f314516 |
children | 19340125f182 |
comparison
equal
deleted
inserted
replaced
18625:073e7f314516 | 18626:ce46f909c176 |
---|---|
131 public boolean isDirect() { | 131 public boolean isDirect() { |
132 return true; | 132 return true; |
133 } | 133 } |
134 } | 134 } |
135 | 135 |
136 public static final class PropertyTypeTransition extends PropertyTransition { | 136 public static final class ReplacePropertyTransition extends PropertyTransition { |
137 private final Property after; | 137 private final Property after; |
138 | 138 |
139 public PropertyTypeTransition(Property before, Property after) { | 139 public ReplacePropertyTransition(Property before, Property after) { |
140 super(before); | 140 super(before); |
141 this.after = after; | 141 this.after = after; |
142 } | 142 } |
143 | 143 |
144 public Property getPropertyBefore() { | 144 public Property getPropertyBefore() { |