Mercurial > hg > graal-compiler
comparison graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/nodes/SLRootNode.java @ 13807:533b21375e58
SL: migration to Truffle CallNode.
author | Christian Humer <christian.humer@gmail.com> |
---|---|
date | Tue, 28 Jan 2014 13:37:07 +0100 |
parents | 739194d1e813 |
children | b16ec83edc73 |
comparison
equal
deleted
inserted
replaced
13806:0a20f43a4a78 | 13807:533b21375e58 |
---|---|
73 return inlineImmediatly; | 73 return inlineImmediatly; |
74 } | 74 } |
75 | 75 |
76 @Override | 76 @Override |
77 public RootNode inline() { | 77 public RootNode inline() { |
78 return new FunctionRootNode(getFrameDescriptor().shallowCopy(), NodeUtil.cloneNode(uninitializedBody), name, inlineImmediatly); | 78 return new SLRootNode(getFrameDescriptor().shallowCopy(), NodeUtil.cloneNode(uninitializedBody), name, inlineImmediatly); |
79 } | 79 } |
80 | 80 |
81 @Override | 81 @Override |
82 public int getInlineNodeCount() { | 82 public int getInlineNodeCount() { |
83 return NodeUtil.countNodes(uninitializedBody); | 83 return NodeUtil.countNodes(uninitializedBody); |