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

[Bug Report][compiler-v2] move vector in move_stdlib.rs in right place #4171

Open
nkysg opened this issue Aug 5, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@nkysg
Copy link
Collaborator

nkysg commented Aug 5, 2024

Bug Report

Starcoin version:

in new move language, vector become instruction. so we need to move vector from move_stdlib.rs into instr.rs

[.vector.length.base, "vector.length.base", (98 + 1) * MUL],
[.vector.empty.base, "vector.empty.base", (84 + 1) * MUL],
[.vector.borrow.base, "vector.borrow.base", (1334 + 1) * MUL],
// [.vector.push_back.base, "vector.push_back.base", 0 * MUL],
[.vector.push_back.legacy_per_abstract_memory_unit, "vector.push_back.legacy_per_abstract_memory_unit", (53 + 1) * MUL],
[.vector.pop_back.base, "vector.pop_back.base", (227 + 1) * MUL],
[.vector.destroy_empty.base, "vector.destroy_empty.base", (572 + 1) * MUL],
[.vector.swap.base, "vector.swap.base", (1436 + 1) * MUL],

Current behavior:

Expected behavior:

Steps to reproduce:

Related code:

insert short code snippets here

Other information:

@nkysg nkysg added the bug Something isn't working label Aug 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant