Passing ecma_value_t arguments by const reference instead of by value.

This commit is contained in:
Ruben Ayrapetyan
2015-01-22 18:43:17 +03:00
parent 11e37ad7f3
commit 57f645c18c
65 changed files with 426 additions and 410 deletions
+1 -1
View File
@@ -93,7 +93,7 @@ ecma_op_get_identifier_reference (ecma_object_t *lex_env_p, /**< lexical environ
* Returned value must be freed through ecma_free_reference.
*/
ecma_reference_t
ecma_make_reference (ecma_value_t base, /**< base value */
ecma_make_reference (const ecma_value_t& base, /**< base value */
ecma_string_t *name_p, /**< referenced name */
bool is_strict) /**< strict reference flag */
{