aboutsummaryrefslogtreecommitdiffstats
path: root/yjit/src/core.rs
diff options
context:
space:
mode:
Diffstat (limited to 'yjit/src/core.rs')
-rw-r--r--yjit/src/core.rs16
1 files changed, 0 insertions, 16 deletions
diff --git a/yjit/src/core.rs b/yjit/src/core.rs
index 9288a0188b..70a6540b5b 100644
--- a/yjit/src/core.rs
+++ b/yjit/src/core.rs
@@ -1005,22 +1005,6 @@ impl Block {
}
impl Context {
- pub fn new_with_stack_size(size: i16) -> Self {
- return Context {
- stack_size: size as u16,
- sp_offset: size,
- chain_depth: 0,
- local_types: [Type::Unknown; MAX_LOCAL_TYPES],
- temp_types: [Type::Unknown; MAX_TEMP_TYPES],
- self_type: Type::Unknown,
- temp_mapping: [MapToStack; MAX_TEMP_TYPES],
- };
- }
-
- pub fn new() -> Self {
- return Self::new_with_stack_size(0);
- }
-
pub fn get_stack_size(&self) -> u16 {
self.stack_size
}