projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[mips] Rename register classes CPURegs and CPU64Regs.
[oota-llvm.git]
/
lib
/
Target
/
Mips
/
MipsJITInfo.cpp
diff --git
a/lib/Target/Mips/MipsJITInfo.cpp
b/lib/Target/Mips/MipsJITInfo.cpp
index 1b2a325d3ce67400d18daee7ad2b91dcc5ea50a1..d76cb1da2ddcb03501aa9f22f7497499a3e2b1bd 100644
(file)
--- a/
lib/Target/Mips/MipsJITInfo.cpp
+++ b/
lib/Target/Mips/MipsJITInfo.cpp
@@
-218,9
+218,9
@@
void *MipsJITInfo::emitFunctionStub(const Function *F, void *Fn,
Hi++;
int Lo = (int)(EmittedAddr & 0xffff);
Hi++;
int Lo = (int)(EmittedAddr & 0xffff);
- // lui t9, %hi(EmittedAddr)
- // addiu
t9,
t9, %lo(EmittedAddr)
- // jalr
t8,
t9
+ // lui
$
t9, %hi(EmittedAddr)
+ // addiu
$t9, $
t9, %lo(EmittedAddr)
+ // jalr
$t8, $
t9
// nop
if (IsLittleEndian) {
JCE.emitWordLE(0xf << 26 | 25 << 16 | Hi);
// nop
if (IsLittleEndian) {
JCE.emitWordLE(0xf << 26 | 25 << 16 | Hi);