diff options
author | Tim Besard <tim.besard@gmail.com> | 2011-11-01 17:19:24 +0100 |
---|---|---|
committer | Tim Besard <tim.besard@gmail.com> | 2011-11-01 17:19:24 +0100 |
commit | eb6995fb5a0f4382cb4a01d301423e74ea8babe6 (patch) | |
tree | d932d044359f26e84a35b5aedaba7042b5d8dfc4 /src/Chain.h | |
parent | 420b64a912976f89ed189880ba8a16fbb55bc80f (diff) |
Reducing prefetching instructions by changing end of chain check.
Diffstat (limited to 'src/Chain.h')
-rw-r--r-- | src/Chain.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Chain.h b/src/Chain.h index 8bdb584..5a55865 100644 --- a/src/Chain.h +++ b/src/Chain.h @@ -16,9 +16,14 @@ class Chain { public: Chain(); + Chain(Chain* end); ~Chain(); Chain* next; + + static Chain* END(); private: }; +static Chain* END_OF_CHAIN = Chain::END(); + #endif |