diff options
author | Andrew Lenharth <andrewl@lenharth.org> | 2005-08-04 15:32:36 +0000 |
---|---|---|
committer | Andrew Lenharth <andrewl@lenharth.org> | 2005-08-04 15:32:36 +0000 |
commit | 3f55a4fcab5fddb12cb4d59325adf45d20748b13 (patch) | |
tree | 7aefffe790d4cc451e593ddec6479b945dae2838 /lib/Target/Alpha/AlphaCodeEmitter.cpp | |
parent | cd33eef1b2dc1e81ab57b4857cb63c47bb62a496 (diff) |
No, IDEFs shouldn't be JITed
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22648 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Alpha/AlphaCodeEmitter.cpp')
-rw-r--r-- | lib/Target/Alpha/AlphaCodeEmitter.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/Target/Alpha/AlphaCodeEmitter.cpp b/lib/Target/Alpha/AlphaCodeEmitter.cpp index a4e9e03d91..6b4c3a2bf5 100644 --- a/lib/Target/Alpha/AlphaCodeEmitter.cpp +++ b/lib/Target/Alpha/AlphaCodeEmitter.cpp @@ -89,9 +89,11 @@ bool AlphaCodeEmitter::runOnMachineFunction(MachineFunction &MF) { for (unsigned i = 0, e = BBRefs.size(); i != e; ++i) { unsigned* Location = (unsigned*)BasicBlockAddrs[BBRefs[i].first]; unsigned* Ref = (unsigned*)BBRefs[i].second; - intptr_t BranchTargetDisp = (((unsigned char*)Location - (unsigned char*)Ref) >> 2) - 1; + intptr_t BranchTargetDisp = + (((unsigned char*)Location - (unsigned char*)Ref) >> 2) - 1; DEBUG(std::cerr << "Fixup @ " << (void*)Ref << " to " << (void*)Location - << " Disp " << BranchTargetDisp << " using " << (BranchTargetDisp & ((1 << 22)-1)) << "\n"); + << " Disp " << BranchTargetDisp + << " using " << (BranchTargetDisp & ((1 << 22)-1)) << "\n"); *Ref |= (BranchTargetDisp & ((1 << 21)-1)); } BBRefs.clear(); @@ -115,6 +117,7 @@ void AlphaCodeEmitter::emitBasicBlock(MachineBasicBlock &MBB) { case Alpha::ALTENT: case Alpha::PCLABEL: case Alpha::MEMLABEL: + case Alpha::IDEF: break; //skip these } } |