mirror of
https://github.com/mii443/wasmer.git
synced 2025-12-16 17:18:57 +00:00
compiler: move Symbol, SymbolRegistry to wasmer-types
This commit is contained in:
@@ -10,14 +10,12 @@ use inkwell::DLLStorageClass;
|
||||
use rayon::iter::ParallelBridge;
|
||||
use rayon::prelude::{IntoParallelIterator, IntoParallelRefIterator, ParallelIterator};
|
||||
use std::sync::Arc;
|
||||
use wasmer_compiler::{
|
||||
Compiler, FunctionBodyData, ModuleMiddleware, ModuleTranslationState, Symbol, SymbolRegistry,
|
||||
};
|
||||
use wasmer_compiler::{Compiler, FunctionBodyData, ModuleMiddleware, ModuleTranslationState};
|
||||
use wasmer_types::entity::{EntityRef, PrimaryMap};
|
||||
use wasmer_types::{
|
||||
Compilation, CompileError, CompileModuleInfo, CustomSection, CustomSectionProtection, Dwarf,
|
||||
FunctionIndex, LocalFunctionIndex, RelocationTarget, SectionBody, SectionIndex, SignatureIndex,
|
||||
Target,
|
||||
Symbol, SymbolRegistry, Target,
|
||||
};
|
||||
|
||||
//use std::sync::Mutex;
|
||||
|
||||
@@ -28,12 +28,12 @@ use std::convert::TryFrom;
|
||||
use wasmer_compiler::wasmparser::{MemoryImmediate, Operator};
|
||||
use wasmer_compiler::{
|
||||
from_binaryreadererror_wasmerror, wptype_to_type, FunctionBinaryReader, FunctionBodyData,
|
||||
MiddlewareBinaryReader, ModuleMiddlewareChain, ModuleTranslationState, Symbol, SymbolRegistry,
|
||||
MiddlewareBinaryReader, ModuleMiddlewareChain, ModuleTranslationState,
|
||||
};
|
||||
use wasmer_types::entity::PrimaryMap;
|
||||
use wasmer_types::{
|
||||
CompileError, FunctionIndex, FunctionType, GlobalIndex, LocalFunctionIndex, MemoryIndex,
|
||||
ModuleInfo, RelocationTarget, SignatureIndex, TableIndex, Type,
|
||||
ModuleInfo, RelocationTarget, SignatureIndex, Symbol, SymbolRegistry, TableIndex, Type,
|
||||
};
|
||||
use wasmer_vm::{MemoryStyle, TableStyle, VMOffsets};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user