To protect your data, the CISO officer has suggested users to enable GitLab 2FA as soon as possible.

Commit 9d0b6268 authored by Isaac Oscar Gariano's avatar Isaac Oscar Gariano
Browse files

Formating

parent 5bbe182b
......@@ -115,4 +115,5 @@ testjit:som:
rustfmt:
stage: rustfmt
script:
- CARGO_HOME=/home/gitlab-runner/.cargo rustup run nightly-2017-07-19 cargo fmt -- --write-mode=diff src/ast/src/lib.rs src/gc/src/lib.rs src/utils/src/lib.rs --verbose
- cargo-fmt -- --write-mode=diff --verbose -- src/ast/src/lib.rs src/gc/src/lib.rs src/utils/src/lib.rs
......@@ -29,7 +29,7 @@ rm -rf $MU_ZEBU/tests/test_jit/emit
cargo update
#cargo clean
rustup run nightly cargo fmt -- --write-mode=diff src/ast/src/lib.rs src/gc/src/lib.rs src/utils/src/lib.rs --verbose | tee cargo_fmt_out.txt
cargo-fmt -- --write-mode=diff --verbose -- src/ast/src/lib.rs src/gc/src/lib.rs src/utils/src/lib.rs | tee cargo_fmt_out.txt
cargo test --release --no-run --color=always 2>&1 | tee build_out.txt
$(exit ${PIPESTATUS[0]}) # this command will exit the shell but only if the above cargo test failed
......
......@@ -1658,4 +1658,4 @@ impl MuEntity for TreeNode {
TreeNode_::Value(ref pv) => pv.as_entity()
}
}
}
\ No newline at end of file
}
......@@ -239,4 +239,4 @@ pub enum AtomicRMWOp {
MIN,
UMAX,
UMIN
}
\ No newline at end of file
}
......@@ -2407,7 +2407,7 @@ impl<'lb, 'lvm> BundleLoader<'lb, 'lvm> {
assert_ir!(
impl_opnd1.ty() == impl_opnd2.ty() && impl_opnd1.ty() == impl_ty,
"Invalid instruction {:?}: Operand types {} and {} \
are not what was expected {}",
are not what was expected {}",
inst,
impl_opnd1.ty(),
impl_opnd2.ty(),
......@@ -3239,8 +3239,8 @@ impl<'lb, 'lvm> BundleLoader<'lb, 'lvm> {
let impl_ord = self.build_mem_ord(ord);
let impl_loc = self.get_treenode(fcb, loc);
let impl_rvtype = self.get_built_type(refty);
let impl_rv = self.new_ssa(fcb, result_id,
self.vm.make_strong_type(impl_rvtype)).clone_value();
let impl_rv = self.new_ssa(fcb, result_id, self.vm.make_strong_type(impl_rvtype))
.clone_value();
let impl_refty = self.get_built_type(refty);
assert_ir!(impl_ord != MemoryOrder::Release && impl_ord != MemoryOrder::AcqRel);
......
......@@ -2115,4 +2115,4 @@ fn coalesce_unusable_reg() -> VM {
});
vm
}
\ No newline at end of file
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment