* libsupc++/new_op.cc: Update comments.
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 3 Aug 2004 07:11:16 +0000 (07:11 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 3 Aug 2004 07:11:16 +0000 (07:11 +0000)
* libsupc++/del_op.cc: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85464 138bc75d-0d04-0410-961f-82ee72b054a4

libstdc++-v3/ChangeLog
libstdc++-v3/libsupc++/del_op.cc
libstdc++-v3/libsupc++/new_op.cc

index 68a7ad3..f38b706 100644 (file)
@@ -1,3 +1,8 @@
+2004-08-03  Mark Mitchell  <mark@codesourcery.com>
+
+       * libsupc++/new_op.cc: Update comments.
+       * libsupc++/del_op.cc: Likewise.
+
 2004-08-02  Mark Mitchell  <mark@codesourcery.com>
 
        * libsupc++/cxxabi.h: Make all declarations have default
index cfaa798..e99f5b6 100644 (file)
@@ -34,9 +34,8 @@
 #if _GLIBCXX_HOSTED
 using std::free;
 #else
-// In a freestanding environment, "free" may not be available.  In
-// that case, it may make sense not to define "operator delete" at
-// all.  For now, we assume that "free" will work.
+// A freestanding C runtime may not provide "free" -- but there is no
+// other reasonable way to implement "operator delete".
 extern "C" void free(void *);
 #endif
 
index 186895b..983ae45 100644 (file)
@@ -36,9 +36,8 @@ using std::bad_alloc;
 #if _GLIBCXX_HOSTED
 using std::malloc;
 #else
-// In a freestanding environment, "malloc" may not be available.  In
-// that case, it may make sense not to define "operator new" at all.
-// For now, we assume that "malloc" will work.
+// A freestanding C runtime may not provide "malloc" -- but there is no
+// other reasonable way to implement "operator new".
 extern "C" void *malloc (std::size_t);
 #endif