107
107
import com .oracle .graal .python .builtins .objects .tuple .PTuple ;
108
108
import com .oracle .graal .python .builtins .objects .type .TpSlots .GetCachedTpSlotsNode ;
109
109
import com .oracle .graal .python .builtins .objects .type .TpSlots .GetObjectSlotsNode ;
110
- import com .oracle .graal .python .builtins .objects .type .TypeBuiltinsFactory .TypeNodeFactory ;
111
110
import com .oracle .graal .python .builtins .objects .type .TypeNodes .CheckCompatibleForAssigmentNode ;
112
111
import com .oracle .graal .python .builtins .objects .type .TypeNodes .GetBaseClassNode ;
113
112
import com .oracle .graal .python .builtins .objects .type .TypeNodes .GetBestBaseClassNode ;
117
116
import com .oracle .graal .python .builtins .objects .type .TypeNodes .GetTypeFlagsNode ;
118
117
import com .oracle .graal .python .builtins .objects .type .TypeNodes .IsSameTypeNode ;
119
118
import com .oracle .graal .python .builtins .objects .type .TypeNodes .IsTypeNode ;
119
+ import com .oracle .graal .python .builtins .objects .type .TypeBuiltinsFactory .TypeNodeFactory ;
120
120
import com .oracle .graal .python .builtins .objects .type .slots .TpSlot ;
121
121
import com .oracle .graal .python .builtins .objects .type .slots .TpSlotBinaryOp .BinaryOpBuiltinNode ;
122
122
import com .oracle .graal .python .builtins .objects .type .slots .TpSlotDescrGet .CallSlotDescrGet ;
@@ -1206,6 +1206,7 @@ public abstract static class DirNode extends PythonUnaryBuiltinNode {
1206
1206
1207
1207
@ Specialization
1208
1208
static PList dir (VirtualFrame frame , Object klass ,
1209
+ @ Bind ("this" ) Node inliningTarget ,
1209
1210
@ Cached ConstructListNode constructListNode ,
1210
1211
@ Cached ("createFor(this)" ) IndirectCallData indirectCallData ) {
1211
1212
PSet names = PFactory .createSet (PythonLanguage .get (inliningTarget ));
@@ -1215,7 +1216,7 @@ static PList dir(VirtualFrame frame, Object klass,
1215
1216
} finally {
1216
1217
IndirectCallContext .exit (frame , indirectCallData , state );
1217
1218
}
1218
- return return constructListNode .execute (frame , names );
1219
+ return constructListNode .execute (frame , names );
1219
1220
}
1220
1221
1221
1222
@ TruffleBoundary
0 commit comments