Mercurial > hg > graal-jvmci-8
comparison graal/com.oracle.truffle.object.basic/src/com/oracle/truffle/object/basic/ShapeBasic.java @ 18623:8bf798e8cf11
OM: remember transition from parent and walk transitions instead of properties in replaceProperty,removeProperty
author | Andreas Woess <andreas.woess@jku.at> |
---|---|
date | Thu, 04 Dec 2014 18:08:22 +0100 |
parents | 2c3666f44855 |
children | 19340125f182 |
comparison
equal
deleted
inserted
replaced
18622:a306a94111a6 | 18623:8bf798e8cf11 |
---|---|
28 public final class ShapeBasic extends ShapeImpl { | 28 public final class ShapeBasic extends ShapeImpl { |
29 public ShapeBasic(Layout layout, Object sharedData, ObjectType operations, int id) { | 29 public ShapeBasic(Layout layout, Object sharedData, ObjectType operations, int id) { |
30 super(layout, operations, sharedData, id); | 30 super(layout, operations, sharedData, id); |
31 } | 31 } |
32 | 32 |
33 public ShapeBasic(Layout layout, Object sharedData, ShapeImpl parent, ObjectType operations, PropertyMap propertyMap, Allocator allocator, int id) { | 33 public ShapeBasic(Layout layout, Object sharedData, ShapeImpl parent, ObjectType objectType, PropertyMap propertyMap, Transition transition, Allocator allocator, int id) { |
34 super(layout, parent, operations, sharedData, propertyMap, allocator, id); | 34 super(layout, parent, objectType, sharedData, propertyMap, transition, allocator, id); |
35 } | 35 } |
36 | 36 |
37 @SuppressWarnings("hiding") | 37 @SuppressWarnings("hiding") |
38 @Override | 38 @Override |
39 protected ShapeImpl createShape(Layout layout, Object sharedData, ShapeImpl parent, ObjectType operations, PropertyMap propertyMap, Allocator allocator, int id) { | 39 protected ShapeImpl createShape(Layout layout, Object sharedData, ShapeImpl parent, ObjectType objectType, PropertyMap propertyMap, Transition transition, Allocator allocator, int id) { |
40 return new ShapeBasic(layout, sharedData, parent, operations, propertyMap, allocator, id); | 40 return new ShapeBasic(layout, sharedData, parent, objectType, propertyMap, transition, allocator, id); |
41 } | 41 } |
42 } | 42 } |