Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Small change to the aeneas script to make it more robust #299

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions aeneas/src/ssa/SsaOptimizer.v3
Original file line number Diff line number Diff line change
Expand Up @@ -1911,6 +1911,7 @@ class SsaLoadOptimizer(context: SsaContext) {
pure.length = 0;
impure.length = 0;
var i = block.next;
if (SsaPhi.?(i)) i = i.next;
while (SsaApplyOp.?(i)) {
var instr = SsaApplyOp.!(i);
var next = instr.next;
Expand Down
4 changes: 2 additions & 2 deletions bin/dev/aeneas
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#!/bin/bash

BIN=$(builtin cd $(dirname ${BASH_SOURCE[0]})/.. && builtin pwd)
BIN=$(builtin cd $(dirname ${BASH_SOURCE[0]})/.. >/dev/null && builtin pwd)
JAR=$BIN/jar
JAR_LINK=$BIN/Aeneas.jar
V3C_LINK=$BIN/v3c
VIRGIL_LOC=${VIRGIL_LOC:=$(builtin cd $BIN/.. && builtin pwd)}
VIRGIL_LOC=${VIRGIL_LOC:=$(builtin cd $BIN/.. >/dev/null && builtin pwd)}
AENEAS_SYS=${AENEAS_SYS:=${VIRGIL_LOC}/rt/darwin/*.v3}
AENEAS_LOC=${AENEAS_LOC:=${VIRGIL_LOC}/aeneas/src}
AENEAS_JVM_TUNING=${AENEAS_JVM_TUNING:="-client -Xms900m -Xmx900m -XX:+UseSerialGC"}
Expand Down