Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a27fcee6 authored by Jesse Hall's avatar Jesse Hall Committed by Android Git Automerger
Browse files

am ba23d539: Merge "Fix the handling of CodeCache return codes in pixelflinger"

* commit 'ba23d539':
  Fix the handling of CodeCache return codes in pixelflinger
parents 1a5bc28f ba23d539
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -408,10 +408,10 @@ static void pick_scanline(context_t* c)
        GGLAssembler assembler( new ArmToArm64Assembler(a) );
#endif
        // generate the scanline code for the given needs
        int err = assembler.scanline(c->state.needs, c);
        bool err = assembler.scanline(c->state.needs, c) != 0;
        if (ggl_likely(!err)) {
            // finally, cache this assembly
            err = gCodeCache.cache(a->key(), a);
            err = gCodeCache.cache(a->key(), a) < 0;
        }
        if (ggl_unlikely(err)) {
            ALOGE("error generating or caching assembly. Reverting to NOP.");