parent
08da30d72c
commit
5e59e686c1
2 changed files with 54 additions and 0 deletions
|
|
@ -204,3 +204,30 @@ macro_rules! foo {
|
|||
macro_rules! __wundergraph_expand_sqlite_mutation {
|
||||
( $mutation_name:ident $((context = $($context:tt)*))*{ $( $entity_name:ident( $(insert = $insert:ident,)* $(update = $update:ident,)* $(delete = $($delete:tt)+)* ), )* } ) => {};
|
||||
}
|
||||
|
||||
// #2607
|
||||
macro_rules! bench {
|
||||
($ty:ident) => {
|
||||
criterion_group!(
|
||||
name = benches;
|
||||
config = ::common_bench::reduced_samples();
|
||||
targets = call, map;
|
||||
);
|
||||
};
|
||||
}
|
||||
|
||||
// #2770
|
||||
macro_rules! save_regs {
|
||||
() => {
|
||||
asm!("push rax
|
||||
push rcx
|
||||
push rdx
|
||||
push rsi
|
||||
push rdi
|
||||
push r8
|
||||
push r9
|
||||
push r10
|
||||
push r11"
|
||||
:::: "intel", "volatile");
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -246,3 +246,30 @@ macro_rules! __wundergraph_expand_sqlite_mutation {
|
|||
}
|
||||
) => {};
|
||||
}
|
||||
|
||||
// #2607
|
||||
macro_rules! bench {
|
||||
($ty:ident) => {
|
||||
criterion_group!(
|
||||
name = benches;
|
||||
config = ::common_bench::reduced_samples();
|
||||
targets = call, map;
|
||||
);
|
||||
};
|
||||
}
|
||||
|
||||
// #2770
|
||||
macro_rules! save_regs {
|
||||
() => {
|
||||
asm!("push rax
|
||||
push rcx
|
||||
push rdx
|
||||
push rsi
|
||||
push rdi
|
||||
push r8
|
||||
push r9
|
||||
push r10
|
||||
push r11"
|
||||
:::: "intel", "volatile");
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue