mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-18 14:31:27 +00:00
Stylistic change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58683 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
afc0e0ac1c
commit
e953b89b0d
@ -111,7 +111,7 @@ extern "C" void ARMCompilationCallbackC(intptr_t StubAddr) {
|
||||
// stub with:
|
||||
// ldr pc, [pc,#-4]
|
||||
// <addr>
|
||||
bool ok = sys::Memory::setRangeWritable ((void*)StubAddr, 8);
|
||||
bool ok = sys::Memory::setRangeWritable((void*)StubAddr, 8);
|
||||
if (!ok)
|
||||
{
|
||||
cerr << "ERROR: Unable to mark stub writable\n";
|
||||
@ -119,7 +119,7 @@ extern "C" void ARMCompilationCallbackC(intptr_t StubAddr) {
|
||||
}
|
||||
*(intptr_t *)StubAddr = 0xe51ff004;
|
||||
*(intptr_t *)(StubAddr+4) = NewVal;
|
||||
ok = sys::Memory::setRangeExecutable ((void*)StubAddr, 8);
|
||||
ok = sys::Memory::setRangeExecutable((void*)StubAddr, 8);
|
||||
if (!ok)
|
||||
{
|
||||
cerr << "ERROR: Unable to mark stub executable\n";
|
||||
|
Loading…
x
Reference in New Issue
Block a user