[llvm-commits] CVS: llvm/lib/Reoptimizer/TraceCache/InstrUtils.cpp MemoryManager.cpp TraceCache.cpp
Chris Lattner
lattner at cs.uiuc.edu
Fri Jul 25 12:34:11 PDT 2003
Changes in directory llvm/lib/Reoptimizer/TraceCache:
InstrUtils.cpp updated: 1.11 -> 1.12
MemoryManager.cpp updated: 1.8 -> 1.9
TraceCache.cpp updated: 1.15 -> 1.16
---
Log message:
Use C++ <cassert> header, not the C <assert.h> header
---
Diffs of the changes:
Index: llvm/lib/Reoptimizer/TraceCache/InstrUtils.cpp
diff -u llvm/lib/Reoptimizer/TraceCache/InstrUtils.cpp:1.11 llvm/lib/Reoptimizer/TraceCache/InstrUtils.cpp:1.12
--- llvm/lib/Reoptimizer/TraceCache/InstrUtils.cpp:1.11 Thu Jul 10 13:57:33 2003
+++ llvm/lib/Reoptimizer/TraceCache/InstrUtils.cpp Fri Jul 25 12:33:21 2003
@@ -9,7 +9,7 @@
#ifdef __sparc
#include "llvm/Reoptimizer/InstrUtils.h"
-#include <assert.h>
+#include <cassert>
#include <iostream>
uint64_t getBranchTarget(unsigned br, uint64_t pc){
Index: llvm/lib/Reoptimizer/TraceCache/MemoryManager.cpp
diff -u llvm/lib/Reoptimizer/TraceCache/MemoryManager.cpp:1.8 llvm/lib/Reoptimizer/TraceCache/MemoryManager.cpp:1.9
--- llvm/lib/Reoptimizer/TraceCache/MemoryManager.cpp:1.8 Fri Jul 18 11:11:12 2003
+++ llvm/lib/Reoptimizer/TraceCache/MemoryManager.cpp Fri Jul 25 12:33:21 2003
@@ -24,7 +24,7 @@
//===----------------------------------------------------------------------===//
#include "llvm/Reoptimizer/MemoryManager.h"
-#include <assert.h>
+#include <cassert>
#include <iostream>
using std::cerr;
Index: llvm/lib/Reoptimizer/TraceCache/TraceCache.cpp
diff -u llvm/lib/Reoptimizer/TraceCache/TraceCache.cpp:1.15 llvm/lib/Reoptimizer/TraceCache/TraceCache.cpp:1.16
--- llvm/lib/Reoptimizer/TraceCache/TraceCache.cpp:1.15 Fri Jul 18 11:11:03 2003
+++ llvm/lib/Reoptimizer/TraceCache/TraceCache.cpp Fri Jul 25 12:33:21 2003
@@ -13,7 +13,7 @@
#include "llvm/Reoptimizer/VirtualMem.h"
#include "llvm/Reoptimizer/InstrUtils.h"
#include "llvm/Reoptimizer/GetTraceTime.h"
-#include <assert.h>
+#include <cassert>
#include <algorithm>
#include <iostream>
More information about the llvm-commits
mailing list