-
Notifications
You must be signed in to change notification settings - Fork 677
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement Object.prototype.toLocaleString #40
Implement Object.prototype.toLocaleString #40
Conversation
ecma_free_completion_value (obj_this); | ||
|
||
ecma_string_t *to_string_magic_string_p = ecma_get_magic_string (ECMA_MAGIC_STRING_TO_STRING_UL); | ||
ecma_completion_value_t to_string_prop_ret = ecma_op_object_get (obj_p, to_string_magic_string_p); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The obj_p
reference cannot be used here, because it was released on line 163.
b8d1d1d
to
f9109ba
Compare
I've updated the pull request. |
f9109ba
to
996bb5a
Compare
ecma_object_t *to_string_func_obj_p = ecma_get_object_from_value (to_string_val); | ||
return_value = ecma_op_function_call (to_string_func_obj_p, this_arg, NULL, 0); | ||
} | ||
ECMA_FINALIZE (to_string_val) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please, add semicolon here and below.
Fix semicolons and |
996bb5a
to
5cce2a0
Compare
JerryScript-DCO-1.0-Signed-off-by: Peter Gal [email protected]
5cce2a0
to
7954df3
Compare
…iments-dev Experiments dev
JerryScript-DCO-1.0-Signed-off-by: Peter Gal [email protected]