Skip to content
This repository was archived by the owner on Apr 2, 2020. It is now read-only.

[WIP/Don't touch] Use mirrors and type reconstruction for classes.#1977

Open
dcci wants to merge 1 commit intoapple:stablefrom
dcci:experiment-through-the-mirrors
Open

[WIP/Don't touch] Use mirrors and type reconstruction for classes.#1977
dcci wants to merge 1 commit intoapple:stablefrom
dcci:experiment-through-the-mirrors

Conversation

@dcci
Copy link
Copy Markdown
Contributor

@dcci dcci commented Sep 9, 2019

No description provided.

ConstString mangled_with_prefix("$s" + mangled);

SwiftASTContext *swift_ast_ctx = llvm::dyn_cast_or_null<SwiftASTContext>(
in_value.GetCompilerType().GetTypeSystem());
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Obviously this isn't meant to be production-ready yet, but: This should be the scratch context, not in_value's module context.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Indeed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants