comparison graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/AbstractStateSplit.java @ 6521:2a0c9f20baa1

consolidated framework for runtime and stub calls and moved declaration of descriptors for such calls to the source file in which they are used
author Doug Simon <doug.simon@oracle.com>
date Fri, 05 Oct 2012 17:55:12 +0200
parents 3035b6b881d9
children feb579677b58
comparison
equal deleted inserted replaced
6520:14d158886ce0 6521:2a0c9f20baa1
20 * or visit www.oracle.com if you need additional information or have any 20 * or visit www.oracle.com if you need additional information or have any
21 * questions. 21 * questions.
22 */ 22 */
23 package com.oracle.graal.nodes; 23 package com.oracle.graal.nodes;
24 24
25 import com.oracle.graal.api.code.*;
25 import com.oracle.graal.nodes.type.*; 26 import com.oracle.graal.nodes.type.*;
26 27
27 /** 28 /**
28 * Provides an implementation of {@link StateSplit}. 29 * Provides an implementation of {@link StateSplit}.
29 */ 30 */
39 assert x == null || x.isAlive() : "frame state must be in a graph"; 40 assert x == null || x.isAlive() : "frame state must be in a graph";
40 updateUsages(stateAfter, x); 41 updateUsages(stateAfter, x);
41 stateAfter = x; 42 stateAfter = x;
42 } 43 }
43 44
44 public boolean hasSideEffect() { 45 public boolean hasSideEffect(CodeCacheProvider runtime) {
45 return true; 46 return true;
46 } 47 }
47 48
48 public AbstractStateSplit(Stamp stamp) { 49 public AbstractStateSplit(Stamp stamp) {
49 super(stamp); 50 super(stamp);