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

Frame allocator patch #7

Merged
merged 2 commits into from
Dec 17, 2024
Merged

Frame allocator patch #7

merged 2 commits into from
Dec 17, 2024

Conversation

Naminar
Copy link
Owner

@Naminar Naminar commented Dec 17, 2024

This patch linked with #6 and consists of:

  • new frame allocator

@Naminar Naminar added the enhancement New feature or request label Dec 17, 2024
runtime_core/frame.h Show resolved Hide resolved
runtime_core/frame.h Show resolved Hide resolved
char *_availablePtr;
std::stack<char *> _framesStart;
uint64_t _framesAllocated = 0;
Copy link
Collaborator

Choose a reason for hiding this comment

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

If think it can be removed

}

_framesAllocated++;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Remove

#include <cstdint>
#include <iostream>
#include <string>

class Function {
public:
// TODO: Calloc -> new
Copy link
Collaborator

Choose a reason for hiding this comment

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

Remove this comment pls

@alexzhelyapov1 alexzhelyapov1 merged commit 93611f2 into master Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants