git subrepo pull --force deps/lightrec
authorPaul Cercueil <paul@crapouillou.net>
Sat, 9 Apr 2022 20:53:44 +0000 (21:53 +0100)
committerPaul Cercueil <paul@crapouillou.net>
Sat, 9 Apr 2022 20:53:44 +0000 (21:53 +0100)
subrepo:
  subdir:   "deps/lightrec"
  merged:   "b9f1b040"
upstream:
  origin:   "https://github.com/pcercuei/lightrec.git"
  branch:   "master"
  commit:   "b9f1b040"
git-subrepo:
  version:  "0.4.3"
  origin:   "https://github.com/ingydotnet/git-subrepo.git"
  commit:   "2f68596"

deps/lightrec/.gitrepo
deps/lightrec/recompiler.c

index 4b96823..5adaf6b 100644 (file)
@@ -6,7 +6,7 @@
 [subrepo]
        remote = https://github.com/pcercuei/lightrec.git
        branch = master
-       commit = ce40f8388079945b60fd3f3dbef8ebaddf6f2685
-       parent = 1f22b268b62cf9a3fad39b9b642ded0890902f58
+       commit = b9f1b040bb1333508caee3795375e13b8cf8f684
+       parent = 37d9bf8315be570a350cd44876ae14f9b0eff20b
        method = merge
        cmdver = 0.4.3
index a6c8cd1..966635d 100644 (file)
@@ -154,7 +154,7 @@ struct recompiler *lightrec_recompiler_init(struct lightrec_state *state)
 
        for (i = 0; i < nb_recs; i++) {
                rec->thds[i].cstate = lightrec_create_cstate(state);
-               if (!rec->state) {
+               if (!rec->thds[i].cstate) {
                        pr_err("Cannot create recompiler: Out of memory\n");
                        goto err_free_cstates;
                }