Skip to content

Commit 00cc692

Browse files
committed
jit: various fixes
1 parent b4c0fd0 commit 00cc692

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

3rdparty/avendish

src/plugins/score-plugin-jit/JitCpp/Compiler/Compiler.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ void setTargetOptions(llvm::TargetOptions& opts)
4343
opts.setFPDenormalMode(llvm::DenormalMode::getPositiveZero());
4444
opts.setFP32DenormalMode(llvm::DenormalMode::getPositiveZero());
4545
opts.EnableFastISel = true;
46-
opts.EnableGlobalISel = true;
46+
opts.EnableGlobalISel = false;
4747
}
4848
}
4949

src/plugins/score-plugin-jit/JitCpp/JitPlatform.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -272,8 +272,8 @@ static inline void populateDefinitions(std::vector<std::string>& args)
272272
// needed because otherwise readerwriterqueue includes CoreFoundation.h ...
273273
args.push_back("-DMOODYCAMEL_MAYBE_ALIGN_TO_CACHELINE=");
274274
#endif
275-
276-
#define XSTR(X) #X
275+
#define XSTR(s) STR(s)
276+
#define STR(s) #s
277277

278278
#if defined(BOOST_ASIO_ENABLE_BUFFER_DEBUGGING)
279279
args.push_back("-DBOOST_ASIO_ENABLE_BUFFER_DEBUGGING");

0 commit comments

Comments
 (0)