Skip to content

Commit

Permalink
[rename] ovm_main.cc -> ovm2/main.cc
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy Chu committed Nov 8, 2018
1 parent 214aa51 commit ab3bf76
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
File renamed without changes.
6 changes: 3 additions & 3 deletions ovm2/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ gen-opcodes() {

# Helper function.
run-ovm() {
local bin=_tmp/ovm_main
local bin=_tmp/ovm2

local ASAN_FLAGS='-fsanitize=address -g'
#local ASAN_FLAGS=
c++ -std=c++11 -Wall -I _tmp $ASAN_FLAGS -o $bin ovm2/ovm_main.cc
c++ -std=c++11 -Wall -I _tmp $ASAN_FLAGS -o $bin ovm2/main.cc
set -x
$bin "$@"
}
Expand Down Expand Up @@ -70,7 +70,7 @@ compile-recursive() {
ls -l $out
}

# Run ovm_main.cc
# Run ovm2/main.cc
ovm-native() {
local py=${1:-$FIB_I}
local bytecode=_tmp/$(basename $py '.py').ovm2
Expand Down

0 comments on commit ab3bf76

Please sign in to comment.