mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Push first pass at SSA IR sketch
This commit is contained in:
parent
a674b8d8a1
commit
45da697450
4 changed files with 1166 additions and 4 deletions
|
@ -8,7 +8,6 @@ use crate::cruby::{VALUE};
|
|||
use crate::virtualmem::{CodePtr};
|
||||
use crate::asm::{CodeBlock, uimm_num_bits, imm_num_bits};
|
||||
use crate::core::{Context, Type, TempMapping};
|
||||
use crate::codegen::{JITState};
|
||||
|
||||
#[cfg(target_arch = "x86_64")]
|
||||
use crate::backend::x86_64::*;
|
||||
|
|
1165
yjit/src/backend/ir_ssa.rs
Normal file
1165
yjit/src/backend/ir_ssa.rs
Normal file
File diff suppressed because it is too large
Load diff
|
@ -5,4 +5,5 @@ pub mod x86_64;
|
|||
pub mod arm64;
|
||||
|
||||
pub mod ir;
|
||||
pub mod ir_ssa;
|
||||
mod tests;
|
||||
|
|
|
@ -3,13 +3,10 @@
|
|||
#![allow(clippy::too_many_arguments)] // :shrug:
|
||||
#![allow(clippy::identity_op)] // Sometimes we do it for style
|
||||
|
||||
|
||||
// Temporary while switching to the new backend
|
||||
#![allow(dead_code)]
|
||||
#![allow(unused)]
|
||||
|
||||
|
||||
|
||||
mod asm;
|
||||
mod backend;
|
||||
mod codegen;
|
||||
|
|
Loading…
Reference in a new issue