Mercurial > hg > graal-jvmci-8
comparison graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/parser/SLNodeFactory.java @ 13763:cad8bed1a1ac
Fix Eclipse formatter issues
author | Christian Wimmer <christian.wimmer@oracle.com> |
---|---|
date | Fri, 24 Jan 2014 18:42:52 -0800 |
parents | 7c418666c6c9 |
children | 739194d1e813 |
comparison
equal
deleted
inserted
replaced
13762:e34d5cca7496 | 13763:cad8bed1a1ac |
---|---|
216 } | 216 } |
217 return assignSource(binary); | 217 return assignSource(binary); |
218 } | 218 } |
219 | 219 |
220 public SLStatementNode createReturn(SLExpressionNode value) { | 220 public SLStatementNode createReturn(SLExpressionNode value) { |
221 // FrameSlot slot = frameDescriptor.findOrAddFrameSlot("<retval>", FrameSlotKind.Int); | |
222 // if (returnValue == null) { | |
223 // returnValue = ReadLocalNodeFactory.create(slot); | |
224 // } | |
225 // SLStatementNode write = WriteLocalNodeFactory.create(slot, value); | |
226 // return assignSource(new SLReturnNode(write)); | |
227 return assignSource(new SLReturnNode(value)); | 221 return assignSource(new SLReturnNode(value)); |
228 } | 222 } |
229 | 223 |
230 public SLStatementNode createIf(SLExpressionNode condition, SLStatementNode then, SLStatementNode elseNode) { | 224 public SLStatementNode createIf(SLExpressionNode condition, SLStatementNode then, SLStatementNode elseNode) { |
231 return assignSource(new SLIfNode(condition, then, elseNode)); | 225 return assignSource(new SLIfNode(condition, then, elseNode)); |
232 } | 226 } |
233 | |
234 } | 227 } |