rubyspec (owner)

Revisions

gist: 8043 Download_button fork
public
Public Clone URL: git://gist.github.com/8043.git
Embed All Files: show embed
Text only #
1
2
3
4
5
6
7
8
9
10
11
12
13
14
    if(flags.ExecuteInstruction) {
      std::cout << std::left << std::setw(27) <<
        ctx->cm->name->to_str(task->state)->c_str() << "+" <<
        std::right << std::setw(4) << ctx->ip << ": " <<
        std::left << std::setw(30) <<
        InstructionSequence::get_instruction_name(op) << " " <<
        std::right << std::setw(4) << ctx->js.stack - ctx->stk << " " <<
        std::right << (void*) *ctx->js.stack << std::endl;
      // printf("%-27s+%4d: %-30s %4d %10p\n",
      // ctx->cm->name->to_str(task->state)->c_str(),
      // ctx->ip, InstructionSequence::get_instruction_name(op),
      // js->stack - ctx->stk, *js->stack);
    }