diff options
| author | Eli Zaretskii | 2025-07-09 19:13:56 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2025-07-09 19:13:56 +0300 |
| commit | 1a6e7280e20d65da9d3ab1bb4f2e84f6b7b66483 (patch) | |
| tree | 8a9e49f638566b0b877932ac7eff4b73b75b1251 /src | |
| parent | 115a4fd940beadef72208c0137eb90fc76cefc32 (diff) | |
| parent | 48a5917681dd53b8b75764f4e1455a6c24f95498 (diff) | |
| download | emacs-1a6e7280e20d65da9d3ab1bb4f2e84f6b7b66483.tar.gz emacs-1a6e7280e20d65da9d3ab1bb4f2e84f6b7b66483.zip | |
Merge branch 'master' of git.savannah.gnu.org:/srv/git/emacs
Diffstat (limited to 'src')
| -rw-r--r-- | src/comp.c | 43 | ||||
| -rw-r--r-- | src/frame.c | 6 |
2 files changed, 27 insertions, 22 deletions
diff --git a/src/comp.c b/src/comp.c index a2b6a959c2a..bd5e637afe3 100644 --- a/src/comp.c +++ b/src/comp.c | |||
| @@ -1972,27 +1972,32 @@ emit_mvar_rval (Lisp_Object mvar) | |||
| 1972 | if (!NILP (const_vld)) | 1972 | if (!NILP (const_vld)) |
| 1973 | { | 1973 | { |
| 1974 | Lisp_Object value = CALLNI (comp-cstr-imm, mvar); | 1974 | Lisp_Object value = CALLNI (comp-cstr-imm, mvar); |
| 1975 | if (comp.debug > 1) | 1975 | if (NILP (Fgethash (value, |
| 1976 | CALLNI (comp-ctxt-non-materializable-objs-h, Vcomp_ctxt), | ||
| 1977 | Qnil))) | ||
| 1976 | { | 1978 | { |
| 1977 | Lisp_Object func = | 1979 | if (comp.debug > 1) |
| 1978 | Fgethash (value, | 1980 | { |
| 1979 | CALLNI (comp-ctxt-byte-func-to-func-h, Vcomp_ctxt), | 1981 | Lisp_Object func = |
| 1980 | Qnil); | 1982 | Fgethash (value, |
| 1981 | 1983 | CALLNI (comp-ctxt-byte-func-to-func-h, Vcomp_ctxt), | |
| 1982 | emit_comment ( | 1984 | Qnil); |
| 1983 | SSDATA ( | 1985 | |
| 1984 | Fprin1_to_string ( | 1986 | emit_comment ( |
| 1985 | NILP (func) ? value : CALLNI (comp-func-c-name, func), | 1987 | SSDATA ( |
| 1986 | Qnil, Qnil))); | 1988 | Fprin1_to_string ( |
| 1987 | } | 1989 | NILP (func) ? value : CALLNI (comp-func-c-name, func), |
| 1988 | if (FIXNUMP (value)) | 1990 | Qnil, Qnil))); |
| 1989 | { | 1991 | } |
| 1990 | /* We can still emit directly objects that are self-contained in a | 1992 | if (FIXNUMP (value)) |
| 1991 | word (read fixnums). */ | 1993 | { |
| 1992 | return emit_rvalue_from_lisp_obj (value); | 1994 | /* We can still emit directly objects that are self-contained in a |
| 1995 | word (read fixnums). */ | ||
| 1996 | return emit_rvalue_from_lisp_obj (value); | ||
| 1997 | } | ||
| 1998 | /* Other const objects are fetched from the reloc array. */ | ||
| 1999 | return emit_lisp_obj_rval (value); | ||
| 1993 | } | 2000 | } |
| 1994 | /* Other const objects are fetched from the reloc array. */ | ||
| 1995 | return emit_lisp_obj_rval (value); | ||
| 1996 | } | 2001 | } |
| 1997 | 2002 | ||
| 1998 | return gcc_jit_lvalue_as_rvalue (emit_mvar_lval (mvar)); | 2003 | return gcc_jit_lvalue_as_rvalue (emit_mvar_lval (mvar)); |
diff --git a/src/frame.c b/src/frame.c index 70e200d9219..36ce36436f3 100644 --- a/src/frame.c +++ b/src/frame.c | |||
| @@ -364,8 +364,8 @@ frame_redisplay_p (struct frame *f) | |||
| 364 | { | 364 | { |
| 365 | if (is_tty_frame (f)) | 365 | if (is_tty_frame (f)) |
| 366 | { | 366 | { |
| 367 | struct frame *p = FRAME_PARENT_FRAME (f); | 367 | struct frame *p = f; |
| 368 | struct frame *q = NULL; | 368 | struct frame *q = f; |
| 369 | 369 | ||
| 370 | while (p) | 370 | while (p) |
| 371 | { | 371 | { |
| @@ -387,7 +387,7 @@ frame_redisplay_p (struct frame *f) | |||
| 387 | frame of its terminal. Any other tty frame can be redisplayed | 387 | frame of its terminal. Any other tty frame can be redisplayed |
| 388 | iff it is the top frame of its terminal itself which must be | 388 | iff it is the top frame of its terminal itself which must be |
| 389 | always visible. */ | 389 | always visible. */ |
| 390 | return (q ? q == r : f == r); | 390 | return q == r; |
| 391 | } | 391 | } |
| 392 | else | 392 | else |
| 393 | #ifndef HAVE_X_WINDOWS | 393 | #ifndef HAVE_X_WINDOWS |