mirror of
https://github.com/jerryscript-project/jerryscript.git
synced 2025-12-15 16:29:21 +00:00
Ported remove_m32.diff by Ruben to master.
This commit is contained in:
parent
823432664e
commit
4255c43f4a
2
Makefile
2
Makefile
@ -72,7 +72,7 @@ CROSS_OBJCOPY = $(CROSS_COMPILE)objcopy
|
||||
CROSS_SIZE = $(CROSS_COMPILE)size
|
||||
|
||||
# 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 += -Wformat-nonliteral -Winit-self -Wstack-protector
|
||||
#CFLAGS += -Wconversion -Wsign-conversion -Wformat-security
|
||||
|
||||
@ -37,6 +37,7 @@ typedef enum {
|
||||
MEM_POOL_CHUNK_TYPE_8, /**< 8-byte chunk */
|
||||
MEM_POOL_CHUNK_TYPE_16, /**< 16-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_PoolChunkType_t;
|
||||
|
||||
@ -47,7 +48,8 @@ typedef enum {
|
||||
((size) == 8 ? MEM_POOL_CHUNK_TYPE_8 : \
|
||||
((size) == 16 ? MEM_POOL_CHUNK_TYPE_16 : \
|
||||
((size) == 32 ? MEM_POOL_CHUNK_TYPE_32 : \
|
||||
jerry_UnreferencedExpression))))
|
||||
((size) == 64 ? MEM_POOL_CHUNK_TYPE_64 : \
|
||||
jerry_UnreferencedExpression)))))
|
||||
|
||||
/**
|
||||
* Get chunk size from chunk type.
|
||||
|
||||
@ -36,7 +36,7 @@ const size_t test_heap_size = 8 * 1024;
|
||||
const uint32_t test_iters = 16384;
|
||||
|
||||
// Subiterations count
|
||||
const uint32_t test_max_sub_iters = 64;
|
||||
const uint32_t test_max_sub_iters = 32;
|
||||
|
||||
int
|
||||
main( int __unused argc,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user