Skip to content

Commit 5d5c5f9

Browse files
bjorn3antoyo
authored andcommitted
Remove several unused methods from MiscMethods
1 parent 5943166 commit 5d5c5f9

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

src/context.rs

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -431,10 +431,6 @@ impl<'gcc, 'tcx> MiscMethods<'tcx> for CodegenCx<'gcc, 'tcx> {
431431
self.codegen_unit
432432
}
433433

434-
fn used_statics(&self) -> &RefCell<Vec<RValue<'gcc>>> {
435-
unimplemented!();
436-
}
437-
438434
fn set_frame_pointer_type(&self, _llfn: RValue<'gcc>) {
439435
// TODO(antoyo)
440436
}
@@ -443,10 +439,6 @@ impl<'gcc, 'tcx> MiscMethods<'tcx> for CodegenCx<'gcc, 'tcx> {
443439
// TODO(antoyo)
444440
}
445441

446-
fn create_used_variable(&self) {
447-
unimplemented!();
448-
}
449-
450442
fn declare_c_main(&self, fn_type: Self::Type) -> Option<Self::Function> {
451443
if self.get_declared_value("main").is_none() {
452444
Some(self.declare_cfn("main", fn_type))
@@ -458,14 +450,6 @@ impl<'gcc, 'tcx> MiscMethods<'tcx> for CodegenCx<'gcc, 'tcx> {
458450
None
459451
}
460452
}
461-
462-
fn compiler_used_statics(&self) -> &RefCell<Vec<RValue<'gcc>>> {
463-
unimplemented!()
464-
}
465-
466-
fn create_compiler_used_variable(&self) {
467-
unimplemented!()
468-
}
469453
}
470454

471455
impl<'gcc, 'tcx> HasTyCtxt<'tcx> for CodegenCx<'gcc, 'tcx> {

0 commit comments

Comments
 (0)