projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Change the strategy to determine dynamic data access
[ghc-hetmet.git]
/
compiler
/
codeGen
/
CgBindery.lhs
diff --git
a/compiler/codeGen/CgBindery.lhs
b/compiler/codeGen/CgBindery.lhs
index
7447222
..
0306867
100644
(file)
--- a/
compiler/codeGen/CgBindery.lhs
+++ b/
compiler/codeGen/CgBindery.lhs
@@
-280,8
+280,7
@@
getCgIdInfo id
name = idName id
in
if isExternalName name then do
name = idName id
in
if isExternalName name then do
- this_pkg <- getThisPackage
- let ext_lbl = CmmLit (CmmLabel (mkClosureLabel this_pkg name))
+ let ext_lbl = CmmLit (CmmLabel (mkClosureLabel name))
return (stableIdInfo id ext_lbl (mkLFImported id))
else
if isVoidArg (idCgRep id) then
return (stableIdInfo id ext_lbl (mkLFImported id))
else
if isVoidArg (idCgRep id) then