am 1fe8e62c: am 64604840: am 6de26787: am 0991797f: am 82959f5e: Merge "Remove unnecessary compiler pragma."
* commit '1fe8e62ca20fccc0aabd7e39bc34d399bc499ef9': Remove unnecessary compiler pragma.
This commit is contained in:
commit
011cae80f5
|
@ -22,14 +22,14 @@
|
|||
#include <unistd.h>
|
||||
#include <sys/mman.h>
|
||||
|
||||
#include <cutils/log.h>
|
||||
#include <cutils/ashmem.h>
|
||||
#include <cutils/atomic.h>
|
||||
#define LOG_TAG "CodeCache"
|
||||
#include <cutils/log.h>
|
||||
|
||||
|
||||
#include "codeflinger/CodeCache.h"
|
||||
|
||||
#define LOG_TAG "CodeCache"
|
||||
|
||||
namespace android {
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
|
@ -63,12 +63,7 @@ static void heap_error(const char* msg, const char* function, void* p);
|
|||
#define USAGE_ERROR_ACTION(m,p) \
|
||||
heap_error("ARGUMENT IS INVALID HEAP ADDRESS", __FUNCTION__, p)
|
||||
|
||||
|
||||
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
|
||||
#pragma GCC diagnostic ignored "-Wempty-body"
|
||||
#include "../../../../bionic/libc/upstream-dlmalloc/malloc.c"
|
||||
#pragma GCC diagnostic warning "-Wstrict-aliasing"
|
||||
#pragma GCC diagnostic warning "-Wempty-body"
|
||||
|
||||
static void heap_error(const char* msg, const char* function, void* p) {
|
||||
ALOG(LOG_FATAL, LOG_TAG, "@@@ ABORTING: CODE FLINGER: %s IN %s addr=%p",
|
||||
|
|
Loading…
Reference in New Issue