Skip to content

Commit 9f668b0

Browse files
committed
Remove debug code
1 parent 9e1ff7e commit 9f668b0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/runtime/vm/vm.cc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -664,7 +664,6 @@ Index VirtualMachine::PopFrame() {
664664

665665
void VirtualMachine::InvokeGlobal(const VMFunction& func, const std::vector<Object>& args) {
666666
DLOG(INFO) << "Invoking global " << func.name << " " << args.size();
667-
std::cout << func << "\n";
668667

669668
PushFrame(func.params, this->pc + 1, func);
670669
for (size_t i = 0; i < args.size(); ++i) {
@@ -742,8 +741,8 @@ void VirtualMachine::Run() {
742741
main_loop:
743742
auto const& instr = this->code[this->pc];
744743
DLOG(INFO) << "Executing(" << pc << "): ";
745-
InstructionPrint(std::cout, instr);
746744
#if USE_RELAY_DEBUG
745+
InstructionPrint(std::cout, instr);
747746
#endif // USE_RELAY_DEBUG
748747

749748
switch (instr.op) {

0 commit comments

Comments
 (0)