summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/asmjit/src/asmjit/arm/a64builder.cpp
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/asmjit/src/asmjit/arm/a64builder.cpp')
-rw-r--r--3rdparty/asmjit/src/asmjit/arm/a64builder.cpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/3rdparty/asmjit/src/asmjit/arm/a64builder.cpp b/3rdparty/asmjit/src/asmjit/arm/a64builder.cpp
index 3a52b2a578c..d29b0a498b9 100644
--- a/3rdparty/asmjit/src/asmjit/arm/a64builder.cpp
+++ b/3rdparty/asmjit/src/asmjit/arm/a64builder.cpp
@@ -17,8 +17,6 @@ ASMJIT_BEGIN_SUB_NAMESPACE(a64)
Builder::Builder(CodeHolder* code) noexcept : BaseBuilder() {
_archMask = uint64_t(1) << uint32_t(Arch::kAArch64);
- assignEmitterFuncs(this);
-
if (code)
code->attach(this);
}
@@ -28,13 +26,19 @@ Builder::~Builder() noexcept {}
// =====================
Error Builder::onAttach(CodeHolder* code) noexcept {
- return Base::onAttach(code);
+ ASMJIT_PROPAGATE(Base::onAttach(code));
+
+ _instructionAlignment = uint8_t(4);
+ assignEmitterFuncs(this);
+
+ return kErrorOk;
}
Error Builder::onDetach(CodeHolder* code) noexcept {
return Base::onDetach(code);
}
+
// a64::Builder - Finalize
// =======================
df6ed4d60139c172529e4f'>(nw) Clean up the mess on master Vas Crabb2019-03-261-14/+14 * Revert "conflict resolution (nw)" andreasnaive2019-03-251-14/+14 * mame\drivers: removed most MCFG and MACHINE_CONFIG macros from drivers starti... Ivan Vangelista2019-03-011-14/+14 * Start cleaning up palette configuration: Vas Crabb2018-12-291-33/+30 * ay8910: another batch of MCFG removal (nw) Ivan Vangelista2018-11-081-4/+4 * more private: use (K,L,M) (#3714) David Haywood2018-06-301-1/+3 * Remove emupal.h from emu.h (nw) AJR2018-06-131-0/+1 * as if millions of this pointers suddenly cried out in terror, and were sudden... Vas Crabb2018-06-081-2/+2 * More cleanup/streamlining of machine configuration and macros: Vas Crabb2018-05-151-2/+2 * Removed DRIVER_INIT-related macros, made driver init entry in GAME/COMP/CONS ... MooglyGuy2018-05-131-1/+1 * dsp16: fix condition mask in disassembler (nw) Vas Crabb2018-05-091-1/+1 * Streamline machine configuration macros - everyone's a device edition. Vas Crabb2018-05-061-6/+6 * unkhorse: Lower frequency of 8155 timer driving speaker AJR2018-03-291-1/+1 * Address maps macros removal, pass 1 [O. Galibert] Olivier Galibert2018-03-141-14/+16 * API change: Memory maps are now methods of the owner class [O. Galibert] Olivier Galibert2018-02-121-2/+4