OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [binutils-2.20.1/] [ld/] [testsuite/] [ld-elf/] [del.cc] - Blame information for rev 818

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 205 julius
#include <new>
2
 
3
extern "C" void free (void *);
4
 
5
void
6
operator delete (void *ptr, const std::nothrow_t&) throw ()
7
{
8
  if (ptr)
9
    free (ptr);
10
}
11
 
12
void
13
operator delete (void *ptr) throw ()
14
{
15
  if (ptr)
16
    free (ptr);
17
}
18
 
19
void
20
operator delete[] (void *ptr) throw ()
21
{
22
  ::operator delete (ptr);
23
}
24
 
25
void
26
operator delete[] (void *ptr, const std::nothrow_t&) throw ()
27
{
28
  ::operator delete (ptr);
29
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.