about summary refs log tree commit diff
path: root/tvix/eval/src/chunk.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tvix/eval/src/chunk.rs')
-rw-r--r--tvix/eval/src/chunk.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/tvix/eval/src/chunk.rs b/tvix/eval/src/chunk.rs
index fbb9f7c37fec..f3df51f31600 100644
--- a/tvix/eval/src/chunk.rs
+++ b/tvix/eval/src/chunk.rs
@@ -29,12 +29,6 @@ pub struct Chunk {
 }
 
 impl Chunk {
-    pub fn push_op_old(&mut self, data: OpCode) -> CodeIdx {
-        let idx = self.code.len();
-        self.code.push(data);
-        CodeIdx(idx)
-    }
-
     pub fn push_op(&mut self, data: OpCode, span: codemap::Span) -> CodeIdx {
         let idx = self.code.len();
         self.code.push(data);