diff --git a/src/core/SkVM.cpp b/src/core/SkVM.cpp index 6584f0a1b6..7c31a2e3bb 100644 --- a/src/core/SkVM.cpp +++ b/src/core/SkVM.cpp @@ -984,8 +984,8 @@ namespace skvm { fJITLock.release(); // pairs with tryAcquire() in the if(). } - const int jitN = n & mask; - if (entry && jitN > 0) { + if (const int jitN = n & mask) { + SkASSERT(entry); bool ran = true; switch (nargs) {