comparison graal/com.oracle.truffle.api/src/com/oracle/truffle/api/nodes/NodeUtil.java @ 15089:448338c9ce96

Truffle: Made inlining context-insensitive again to reduce complexity.
author Christian Humer <christian.humer@gmail.com>
date Mon, 14 Apr 2014 18:25:23 +0200
parents 1422f0bd55e3
children 07e7aae05983
comparison
equal deleted inserted replaced
15088:d3add9b82b71 15089:448338c9ce96
636 nodeCount++; 636 nodeCount++;
637 } 637 }
638 638
639 if (visitInlinedCallNodes && node instanceof CallNode) { 639 if (visitInlinedCallNodes && node instanceof CallNode) {
640 CallNode call = (CallNode) node; 640 CallNode call = (CallNode) node;
641 if (call.isInlined()) { 641 if (call.isInliningForced()) {
642 Node target = ((RootCallTarget) call.getCurrentCallTarget()).getRootNode(); 642 Node target = ((RootCallTarget) call.getCurrentCallTarget()).getRootNode();
643 if (target != null) { 643 if (target != null) {
644 target.accept(this); 644 target.accept(this);
645 } 645 }
646 } 646 }