From 39d69009d015a5177303c9d8865143531e099314 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 24 Jul 2002 22:20:06 +0000 Subject: [PATCH] *** empty log message *** git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3067 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/CodeGen/MachineInstr.h | 12 ++++++------ include/llvm/Target/TargetSchedInfo.h | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/include/llvm/CodeGen/MachineInstr.h b/include/llvm/CodeGen/MachineInstr.h index c81eb87e73d..e208c5575ef 100644 --- a/include/llvm/CodeGen/MachineInstr.h +++ b/include/llvm/CodeGen/MachineInstr.h @@ -11,7 +11,7 @@ #include "llvm/Target/MachineInstrInfo.h" #include "llvm/Annotation.h" -#include +#include #include class Instruction; using std::vector; @@ -371,7 +371,7 @@ public: // Iterator to enumerate machine operands. // template - class ValOpIterator : public std::forward_iterator { + class ValOpIterator : public forward_iterator { unsigned i; MITy MI; @@ -488,8 +488,8 @@ MachineInstr::getImplicitRef(unsigned int i) inline void MachineInstr::addImplicitRef(Value* val, - bool isDef=false, - bool isDefAndUse=false) + bool isDef, + bool isDefAndUse) { implicitRefs.push_back(val); implicitIsDef.push_back(isDef); @@ -499,8 +499,8 @@ MachineInstr::addImplicitRef(Value* val, inline void MachineInstr::setImplicitRef(unsigned int i, Value* val, - bool isDef=false, - bool isDefAndUse=false) + bool isDef, + bool isDefAndUse) { assert(i < implicitRefs.size() && "setImplicitRef() out of range!"); implicitRefs[i] = val; diff --git a/include/llvm/Target/TargetSchedInfo.h b/include/llvm/Target/TargetSchedInfo.h index a08bd998150..00d4b188dce 100644 --- a/include/llvm/Target/TargetSchedInfo.h +++ b/include/llvm/Target/TargetSchedInfo.h @@ -28,7 +28,7 @@ private: OpCodePair(); // disable for now }; -namespace std { +namespace HASH_NAMESPACE { template <> struct hash { size_t operator()(const OpCodePair& pair) const { return hash()(pair.val);