projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
246253e
)
SPARC NCG: fill branch delay slot after tabled jump (doh!)
author
Ben.Lippmeier@anu.edu.au
<unknown>
Wed, 21 Jan 2009 00:37:29 +0000
(
00:37
+0000)
committer
Ben.Lippmeier@anu.edu.au
<unknown>
Wed, 21 Jan 2009 00:37:29 +0000
(
00:37
+0000)
compiler/nativeGen/MachCodeGen.hs
patch
|
blob
|
history
diff --git
a/compiler/nativeGen/MachCodeGen.hs
b/compiler/nativeGen/MachCodeGen.hs
index
4228c6c
..
5d67d0d
100644
(file)
--- a/
compiler/nativeGen/MachCodeGen.hs
+++ b/
compiler/nativeGen/MachCodeGen.hs
@@
-4206,7
+4206,8
@@
genSwitch expr ids
-- load and jump to the destination
, LD II32 (AddrRegReg base_reg offset_reg) dst
- , JMP (AddrRegImm dst (ImmInt 0)) ]
+ , JMP (AddrRegImm dst (ImmInt 0))
+ , NOP ]
#else
#error "ToDo: genSwitch"