am 4d9b75a9: Merge "libstdc++: make operator new call abort on failure."

* commit '4d9b75a9b08c19cef81b22f889edba61257fb356':
  libstdc++: make operator new call abort on failure.
This commit is contained in:
David 'Digit' Turner 2011-06-17 03:22:21 -07:00 committed by Android Git Automerger
commit d0909a874a

View file

@ -7,7 +7,7 @@ void* operator new(std::size_t size)
{
void* p = malloc(size);
if (p == NULL) {
// abort();
abort();
}
return p;
}
@ -16,7 +16,7 @@ void* operator new[](std::size_t size)
{
void* p = malloc(size);
if (p == NULL) {
// abort();
abort();
}
return p;
}