mirror of
https://github.com/sockspls/badfish
synced 2025-04-30 08:43:09 +00:00
Code style triviality in split()
No functional change Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
parent
1ea70dd9dd
commit
2f2e8a68d8
1 changed files with 2 additions and 2 deletions
|
@ -2842,8 +2842,7 @@ namespace {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Pick the next available split point object from the split point stack
|
// Pick the next available split point object from the split point stack
|
||||||
splitPoint = SplitPointStack[master] + threads[master].activeSplitPoints;
|
splitPoint = &SplitPointStack[master][threads[master].activeSplitPoints];
|
||||||
threads[master].activeSplitPoints++;
|
|
||||||
|
|
||||||
// Initialize the split point object
|
// Initialize the split point object
|
||||||
splitPoint->parent = threads[master].splitPoint;
|
splitPoint->parent = threads[master].splitPoint;
|
||||||
|
@ -2865,6 +2864,7 @@ namespace {
|
||||||
splitPoint->slaves[i] = 0;
|
splitPoint->slaves[i] = 0;
|
||||||
|
|
||||||
threads[master].splitPoint = splitPoint;
|
threads[master].splitPoint = splitPoint;
|
||||||
|
threads[master].activeSplitPoints++;
|
||||||
|
|
||||||
// If we are here it means we are not available
|
// If we are here it means we are not available
|
||||||
assert(threads[master].state != THREAD_AVAILABLE);
|
assert(threads[master].state != THREAD_AVAILABLE);
|
||||||
|
|
Loading…
Add table
Reference in a new issue