Skip to content

Conversation

@LaszloLango
Copy link
Contributor

Changed 'ecma_copy_or_ref_ecma_string' to 'ecma_ref_ecma_string'. It does
not copy the string if the maximum number of reference counter is reached,
but bails out with an error like the 'ecma_ref_object' function does.

JerryScript-DCO-1.0-Signed-off-by: László Langó llango.u-szeged@partner.samsung.com

@LaszloLango LaszloLango added the enhancement An improvement label Jun 14, 2016
@zherczeg
Copy link
Member

LGTM

1 similar comment
@dbatyai
Copy link
Member

dbatyai commented Jun 16, 2016

LGTM

Changed 'ecma_copy_or_ref_ecma_string' to 'ecma_ref_ecma_string'. It does
not copy the string if the maximum number of reference counter is reached,
but bails out with an error like the 'ecma_ref_object' function does.

JerryScript-DCO-1.0-Signed-off-by: László Langó llango.u-szeged@partner.samsung.com
JerryScript-DCO-1.0-Signed-off-by: László Langó llango.u-szeged@partner.samsung.com
@LaszloLango LaszloLango merged commit 8453a9a into jerryscript-project:master Jun 16, 2016
@LaszloLango LaszloLango deleted the remove-string-copy branch June 16, 2016 13:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement An improvement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants