40
40
*/
41
41
package com .oracle .graal .python .builtins .modules ;
42
42
43
+ import static com .oracle .graal .python .nodes .BuiltinNames .__GRAALPYTHON__ ;
43
44
import static com .oracle .graal .python .nodes .SpecialAttributeNames .__NAME__ ;
44
45
import static com .oracle .graal .python .runtime .exception .PythonErrorType .ImportError ;
45
46
import static com .oracle .graal .python .runtime .exception .PythonErrorType .NotImplementedError ;
64
65
import com .oracle .graal .python .builtins .objects .method .PMethod ;
65
66
import com .oracle .graal .python .builtins .objects .module .PythonModule ;
66
67
import com .oracle .graal .python .builtins .objects .object .PythonObject ;
67
- import com .oracle .graal .python .nodes .BuiltinNames ;
68
68
import com .oracle .graal .python .nodes .argument .ReadIndexedArgumentNode ;
69
69
import com .oracle .graal .python .nodes .argument .ReadVarArgsNode ;
70
70
import com .oracle .graal .python .nodes .call .PythonCallNode ;
105
105
import com .oracle .truffle .api .nodes .NodeVisitor ;
106
106
import com .oracle .truffle .llvm .api .Toolchain ;
107
107
108
- @ CoreFunctions (defineModule = BuiltinNames . __GRAALPYTHON__ )
108
+ @ CoreFunctions (defineModule = __GRAALPYTHON__ )
109
109
public class GraalPythonModuleBuiltins extends PythonBuiltins {
110
110
public static final String LLVM_LANGUAGE = "llvm" ;
111
111
@@ -126,7 +126,7 @@ public void initialize(PythonCore core) {
126
126
public void postInitialize (PythonCore core ) {
127
127
super .postInitialize (core );
128
128
PythonContext context = core .getContext ();
129
- PythonModule mod = core .lookupBuiltinModule ("__graalpython__" );
129
+ PythonModule mod = core .lookupBuiltinModule (__GRAALPYTHON__ );
130
130
if (!ImageInfo .inImageBuildtimeCode ()) {
131
131
mod .setAttribute ("home" , context .getLanguage ().getHome ());
132
132
}
0 commit comments