Ported remove_m32.diff by Ruben to master.
This commit is contained in:
@@ -72,7 +72,7 @@ CROSS_OBJCOPY = $(CROSS_COMPILE)objcopy
|
|||||||
CROSS_SIZE = $(CROSS_COMPILE)size
|
CROSS_SIZE = $(CROSS_COMPILE)size
|
||||||
|
|
||||||
# General flags
|
# General flags
|
||||||
CFLAGS ?= $(INCLUDES) -std=c99 -m32 #-fdiagnostics-color=always
|
CFLAGS ?= $(INCLUDES) -std=c99 #-fdiagnostics-color=always
|
||||||
#CFLAGS += -Wall -Wextra -Wpedantic -Wlogical-op -Winline
|
#CFLAGS += -Wall -Wextra -Wpedantic -Wlogical-op -Winline
|
||||||
#CFLAGS += -Wformat-nonliteral -Winit-self -Wstack-protector
|
#CFLAGS += -Wformat-nonliteral -Winit-self -Wstack-protector
|
||||||
#CFLAGS += -Wconversion -Wsign-conversion -Wformat-security
|
#CFLAGS += -Wconversion -Wsign-conversion -Wformat-security
|
||||||
|
|||||||
@@ -37,6 +37,7 @@ typedef enum {
|
|||||||
MEM_POOL_CHUNK_TYPE_8, /**< 8-byte chunk */
|
MEM_POOL_CHUNK_TYPE_8, /**< 8-byte chunk */
|
||||||
MEM_POOL_CHUNK_TYPE_16, /**< 16-byte chunk */
|
MEM_POOL_CHUNK_TYPE_16, /**< 16-byte chunk */
|
||||||
MEM_POOL_CHUNK_TYPE_32, /**< 32-byte chunk */
|
MEM_POOL_CHUNK_TYPE_32, /**< 32-byte chunk */
|
||||||
|
MEM_POOL_CHUNK_TYPE_64, /**< 64-byte chunk */
|
||||||
MEM_POOL_CHUNK_TYPE__COUNT /**< count of possible pool chunks' sizes */
|
MEM_POOL_CHUNK_TYPE__COUNT /**< count of possible pool chunks' sizes */
|
||||||
} mem_PoolChunkType_t;
|
} mem_PoolChunkType_t;
|
||||||
|
|
||||||
@@ -47,7 +48,8 @@ typedef enum {
|
|||||||
((size) == 8 ? MEM_POOL_CHUNK_TYPE_8 : \
|
((size) == 8 ? MEM_POOL_CHUNK_TYPE_8 : \
|
||||||
((size) == 16 ? MEM_POOL_CHUNK_TYPE_16 : \
|
((size) == 16 ? MEM_POOL_CHUNK_TYPE_16 : \
|
||||||
((size) == 32 ? MEM_POOL_CHUNK_TYPE_32 : \
|
((size) == 32 ? MEM_POOL_CHUNK_TYPE_32 : \
|
||||||
jerry_UnreferencedExpression))))
|
((size) == 64 ? MEM_POOL_CHUNK_TYPE_64 : \
|
||||||
|
jerry_UnreferencedExpression)))))
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get chunk size from chunk type.
|
* Get chunk size from chunk type.
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ const size_t test_heap_size = 8 * 1024;
|
|||||||
const uint32_t test_iters = 16384;
|
const uint32_t test_iters = 16384;
|
||||||
|
|
||||||
// Subiterations count
|
// Subiterations count
|
||||||
const uint32_t test_max_sub_iters = 64;
|
const uint32_t test_max_sub_iters = 32;
|
||||||
|
|
||||||
int
|
int
|
||||||
main( int __unused argc,
|
main( int __unused argc,
|
||||||
|
|||||||
Reference in New Issue
Block a user