Skip to content

Commit 75d59b6

Browse files
fangerertimfel
authored andcommitted
Add missing 'insert'.
1 parent 62d71e4 commit 75d59b6

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/cext/CExtNodes.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1472,8 +1472,8 @@ public Object execute(Object self) {
14721472
CompilerDirectives.transferToInterpreterAndInvalidate();
14731473
func = importCAPISymbol(NativeCAPISymbols.FUN_PY_OBJECT_GENERIC_GET_DICT);
14741474
exec = insert(Message.EXECUTE.createNode());
1475-
toSulong = ToSulongNode.create();
1476-
toJava = ToJavaNode.create();
1475+
toSulong = insert(ToSulongNode.create());
1476+
toJava = insert(ToJavaNode.create());
14771477
}
14781478
try {
14791479
return toJava.execute(ForeignAccess.sendExecute(exec, func, toSulong.execute(self)));

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/object/ObjectBuiltins.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,6 @@
9393
import com.oracle.truffle.api.dsl.NodeFactory;
9494
import com.oracle.truffle.api.dsl.Specialization;
9595
import com.oracle.truffle.api.frame.VirtualFrame;
96-
import com.oracle.truffle.api.nodes.Node;
9796
import com.oracle.truffle.api.nodes.UnexpectedResultException;
9897
import com.oracle.truffle.api.profiles.BranchProfile;
9998
import com.oracle.truffle.api.profiles.ConditionProfile;
@@ -508,7 +507,6 @@ protected PNone doIt(Object object, Object key,
508507
static abstract class DictNode extends PythonBinaryBuiltinNode {
509508
private final IsBuiltinClassProfile exactObjInstanceProfile = IsBuiltinClassProfile.create();
510509
private final IsBuiltinClassProfile exactBuiltinInstanceProfile = IsBuiltinClassProfile.create();
511-
@Child private Node executeNode;
512510

513511
protected boolean isExactObjectInstance(PythonObject self) {
514512
return exactObjInstanceProfile.profileObject(self, PythonBuiltinClassType.PythonObject);

0 commit comments

Comments
 (0)