mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-05 14:34:55 +00:00
* Remove unnecessary comment
* Fix alignment of code * Tabs to spaces git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15505 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
dee0f9b94c
commit
7a750e1ff5
@ -49,9 +49,9 @@ namespace {
|
||||
}
|
||||
|
||||
bool SparcV9TargetMachine::addPassesToEmitMachineCode(FunctionPassManager &PM,
|
||||
MachineCodeEmitter &MCE) {
|
||||
MachineCodeEmitter &MCE) {
|
||||
PM.add(new SparcV9CodeEmitter(*this, MCE));
|
||||
PM.add(createSparcV9MachineCodeDestructionPass()); //Free stuff no longer needed
|
||||
PM.add(createSparcV9MachineCodeDestructionPass());
|
||||
return false;
|
||||
}
|
||||
|
||||
@ -586,7 +586,7 @@ inline void SparcV9CodeEmitter::emitFarCall(uint64_t Target, Function *F) {
|
||||
|
||||
void SparcV9JITInfo::replaceMachineCodeForFunction (void *Old, void *New) {
|
||||
assert (TheJITResolver &&
|
||||
"Can only call replaceMachineCodeForFunction from within JIT");
|
||||
"Can only call replaceMachineCodeForFunction from within JIT");
|
||||
uint64_t Target = (uint64_t)(intptr_t)New;
|
||||
uint64_t CodeBegin = (uint64_t)(intptr_t)Old;
|
||||
TheJITResolver->insertJumpAtAddr(Target, CodeBegin);
|
||||
|
Loading…
x
Reference in New Issue
Block a user