Skip to content

Commit e926aa7

Browse files
committed
Remove dead macros from memory management code
JerryScript-DCO-1.0-Signed-off-by: Akos Kiss [email protected]
1 parent d4650bc commit e926aa7

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

jerry-core/mem/mem-allocator.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,6 @@ typedef uint16_t mem_cpointer_t;
4343
*/
4444
#define MEM_ALIGNMENT (1u << MEM_ALIGNMENT_LOG)
4545

46-
/**
47-
* Required alignment for allocated units/blocks
48-
*/
49-
#define MEM_POOL_ALIGNMENT (1 << MEM_POOL_ALIGNMENT_LOG)
50-
5146
/**
5247
* Width of compressed memory pointer
5348
*/

jerry-core/mem/mem-config.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,4 @@
3838
*/
3939
#define MEM_ALIGNMENT_LOG 3
4040

41-
/**
42-
* Logarithm of required alignment for allocated pools
43-
*/
44-
#define MEM_POOL_ALIGNMENT_LOG 3
45-
4641
#endif /* MEM_CONFIG_H */

0 commit comments

Comments
 (0)