projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Regenerate.
[oota-llvm.git]
/
lib
/
AsmParser
/
llvmAsmParser.y.cvs
diff --git
a/lib/AsmParser/llvmAsmParser.y.cvs
b/lib/AsmParser/llvmAsmParser.y.cvs
index 52768ffbdc3c20409a3fdcc35225dad3432feff2..1d1558eb6befbe39dada83a64483ef52d532f24d 100644
(file)
--- a/
lib/AsmParser/llvmAsmParser.y.cvs
+++ b/
lib/AsmParser/llvmAsmParser.y.cvs
@@
-22,8
+22,8
@@
#include "llvm/Support/GetElementPtrTypeIterator.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/Support/MathExtras.h"
#include "llvm/Support/GetElementPtrTypeIterator.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/Support/MathExtras.h"
+#include "llvm/Support/Streams.h"
#include <algorithm>
#include <algorithm>
-#include <iostream>
#include <list>
#include <utility>
#include <list>
#include <utility>
@@
-58,7
+58,7
@@
static Module *ParserResult;
//
//#define DEBUG_UPREFS 1
#ifdef DEBUG_UPREFS
//
//#define DEBUG_UPREFS 1
#ifdef DEBUG_UPREFS
-#define UR_OUT(X)
std::
cerr << X
+#define UR_OUT(X)
llvm_
cerr << X
#else
#define UR_OUT(X)
#endif
#else
#define UR_OUT(X)
#endif
@@
-2201,7
+2201,7
@@
Function : BasicBlockList END {
FnDeclareLinkage: /*default*/ |
DLLIMPORT { CurFun.Linkage = GlobalValue::DLLImportLinkage; } |
FnDeclareLinkage: /*default*/ |
DLLIMPORT { CurFun.Linkage = GlobalValue::DLLImportLinkage; } |
- EXTERN_WEAK { CurFun.Linkage = GlobalValue::
DLLImport
Linkage; };
+ EXTERN_WEAK { CurFun.Linkage = GlobalValue::
ExternalWeak
Linkage; };
FunctionProto : DECLARE { CurFun.isDeclare = true; } FnDeclareLinkage FunctionHeaderH {
$$ = CurFun.CurrentFunction;
FunctionProto : DECLARE { CurFun.isDeclare = true; } FnDeclareLinkage FunctionHeaderH {
$$ = CurFun.CurrentFunction;
@@
-2633,7
+2633,7
@@
InstVal : ArithmeticOps Types ValueRef ',' ValueRef {
delete $2.type;
}
| NOT ResolvedVal {
delete $2.type;
}
| NOT ResolvedVal {
-
std::
cerr << "WARNING: Use of eliminated 'not' instruction:"
+
llvm_
cerr << "WARNING: Use of eliminated 'not' instruction:"
<< " Replacing with 'xor'.\n";
Value *Ones = ConstantIntegral::getAllOnesValue($2.val->getType());
<< " Replacing with 'xor'.\n";
Value *Ones = ConstantIntegral::getAllOnesValue($2.val->getType());