There was an error while loading. Please reload this page.
1 parent 93bbf19 commit 73f23b8Copy full SHA for 73f23b8
1 file changed
jit/src/lib.rs
@@ -44,13 +44,13 @@ impl Error for JITCompileError {
44
}
45
46
47
-struct JIT {
+struct Jit {
48
builder_context: FunctionBuilderContext,
49
ctx: codegen::Context,
50
module: Module<SimpleJITBackend>,
51
52
53
-impl JIT {
+impl Jit {
54
fn new() -> Self {
55
let builder = SimpleJITBuilder::new(cranelift_module::default_libcall_names());
56
let module = Module::new(builder);
@@ -104,7 +104,7 @@ impl JIT {
104
105
106
pub fn compile(bytecode: &bytecode::CodeObject) -> Result<CompiledCode, JITCompileError> {
107
- let mut jit = JIT::new();
+ let mut jit = Jit::new();
108
109
let id = jit.build_function(bytecode)?;
110
0 commit comments