Skip to content

Commit b779095

Browse files
committed
repl: Remove module print in raise command.
1 parent 6a90786 commit b779095

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

test/repl/raise.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
// RUN: printf "load %s\n raise vast-hl-to-ll-cf\n exit" | vast-repl | FileCheck %s
1+
// RUN: printf "load %s\n raise vast-hl-to-ll-cf\n show module\n exit" | vast-repl | FileCheck %s
22
// CHECK: ll.return %0 : !hl.int
33
int main(void) { return 0; }

tools/vast-repl/command.cpp

+1-3
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ namespace vast::repl::cmd {
122122
}
123123

124124
//
125-
// apply command
125+
// raise command
126126
//
127127
void raise::run(state_t &state) const {
128128
check_and_emit_module(state);
@@ -139,8 +139,6 @@ namespace vast::repl::cmd {
139139
}
140140
th = state.tower->apply(th, pm);
141141
}
142-
143-
llvm::outs() << th.mod << '\n';
144142
}
145143

146144
} // namespace vast::repl::cmd

0 commit comments

Comments
 (0)