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

Clean up storage model #31

Merged
merged 17 commits into from
Sep 17, 2021
Merged

Clean up storage model #31

merged 17 commits into from
Sep 17, 2021

Conversation

certainty
Copy link
Owner

No description provided.

src/vm/instance.rs Outdated Show resolved Hide resolved
fn read_identifier(&mut self, addr: ConstAddressType) -> Result<Symbol> {
if let Value::Symbol(s) = self.read_constant(addr) {
fn read_identifier(&mut self, address: ConstAddressType) -> Result<Symbol> {
if let Value::Symbol(s) = self.read_constant(address) {
Ok(s.clone())
Copy link
Owner Author

Choose a reason for hiding this comment

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

This clone shouldn’t be needed

@certainty certainty merged commit 2eb185f into main Sep 17, 2021
@certainty certainty deleted the clean-up-storage-model branch September 17, 2021 16:17
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.

1 participant