mirror of
https://github.com/jerryscript-project/jerryscript.git
synced 2025-12-15 16:29:21 +00:00
Stop inlining the ArrayBuffer helper functions. (#1484)
Related issue #1468. JerryScript-DCO-1.0-Signed-off-by: Zidong Jiang zidong.jiang@intel.com
This commit is contained in:
parent
e9ab1f14d3
commit
85b6e01bc2
@ -103,7 +103,7 @@ ecma_arraybuffer_new_object (ecma_length_t length) /**< length of the arraybuffe
|
||||
*
|
||||
* @return ecma_length_t, the length of the arraybuffer
|
||||
*/
|
||||
inline ecma_length_t __attr_pure___ __attr_always_inline___
|
||||
ecma_length_t __attr_pure___
|
||||
ecma_arraybuffer_get_length (ecma_object_t *object_p) /**< pointer to the ArrayBuffer object */
|
||||
{
|
||||
JERRY_ASSERT (ecma_object_class_is (object_p, LIT_MAGIC_STRING_ARRAY_BUFFER_UL));
|
||||
@ -117,7 +117,7 @@ ecma_arraybuffer_get_length (ecma_object_t *object_p) /**< pointer to the ArrayB
|
||||
*
|
||||
* @return pointer to the data buffer
|
||||
*/
|
||||
inline lit_utf8_byte_t * __attr_pure___ __attr_always_inline___
|
||||
lit_utf8_byte_t * __attr_pure___
|
||||
ecma_arraybuffer_get_buffer (ecma_object_t *object_p) /**< pointer to the ArrayBuffer object */
|
||||
{
|
||||
JERRY_ASSERT (ecma_object_class_is (object_p, LIT_MAGIC_STRING_ARRAY_BUFFER_UL));
|
||||
|
||||
@ -34,9 +34,9 @@ ecma_op_create_arraybuffer_object (const ecma_value_t *, ecma_length_t);
|
||||
extern ecma_object_t *
|
||||
ecma_arraybuffer_new_object (ecma_length_t);
|
||||
extern lit_utf8_byte_t *
|
||||
ecma_arraybuffer_get_buffer (ecma_object_t *) __attr_pure___ __attr_always_inline___;
|
||||
ecma_arraybuffer_get_buffer (ecma_object_t *) __attr_pure___;
|
||||
extern ecma_length_t
|
||||
ecma_arraybuffer_get_length (ecma_object_t *) __attr_pure___ __attr_always_inline___;
|
||||
ecma_arraybuffer_get_length (ecma_object_t *) __attr_pure___;
|
||||
|
||||
/**
|
||||
* @}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user