Commit 2d0d0d8c authored by Kenton Varda's avatar Kenton Varda

Fix GCC opt build.

parent f582e997
......@@ -1013,7 +1013,8 @@ private:
namespace _ { // private
KJ_ALWAYS_INLINE(void compilerBarrier()) {
KJ_ALWAYS_INLINE(void compilerBarrier());
void compilerBarrier() {
// Make sure that reads occurring before this call cannot be re-ordered to happen after
// writes that occur after this call. We need this in a couple places below to prevent C++
// strict aliasing rules from breaking things.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment