-
Notifications
You must be signed in to change notification settings - Fork 13
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
base: main
Are you sure you want to change the base?
Conversation
…cutable` to compile-time
return createExecutable(vm, source, name, implementationVisibility, constructorKind, constructAbility, needsClassFieldInitializer, privateBrandRequirement, meta); | ||
} | ||
|
||
BuiltinExecutableMetadata::BuiltinExecutableMetadata(const unsigned char* characters, unsigned length) |
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 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.
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.
yeah it needs to be kept in sync with whatever variables change below 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.
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; |
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 constructor BuiltinExecutableMetadata()
should not exist
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.
it most definitely should exist because that is how we run it in a generator script
Fixes https://bugs.webkit.org/show_bug.cgi?id=193272