Use C++ math header instead of C version.
authorBrian Gaeke <gaeke@uiuc.edu>
Sun, 21 Sep 2003 03:57:37 +0000 (03:57 +0000)
committerBrian Gaeke <gaeke@uiuc.edu>
Sun, 21 Sep 2003 03:57:37 +0000 (03:57 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8648 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/RegAlloc/PhyRegAlloc.cpp
lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp

index 1c740b6e01ec4548a1f41a5fba8492dde87d9672..0c64846e5cbea968ca42c1957f02313a1ca78c39 100644 (file)
@@ -23,7 +23,7 @@
 #include "Support/STLExtras.h"
 #include "Support/SetOperations.h"
 #include "Support/CommandLine.h"
-#include <math.h>
+#include <cmath>
 
 RegAllocDebugLevel_t DEBUG_RA;
 
index 1c740b6e01ec4548a1f41a5fba8492dde87d9672..0c64846e5cbea968ca42c1957f02313a1ca78c39 100644 (file)
@@ -23,7 +23,7 @@
 #include "Support/STLExtras.h"
 #include "Support/SetOperations.h"
 #include "Support/CommandLine.h"
-#include <math.h>
+#include <cmath>
 
 RegAllocDebugLevel_t DEBUG_RA;