Mercurial > hg > graal-compiler
comparison graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/nodes/controlflow/SLFunctionBodyNode.java @ 16685:888907296590
Backed out changeset: d654cd5ed05a
author | Michael Van De Vanter <michael.van.de.vanter@oracle.com> |
---|---|
date | Fri, 01 Aug 2014 18:14:43 -0700 |
parents | d654cd5ed05a |
children | 7c8ddb4233cd |
comparison
equal
deleted
inserted
replaced
16684:d654cd5ed05a | 16685:888907296590 |
---|---|
22 */ | 22 */ |
23 package com.oracle.truffle.sl.nodes.controlflow; | 23 package com.oracle.truffle.sl.nodes.controlflow; |
24 | 24 |
25 import com.oracle.truffle.api.frame.*; | 25 import com.oracle.truffle.api.frame.*; |
26 import com.oracle.truffle.api.nodes.*; | 26 import com.oracle.truffle.api.nodes.*; |
27 import com.oracle.truffle.api.source.*; | |
28 import com.oracle.truffle.api.utilities.*; | 27 import com.oracle.truffle.api.utilities.*; |
29 import com.oracle.truffle.sl.nodes.*; | 28 import com.oracle.truffle.sl.nodes.*; |
30 import com.oracle.truffle.sl.runtime.*; | 29 import com.oracle.truffle.sl.runtime.*; |
31 | 30 |
32 /** | 31 /** |
48 * code. | 47 * code. |
49 */ | 48 */ |
50 private final BranchProfile exceptionTaken = new BranchProfile(); | 49 private final BranchProfile exceptionTaken = new BranchProfile(); |
51 private final BranchProfile nullTaken = new BranchProfile(); | 50 private final BranchProfile nullTaken = new BranchProfile(); |
52 | 51 |
53 public SLFunctionBodyNode(SourceSection src, SLStatementNode bodyNode) { | 52 public SLFunctionBodyNode(SLStatementNode bodyNode) { |
54 super(src); | 53 super(null); |
55 this.bodyNode = bodyNode; | 54 this.bodyNode = bodyNode; |
56 } | 55 } |
57 | 56 |
58 @Override | 57 @Override |
59 public Object executeGeneric(VirtualFrame frame) { | 58 public Object executeGeneric(VirtualFrame frame) { |