File tree Expand file tree Collapse file tree 2 files changed +0
-29
lines changed Expand file tree Collapse file tree 2 files changed +0
-29
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,6 @@ class SwiftJIT {
48
48
static llvm::Expected<std::unique_ptr<SwiftJIT>> Create (CompilerInstance &CI);
49
49
50
50
~SwiftJIT ();
51
- llvm::orc::LLJIT &getJIT ();
52
51
53
52
llvm::orc::JITDylib &getMainJITDylib ();
54
53
@@ -57,15 +56,6 @@ class SwiftJIT {
57
56
llvm::Error addSwift (llvm::orc::JITDylib &JD,
58
57
std::unique_ptr<llvm::orc::MaterializationUnit> MU);
59
58
60
- llvm::Error initialize (llvm::orc::JITDylib &JD);
61
-
62
- llvm::Error deinitialize (llvm::orc::JITDylib &JD);
63
-
64
- llvm::Expected<llvm::orc::ExecutorAddr> lookup (llvm::StringRef Name);
65
-
66
- llvm::Expected<llvm::orc::ExecutorAddr>
67
- lookupLinkerMangled (llvm::StringRef Name);
68
-
69
59
std::string mangle (llvm::StringRef Name);
70
60
71
61
llvm::orc::SymbolStringPtr mangleAndIntern (llvm::StringRef Name);
Original file line number Diff line number Diff line change @@ -119,29 +119,10 @@ llvm::Expected<int> SwiftJIT::runMain(llvm::ArrayRef<std::string> Args) {
119
119
return Result;
120
120
}
121
121
122
- llvm::orc::LLJIT &SwiftJIT::getJIT () { return *J; }
123
-
124
122
llvm::orc::JITDylib &SwiftJIT::getMainJITDylib () {
125
123
return J->getMainJITDylib ();
126
124
}
127
125
128
- llvm::Error SwiftJIT::initialize (llvm::orc::JITDylib &JD) {
129
- return J->initialize (JD);
130
- }
131
-
132
- llvm::Error SwiftJIT::deinitialize (llvm::orc::JITDylib &JD) {
133
- return J->deinitialize (JD);
134
- }
135
-
136
- llvm::Expected<llvm::orc::ExecutorAddr> SwiftJIT::lookup (llvm::StringRef Name) {
137
- return J->lookup (Name);
138
- }
139
-
140
- llvm::Expected<llvm::orc::ExecutorAddr>
141
- SwiftJIT::lookupLinkerMangled (llvm::StringRef Name) {
142
- return J->lookupLinkerMangled (Name);
143
- }
144
-
145
126
std::string SwiftJIT::mangle (StringRef Name) { return J->mangle (Name); }
146
127
147
128
llvm::orc::SymbolStringPtr SwiftJIT::mangleAndIntern (StringRef Name) {
You can’t perform that action at this time.
0 commit comments