Remove unused TableElement struct.

This commit is contained in:
Dan Gohman
2018-08-03 13:15:31 -07:00
parent 779128d14d
commit 0d8a69189c

View File

@@ -7,15 +7,6 @@ use cranelift_wasm::{
}; };
use std::collections::HashMap; use std::collections::HashMap;
/// Possible values for a WebAssembly table element.
#[derive(Clone, Debug)]
pub enum TableElement {
/// A element that, if called, produces a trap.
Trap(),
/// A function.
Function(FunctionIndex),
}
/// A WebAssembly table initializer. /// A WebAssembly table initializer.
#[derive(Clone, Debug)] #[derive(Clone, Debug)]
pub struct TableElements { pub struct TableElements {