mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-05-19 14:17:01 +02:00
mark codeblocks as noexcept
This commit is contained in:
parent
d4830c2ed3
commit
cb4e2363f8
3 changed files with 13 additions and 9 deletions
|
|
@ -250,10 +250,14 @@ When CMake invokes certain file syscalls - it may sometimes cause crashes or cor
|
||||||
## PlayStation 4
|
## PlayStation 4
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
export OO_PS4_TOOLCHAIN="$HOME/OpenOrbis/PS4Toolchain"
|
export OO_PS4_TOOLCHAIN="$HOME/OpenOrbis/PS4Toolchain/prefix"
|
||||||
export DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1
|
export DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1
|
||||||
```
|
```
|
||||||
|
|
||||||
|
```sh
|
||||||
|
cp $OO_PS4_TOOLCHAIN/include/endian.h $OO_PS4_TOOLCHAIN/include/sys/endian.h
|
||||||
|
```
|
||||||
|
|
||||||
## Windows
|
## Windows
|
||||||
|
|
||||||
### Windows 7, Windows 8 and Windows 8.1
|
### Windows 7, Windows 8 and Windows 8.1
|
||||||
|
|
|
||||||
|
|
@ -239,7 +239,7 @@ static const auto default_cg_mode = Xbyak::DontSetProtectRWE;
|
||||||
static const auto default_cg_mode = nullptr; //Allow RWE
|
static const auto default_cg_mode = nullptr; //Allow RWE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
BlockOfCode::BlockOfCode(RunCodeCallbacks cb, JitStateInfo jsi, size_t total_code_size, std::function<void(BlockOfCode&)> rcp)
|
BlockOfCode::BlockOfCode(RunCodeCallbacks cb, JitStateInfo jsi, size_t total_code_size, std::function<void(BlockOfCode&)> rcp) noexcept
|
||||||
: Xbyak::CodeGenerator(total_code_size, default_cg_mode, &s_allocator)
|
: Xbyak::CodeGenerator(total_code_size, default_cg_mode, &s_allocator)
|
||||||
, cb(std::move(cb))
|
, cb(std::move(cb))
|
||||||
, jsi(jsi)
|
, jsi(jsi)
|
||||||
|
|
|
||||||
|
|
@ -38,8 +38,8 @@ struct RunCodeCallbacks {
|
||||||
|
|
||||||
class BlockOfCode final : public Xbyak::CodeGenerator {
|
class BlockOfCode final : public Xbyak::CodeGenerator {
|
||||||
public:
|
public:
|
||||||
BlockOfCode(RunCodeCallbacks cb, JitStateInfo jsi, size_t total_code_size, std::function<void(BlockOfCode&)> rcp);
|
BlockOfCode(RunCodeCallbacks cb, JitStateInfo jsi, size_t total_code_size, std::function<void(BlockOfCode&)> rcp) noexcept;
|
||||||
BlockOfCode(const BlockOfCode&) = delete;
|
BlockOfCode(const BlockOfCode&) noexcept = delete;
|
||||||
|
|
||||||
/// Call when external emitters have finished emitting their preludes.
|
/// Call when external emitters have finished emitting their preludes.
|
||||||
void PreludeComplete();
|
void PreludeComplete();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue