- Timestamp:
- Sep 2, 2021, 11:11:12 AM (3 years ago)
- Branches:
- ADT, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, pthread-emulation, qualifiedEnum
- Children:
- b183717
- Parents:
- 8baaf74e
- Location:
- doc/theses/andrew_beach_MMath/code
- Files:
-
- 1 edited
- 10 moved
Legend:
- Unmodified
- Added
- Removed
-
doc/theses/andrew_beach_MMath/code/FixupEmpty.java
r8baaf74e r678f259 1 public class ResumeFixupEmpty {1 public class FixupEmpty { 2 2 public interface Fixup { 3 3 public int op(int fixup); -
doc/theses/andrew_beach_MMath/code/FixupOther.java
r8baaf74e r678f259 1 public class ResumeFixupOther {1 public class FixupOther { 2 2 public interface Fixup { 3 3 public int op(int fixup); -
doc/theses/andrew_beach_MMath/code/test.sh
r8baaf74e r678f259 13 13 # View the result from TEST in LANGUAGE stored in FILE. 14 14 15 readonly ITERS_1M=1000000 # 1 000 000, one million 16 readonly ITERS_10M=10000000 # 10 000 000, ten million 17 readonly ITERS_100M=100000000 # 100 000 000, hundred million 18 readonly ITERS_1000M=1000000000 # 1 000 000 000, billion 15 readonly MIL=000000 16 # Various preset values used as arguments. 17 readonly ITERS_1M=1$MIL 18 readonly ITERS_10M=10$MIL 19 readonly ITERS_100M=100$MIL 20 readonly ITERS_1000M=1000$MIL 19 21 readonly STACK_HEIGHT=100 20 22 … … 30 32 case "$1" in 31 33 *.cfa) 32 # Requires a symbolic link. 33 mmake "${1%.cfa}" "$1" cfa -DNDEBUG -nodebug -O3 "$1" -o "${1%.cfa}" 34 # A symbolic link/local copy can be used as an override. 35 cmd=./cfa 36 if [ ! -x $cmd ]; then 37 cmd=cfa 38 fi 39 mmake "${1%.cfa}" "$1" $cmd -DNDEBUG -nodebug -O3 "$1" -o "${1%.cfa}" 34 40 ;; 35 41 *.cpp) … … 83 89 raise-empty) 84 90 CFAT="./throw-empty $ITERS_1M $STACK_HEIGHT" 85 # see resume-fixup-empty-rCFAR="./resume-empty $ITERS_1M $STACK_HEIGHT"91 CFAR="./resume-empty $ITERS_1M $STACK_HEIGHT" 86 92 CPP="./throw-empty-cpp $ITERS_1M $STACK_HEIGHT" 87 93 JAVA="java ThrowEmpty $ITERS_1M $STACK_HEIGHT" … … 90 96 raise-detor) 91 97 CFAT="./throw-detor $ITERS_1M $STACK_HEIGHT" 92 # N/ACFAR="./resume-detor $ITERS_1M $STACK_HEIGHT"98 CFAR="./resume-detor $ITERS_1M $STACK_HEIGHT" 93 99 CPP="./throw-detor-cpp $ITERS_1M $STACK_HEIGHT" 94 100 JAVA=unsupported … … 97 103 raise-finally) 98 104 CFAT="./throw-finally $ITERS_1M $STACK_HEIGHT" 99 # N/ACFAR="./resume-finally $ITERS_1M $STACK_HEIGHT"105 CFAR="./resume-finally $ITERS_1M $STACK_HEIGHT" 100 106 CPP=unsupported 101 107 JAVA="java ThrowFinally $ITERS_1M $STACK_HEIGHT" … … 104 110 raise-other) 105 111 CFAT="./throw-other $ITERS_1M $STACK_HEIGHT" 106 # N/ACFAR="./resume-other $ITERS_1M $STACK_HEIGHT"112 CFAR="./resume-other $ITERS_1M $STACK_HEIGHT" 107 113 CPP="./throw-other-cpp $ITERS_1M $STACK_HEIGHT" 108 114 JAVA="java ThrowOther $ITERS_1M $STACK_HEIGHT" … … 137 143 PYTHON="./cond-catch.py $ITERS_10M 0" 138 144 ;; 139 raise-fixup-empty)140 CFAT="./ resume-fixup-empty-f $ITERS_10M $STACK_HEIGHT"141 CFAR="./ resume-fixup-empty-r $ITERS_10M $STACK_HEIGHT"142 CPP="./ resume-fixup-empty-cpp $ITERS_10M $STACK_HEIGHT"143 JAVA="java ResumeFixupEmpty $ITERS_10M $STACK_HEIGHT"144 PYTHON="./ resume-fixup-empty.py $ITERS_10M $STACK_HEIGHT"145 fixup-empty) 146 CFAT="./fixup-empty-f $ITERS_10M $STACK_HEIGHT" 147 CFAR="./fixup-empty-r $ITERS_10M $STACK_HEIGHT" 148 CPP="./fixup-empty-cpp $ITERS_10M $STACK_HEIGHT" 149 JAVA="java FixupEmpty $ITERS_10M $STACK_HEIGHT" 150 PYTHON="./fixup-empty.py $ITERS_10M $STACK_HEIGHT" 145 151 ;; 146 raise-fixup-other)147 CFAT="./ resume-fixup-other-f $ITERS_10M $STACK_HEIGHT"148 CFAR="./ resume-fixup-other-r $ITERS_10M $STACK_HEIGHT"149 CPP="./ resume-fixup-other-cpp $ITERS_10M $STACK_HEIGHT"150 JAVA="java ResumeFixupOther $ITERS_10M $STACK_HEIGHT"151 PYTHON="./ resume-fixup-other.py $ITERS_10M $STACK_HEIGHT"152 fixup-other) 153 CFAT="./fixup-other-f $ITERS_10M $STACK_HEIGHT" 154 CFAR="./fixup-other-r $ITERS_10M $STACK_HEIGHT" 155 CPP="./fixup-other-cpp $ITERS_10M $STACK_HEIGHT" 156 JAVA="java FixupOther $ITERS_10M $STACK_HEIGHT" 157 PYTHON="./fixup-other.py $ITERS_10M $STACK_HEIGHT" 152 158 ;; 153 159 *)
Note: See TracChangeset
for help on using the changeset viewer.