Renaming ecma_get_pointer, ecma_set_pointer, ecma_set_pointer_non_null macroses to uppercase names.
This commit is contained in:
@@ -29,14 +29,14 @@
|
||||
/**
|
||||
* Get value of pointer from specified compressed pointer field.
|
||||
*/
|
||||
#define ecma_get_pointer( field) \
|
||||
#define ECMA_GET_POINTER( field) \
|
||||
( ( unlikely( field == ECMA_NULL_POINTER ) ) ? NULL : mem_decompress_pointer( field) )
|
||||
|
||||
/**
|
||||
* Set value of compressed pointer field so that it will correspond
|
||||
* to specified non_compressed_pointer.
|
||||
*/
|
||||
#define ecma_set_pointer( field, non_compressed_pointer) \
|
||||
#define ECMA_SET_POINTER( field, non_compressed_pointer) \
|
||||
do { \
|
||||
void *__temp_pointer = non_compressed_pointer; \
|
||||
non_compressed_pointer = __temp_pointer; \
|
||||
@@ -50,7 +50,7 @@
|
||||
* Set value of non-null compressed pointer field so that it will correspond
|
||||
* to specified non_compressed_pointer.
|
||||
*/
|
||||
#define ecma_set_non_null_pointer( field, non_compressed_pointer) \
|
||||
#define ECMA_SET_NON_NULL_POINTER( field, non_compressed_pointer) \
|
||||
(field) = ( mem_compress_pointer( non_compressed_pointer) & ( ( 1u << ECMA_POINTER_FIELD_WIDTH ) - 1) )
|
||||
|
||||
/* ecma-helpers-value.c */
|
||||
|
||||
Reference in New Issue
Block a user