]> git.eshelyaron.com Git - emacs.git/commit
src/comp.c: Use constructor expressions when possible. feature/comp-use-ctors
authorVibhav Pant <vibhavp@gmail.com>
Fri, 14 Oct 2022 11:51:13 +0000 (17:21 +0530)
committerVibhav Pant <vibhavp@gmail.com>
Fri, 14 Oct 2022 11:57:12 +0000 (17:27 +0530)
commit1b48e8dde5bfee65c036fbfdc32b68c9093c2e06
tree2c948c1651adc463efba3aed99053905aa6c09f8
parent271791b55b29945c30ddeb3eb7988f36246a2dfa
src/comp.c: Use constructor expressions when possible.

* src/comp.c:
  - Add declarations for creating constructor/initializer expressions
  when supported.
  - (emit_coerce): Use a struct constructor expression to create a
  Lisp_Object value instead of creating a new local variable.
  - emit_limple_call_ref: Emit a single constructor expression for
  initializing tmp_arr.
src/comp.c