-
Notifications
You must be signed in to change notification settings - Fork 683
Implemented [[HasProperty]] for Objects. #23
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,6 +41,8 @@ extern ecma_completion_value_t ecma_op_general_object_put (ecma_object_t *obj_p, | |
bool is_throw); | ||
extern bool ecma_op_general_object_can_put (ecma_object_t *obj_p, | ||
ecma_string_t *property_name_p); | ||
extern bool ecma_op_general_object_has_property (ecma_object_t *obj_p, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [[HasProperty]] method of objects was inlined in places where the [[HasProperty]] should be called, i.e. instead of The practice could be changed, if it is necessary or worthwhile. In the case, please, place calls to the introduced |
||
ecma_string_t *property_name_p); | ||
extern ecma_completion_value_t ecma_op_general_object_delete (ecma_object_t *obj_p, | ||
ecma_string_t *property_name_p, | ||
bool is_throw); | ||
|
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.
Hi Dániel!
Why the implementation of [[HasProperty]] for Arguments object is different from implementation for other object types?