Mercurial > hg > truffle
diff truffle/com.oracle.truffle.object.basic/src/com/oracle/truffle/object/basic/DefaultLayoutFactory.java @ 22306:8bc57c7bbf88
Deprecate Layout.Builder#getAllowedImplicitCasts()
author | Andreas Woess <andreas.woess@oracle.com> |
---|---|
date | Tue, 13 Oct 2015 14:13:27 +0200 |
parents | dc83cc1f94f2 |
children |
line wrap: on
line diff
--- a/truffle/com.oracle.truffle.object.basic/src/com/oracle/truffle/object/basic/DefaultLayoutFactory.java Tue Oct 13 18:53:04 2015 +0200 +++ b/truffle/com.oracle.truffle.object.basic/src/com/oracle/truffle/object/basic/DefaultLayoutFactory.java Tue Oct 13 14:13:27 2015 +0200 @@ -30,7 +30,7 @@ public class DefaultLayoutFactory implements LayoutFactory { public Layout createLayout(Layout.Builder layoutBuilder) { - return BasicLayout.createLayoutImpl(layoutBuilder.getAllowedImplicitCasts(), new DefaultStrategy()); + return BasicLayout.createLayoutImpl(layoutBuilder, new DefaultStrategy()); } public Property createProperty(Object id, Location location) {