projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make 64bit args and float args work correct with calls. Thanks to Chris
[oota-llvm.git]
/
lib
/
Target
/
SparcV8
/
SparcV8AsmPrinter.cpp
diff --git
a/lib/Target/SparcV8/SparcV8AsmPrinter.cpp
b/lib/Target/SparcV8/SparcV8AsmPrinter.cpp
index 432aa2c59498c2bafc74e1b0387f8e3087b64510..71210536e79a0c5c57eaca4706dd53eccf477639 100644
(file)
--- a/
lib/Target/SparcV8/SparcV8AsmPrinter.cpp
+++ b/
lib/Target/SparcV8/SparcV8AsmPrinter.cpp
@@
-580,7
+580,7
@@
bool V8Printer::doFinalization(Module &M) {
std::string CurSection;
// Print out module-level global variables here.
std::string CurSection;
// Print out module-level global variables here.
- for (Module::const_g
iterator I = M.gbegin(), E = M.g
end(); I != E; ++I)
+ for (Module::const_g
lobal_iterator I = M.global_begin(), E = M.global_
end(); I != E; ++I)
if (I->hasInitializer()) { // External global require no code
O << "\n\n";
std::string name = Mang->getValueName(I);
if (I->hasInitializer()) { // External global require no code
O << "\n\n";
std::string name = Mang->getValueName(I);