Renaming ecma_get_pointer, ecma_set_pointer, ecma_set_pointer_non_null macroses to uppercase names.

This commit is contained in:
Ruben Ayrapetyan
2014-08-11 19:13:59 +04:00
parent 14d8b0d55e
commit e53be2b441
12 changed files with 125 additions and 125 deletions
+3 -3
View File
@@ -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 */