@@ -123,18 +123,18 @@ protected Object builtinFunctionCall(VirtualFrame frame, PBuiltinFunction callab
123123
124124 @ Specialization
125125 protected Object doType (VirtualFrame frame , PythonBuiltinClassType callableObject , Object [] arguments , PKeyword [] keywords ,
126- @ Cached PRaiseNode raise ,
127- @ Cached ("create(__CALL__)" ) LookupInheritedAttributeNode callAttrGetterNode ,
128- @ Cached CallVarargsMethodNode callCallNode ) {
126+ @ Shared ( "raise" ) @ Cached PRaiseNode raise ,
127+ @ Shared ( "lookupCall" ) @ Cached ("create(__CALL__)" ) LookupInheritedAttributeNode callAttrGetterNode ,
128+ @ Shared ( "callCall" ) @ Cached CallVarargsMethodNode callCallNode ) {
129129 Object call = callAttrGetterNode .execute (callableObject );
130130 return callCall (frame , callableObject , arguments , keywords , raise , callCallNode , call );
131131 }
132132
133133 @ Specialization (guards = "isPythonClass(callableObject)" , replaces = "doType" )
134134 protected Object doPythonClass (VirtualFrame frame , Object callableObject , Object [] arguments , PKeyword [] keywords ,
135- @ Cached PRaiseNode raise ,
136- @ Cached ("create(__CALL__)" ) LookupInheritedAttributeNode callAttrGetterNode ,
137- @ Cached CallVarargsMethodNode callCallNode ) {
135+ @ Shared ( "raise" ) @ Cached PRaiseNode raise ,
136+ @ Shared ( "lookupCall" ) @ Cached ("create(__CALL__)" ) LookupInheritedAttributeNode callAttrGetterNode ,
137+ @ Shared ( "callCall" ) @ Cached CallVarargsMethodNode callCallNode ) {
138138 Object call = callAttrGetterNode .execute (callableObject );
139139 return callCall (frame , callableObject , arguments , keywords , raise , callCallNode , call );
140140 }
0 commit comments