summaryrefslogtreecommitdiffstats
path: root/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/KaleidoscopeJIT.h
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2018-11-13 01:26:25 +0000
committerLang Hames <lhames@gmail.com>2018-11-13 01:26:25 +0000
commit8bf69be1c1805a8fdde0880da959133aca623e9a (patch)
tree59bec462f8cbc71837c9b9c163b83391b3877f65 /llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/KaleidoscopeJIT.h
parent575515fddf9003c0a5f680c52bfa9893ceb4c20c (diff)
downloadbcm5719-llvm-8bf69be1c1805a8fdde0880da959133aca623e9a.tar.gz
bcm5719-llvm-8bf69be1c1805a8fdde0880da959133aca623e9a.zip
[BuildingAJIT] Clang-format chapters 1 and 2.
llvm-svn: 346727
Diffstat (limited to 'llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/KaleidoscopeJIT.h')
-rw-r--r--llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/KaleidoscopeJIT.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/KaleidoscopeJIT.h b/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/KaleidoscopeJIT.h
index 1060256ec0d..4dc08470dff 100644
--- a/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/KaleidoscopeJIT.h
+++ b/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/KaleidoscopeJIT.h
@@ -47,7 +47,6 @@ private:
ThreadSafeContext Ctx;
public:
-
KaleidoscopeJIT(JITTargetMachineBuilder JTMB, DataLayout DL)
: ObjectLayer(ES,
[]() { return llvm::make_unique<SectionMemoryManager>(); }),
@@ -86,10 +85,8 @@ public:
}
private:
-
static Expected<ThreadSafeModule>
- optimizeModule(ThreadSafeModule TSM,
- const MaterializationResponsibility &R) {
+ optimizeModule(ThreadSafeModule TSM, const MaterializationResponsibility &R) {
// Create a function pass manager.
auto FPM = llvm::make_unique<legacy::FunctionPassManager>(TSM.getModule());
OpenPOWER on IntegriCloud