WARNING! Access to this system is limited to authorised users only.
Unauthorised users may be subject to prosecution.
Unauthorised access to this system is a criminal offence under Australian law (Federal Crimes Act 1914 Part VIA)
It is a criminal offence to:
(1) Obtain access to data without authority. -Penalty 2 years imprisonment.
(2) Damage, delete, alter or insert data without authority. -Penalty 10 years imprisonment.
User activity is monitored and recorded. Anyone using this system expressly consents to such monitoring and recording.

Commit 7c03955f authored by Yi Lin's avatar Yi Lin
Browse files

Merge branch 'shell-ci-2' into 'develop'

use shell executor for CI

See merge request !22
parents 0239714a 4c654555
image: "qinsoon/ubuntu-zebu-test:latest"
stages:
- build
- test
- rustfmt
before_script:
- export PATH=$PATH:/root/.cargo/bin
- export MU_ZEBU=$CI_PROJECT_DIR
- export ZEBU_BUILD=release
- export CARGO_HOME=.cargo
- export CC=clang
- source /home/gitlab-runner/ci/bin/activate
build:
stage: build
......@@ -117,4 +115,4 @@ testjit:som:
rustfmt:
stage: rustfmt
script:
- rustup run nightly cargo fmt -- --write-mode=diff src/ast/src/lib.rs src/gc/src/lib.rs src/utils/src/lib.rs --verbose
- 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
......@@ -138,9 +138,13 @@ impl HeapDump {
let field_addr = base + *offset;
let edge = unsafe { field_addr.load::<Address>() };
trace!("object reference from {} -> {} at +[{}]", base,
edge, offset);
trace!(
"object reference from {} -> {} at +[{}]",
base,
edge,
offset
);
if !edge.is_zero() && !self.objects.contains_key(&edge) {
work_queue.push(edge);
}
......
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