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

label ops #50

Merged
merged 2 commits into from
Sep 10, 2021
Merged

label ops #50

merged 2 commits into from
Sep 10, 2021

Conversation

boomyl
Copy link
Contributor

@boomyl boomyl commented Sep 10, 2021

No description provided.

ob->alloc_size += OPCODE_ALLOC_SIZE;
}
for(int i = 0; i < size; i++) {
int64_t shift = 8 * (size - (i + 1));
Copy link
Contributor

Choose a reason for hiding this comment

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

这种魔法数字最好还是定义一下常量

@shenao78 shenao78 merged commit d92cb88 into main Sep 10, 2021
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.

2 participants