Add basic inline asm support for x86_64
This commit is contained in:
parent
35701d8caa
commit
726e329f46
6 changed files with 243 additions and 15 deletions
|
|
@ -254,6 +254,7 @@ pub(crate) struct FunctionCx<'clif, 'tcx, B: Backend + 'static> {
|
|||
// FIXME use a reference to `CodegenCx` instead of `tcx`, `module` and `constants` and `caches`
|
||||
pub(crate) tcx: TyCtxt<'tcx>,
|
||||
pub(crate) module: &'clif mut Module<B>,
|
||||
pub(crate) global_asm: &'clif mut String,
|
||||
pub(crate) pointer_type: Type, // Cached from module
|
||||
|
||||
pub(crate) instance: Instance<'tcx>,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue