-
Notifications
You must be signed in to change notification settings - Fork 829
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
feat(runtime) Get ready for tiering #257
Conversation
} | ||
} | ||
|
||
fn generate_local_functions(module: &ModuleInner) -> BoxedMap<LocalFuncIndex, *const vm::Func> { | ||
(0..module.info.func_assoc.len() - module.info.imported_functions.len()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this constructing a range? do we have confidence this will always result in a positive set of numbers?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I do. The total number of functions will always be greater than or equal to the number of imported functions.
This PR adds various fixes and runtime changes in order to be ready to support compiler tiering.