Skip to content
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

Allow moving the metadata part of JSC::BuiltinExecutables::createExecutable to a generator script #26

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Jarred-Sumner
Copy link
Collaborator

return createExecutable(vm, source, name, implementationVisibility, constructorKind, constructAbility, needsClassFieldInitializer, privateBrandRequirement, meta);
}

BuiltinExecutableMetadata::BuiltinExecutableMetadata(const unsigned char* characters, unsigned length)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should be moved in BuiltinExecutableMetadata.cpp, but it would make rebasing harder, but also alot of stuff in this function is already going to merge conflict.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah it needs to be kept in sync with whatever variables change below it

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If this is going to make merging harder and there is an open issue by an apple employee is this a candidate to push to webkit (see if they are open to it)?

class BuiltinExecutableMetadata {
public:
BuiltinExecutableMetadata(const unsigned char* data, unsigned length);
BuiltinExecutableMetadata() = default;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this constructor BuiltinExecutableMetadata() should not exist

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it most definitely should exist because that is how we run it in a generator script

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants