/[svn]/linuxsampler/trunk/src/scriptvm/tree.h
ViewVC logotype

Diff of /linuxsampler/trunk/src/scriptvm/tree.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3260 by schoenebeck, Wed May 31 21:07:44 2017 UTC revision 3277 by schoenebeck, Mon Jun 5 18:40:18 2017 UTC
# Line 690  public: Line 690  public:
690    
691      ArrayList<int> polyphonicIntMemory;      ArrayList<int> polyphonicIntMemory;
692      VMExecStatus_t status;      VMExecStatus_t status;
693        StmtFlags_t flags;
694      ArrayList<StackFrame> stack;      ArrayList<StackFrame> stack;
695      int stackFrame;      int stackFrame;
696      int suspendMicroseconds;      int suspendMicroseconds;
697      size_t instructionsCount;      size_t instructionsCount;
698    
699      ExecContext() :      ExecContext() :
700          status(VM_EXEC_NOT_RUNNING), stackFrame(-1), suspendMicroseconds(0),          status(VM_EXEC_NOT_RUNNING), flags(STMT_SUCCESS), stackFrame(-1),
701          instructionsCount(0) {}          suspendMicroseconds(0), instructionsCount(0) {}
702    
703      virtual ~ExecContext() {}      virtual ~ExecContext() {}
704    
# Line 720  public: Line 721  public:
721          stack[0].statement = NULL;          stack[0].statement = NULL;
722          stack[0].subindex  = -1;          stack[0].subindex  = -1;
723          stackFrame = -1;          stackFrame = -1;
724            flags = STMT_SUCCESS;
725      }      }
726    
727      int suspensionTimeMicroseconds() const OVERRIDE {      int suspensionTimeMicroseconds() const OVERRIDE {
# Line 734  public: Line 736  public:
736      size_t instructionsPerformed() const OVERRIDE {      size_t instructionsPerformed() const OVERRIDE {
737          return instructionsCount;          return instructionsCount;
738      }      }
739    
740        void signalAbort() OVERRIDE {
741            flags = StmtFlags_t(flags | STMT_ABORT_SIGNALLED);
742        }
743  };  };
744    
745  } // namespace LinuxSampler  } // namespace LinuxSampler

Legend:
Removed from v.3260  
changed lines
  Added in v.3277

  ViewVC Help
Powered by ViewVC