YJIT: Fix a cargo test warning on x86_64 (#7428)
This commit is contained in:
parent
8e13e705f9
commit
8c8548b175
Notes:
git
2023-03-03 20:48:41 +00:00
Merged-By: maximecb <maximecb@ruby-lang.org>
@ -682,6 +682,7 @@ impl CodeBlock {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// Stubbed CodeBlock for testing conditions that can arise due to code GC. Can't execute generated code.
|
/// Stubbed CodeBlock for testing conditions that can arise due to code GC. Can't execute generated code.
|
||||||
|
#[cfg(target_arch = "aarch64")]
|
||||||
pub fn new_dummy_with_freed_pages(mut freed_pages: Vec<usize>) -> Self {
|
pub fn new_dummy_with_freed_pages(mut freed_pages: Vec<usize>) -> Self {
|
||||||
use std::ptr::NonNull;
|
use std::ptr::NonNull;
|
||||||
use crate::virtualmem::*;
|
use crate::virtualmem::*;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user