mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 21:39:07 +00:00
Formatting all code with cargo fmt --all
This commit is contained in:
parent
fcbe177c07
commit
f0741ca5d2
2 changed files with 14 additions and 2 deletions
|
@ -1268,7 +1268,13 @@ impl<
|
||||||
self.build_num_mul_wrap(dst, src1, src2, layout)
|
self.build_num_mul_wrap(dst, src1, src2, layout)
|
||||||
}
|
}
|
||||||
|
|
||||||
fn build_num_mul_wrap(&mut self, dst: &Symbol, src1: &Symbol, src2: &Symbol, layout: &InLayout<'a>) {
|
fn build_num_mul_wrap(
|
||||||
|
&mut self,
|
||||||
|
dst: &Symbol,
|
||||||
|
src1: &Symbol,
|
||||||
|
src2: &Symbol,
|
||||||
|
layout: &InLayout<'a>,
|
||||||
|
) {
|
||||||
use Builtin::Int;
|
use Builtin::Int;
|
||||||
|
|
||||||
match self.layout_interner.get_repr(*layout) {
|
match self.layout_interner.get_repr(*layout) {
|
||||||
|
|
|
@ -1965,7 +1965,13 @@ trait Backend<'a> {
|
||||||
fn build_num_mul(&mut self, dst: &Symbol, src1: &Symbol, src2: &Symbol, layout: &InLayout<'a>);
|
fn build_num_mul(&mut self, dst: &Symbol, src1: &Symbol, src2: &Symbol, layout: &InLayout<'a>);
|
||||||
|
|
||||||
/// build_num_mul_wrap stores `src1 * src2` into dst.
|
/// build_num_mul_wrap stores `src1 * src2` into dst.
|
||||||
fn build_num_mul_wrap(&mut self, dst: &Symbol, src1: &Symbol, src2: &Symbol, layout: &InLayout<'a>);
|
fn build_num_mul_wrap(
|
||||||
|
&mut self,
|
||||||
|
dst: &Symbol,
|
||||||
|
src1: &Symbol,
|
||||||
|
src2: &Symbol,
|
||||||
|
layout: &InLayout<'a>,
|
||||||
|
);
|
||||||
|
|
||||||
/// build_num_mul stores `src1 / src2` into dst.
|
/// build_num_mul stores `src1 / src2` into dst.
|
||||||
fn build_num_div(&mut self, dst: &Symbol, src1: &Symbol, src2: &Symbol, layout: &InLayout<'a>);
|
fn build_num_div(&mut self, dst: &Symbol, src1: &Symbol, src2: &Symbol, layout: &InLayout<'a>);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue