Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions misc/headerimport.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,4 @@
#include "../src/stream/type.h"
#include "../src/runtime/execute.h"
#include "../src/runtime/memory.h"
#include "../src/stream/codeprovider.h"
4 changes: 3 additions & 1 deletion src/stream/process.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,9 @@ class Process {

// connect perf_func_n to perf_func_node_ (push)
void ConnectPerform(PerformFunction* perf_func_n) {
perf_func_node_->perf_func_next_ = perf_func_n;
PerformFunction* node_std = perf_func_node_;
while(node_std->perf_func_next_ != NULL) node_std = node_std->perf_func_next_;
node_std->perf_func_next_ = perf_func_n;
}
};
#endif
4 changes: 3 additions & 1 deletion src/stream/stream.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ class Stream {

// connnect proc_n to proc_node (push)
void ConnectProc(Process* proc_n) {
proc_node_->proc_next = proc_n;
Process* node_std = proc_node_;
while(node_std->perf_func_next_ != NULL) node_std = node_std->perf_func_next_;
node_std->perf_func_next_ = perf_func_n;
}
};

Expand Down