-
Notifications
You must be signed in to change notification settings - Fork 688
Unified the commenting form of the internal properties and removed th… #1040
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
Unified the commenting form of the internal properties and removed th… #1040
Conversation
jerry-core/ecma/base/ecma-globals.h
Outdated
| * RegExp bytecode array | ||
| */ | ||
| ECMA_INTERNAL_PROPERTY_REGEXP_BYTECODE, | ||
| ECMA_INTERNAL_PROPERTY_REGEXP_BYTECODE, /**< RegExp bytecode array */ |
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.
Move this to ECMA_INTERNAL_PROPERTY_CODE_BYTECODE
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.
I've changed the order.
e81513d to
dda2e28
Compare
jerry-core/ecma/base/ecma-globals.h
Outdated
| ECMA_INTERNAL_PROPERTY_EXTENSIBLE, /**< [[Extensible]] */ | ||
| ECMA_INTERNAL_PROPERTY_SCOPE, /**< [[Scope]] */ | ||
| ECMA_INTERNAL_PROPERTY_PARAMETERS_MAP, /**< [[ParametersMap]] */ | ||
| ECMA_INTERNAL_PROPERTY_CODE_BYTECODE, /**< first part of [[Code]] - compressed pointer to bytecode array */ |
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.
Update comment: pointer to compact bytecode array
dda2e28 to
40017fd
Compare
jerry-core/ecma/base/ecma-gc.c
Outdated
| * (see above in the routine) */ | ||
| case ECMA_INTERNAL_PROPERTY_EXTENSIBLE: /* the property's value is located in ecma_object_t | ||
| * (see above in the routine) */ | ||
| case ECMA_INTERNAL_PROPERTY__COUNT: /* not a real internal property type, |
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.
This case has a very strange placement (to me, at least). Usually, such an "impossible" case comes last in a switch. Anyone else for or against moving this to the end?
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.
Lets move it.
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.
Updated.
40017fd to
8de4b28
Compare
|
LGTM |
8de4b28 to
0e8a42c
Compare
jerry-core/ecma/base/ecma-gc.c
Outdated
| break; | ||
| } | ||
| case ECMA_INTERNAL_PROPERTY__COUNT: /* not a real internal property type, | ||
| * but number of the real internal property types */ |
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.
wrong indentation
|
LGTM after my comment is fixed. :) |
…e unused types. JerryScript-DCO-1.0-Signed-off-by: Robert Sipka rsipka.uszeged@partner.samsung.com
0e8a42c to
3de4170
Compare
|
Thanks, I've updated this patch. |
…e unused types.
JerryScript-DCO-1.0-Signed-off-by: Robert Sipka rsipka.uszeged@partner.samsung.com