https://github.com/JuliaLang/julia
Revision 4390918773e0af38db92c63807e8312f98039d1e authored by Shuhei Kadowaki on 04 October 2022, 03:24:17 UTC, committed by Shuhei Kadowaki on 07 October 2022, 02:20:14 UTC
Sets up keyword-arg based constructors:
- `NewInstruction(::Instruction; stmt, type, info, line, flag, effect_free_computed)`
- `NewInstruction(::NewInstruction; stmt, type, info, line, flag, effect_free_computed)`

, inspired by the constructors of `Effects` and `EscapeInfo`.

The previous main constructors `NewInstruction(stmt, type, [line])`
remains there, so the most of the existing usages don't get changed.
1 parent ecfe8bc
History
Tip revision: 4390918773e0af38db92c63807e8312f98039d1e authored by Shuhei Kadowaki on 04 October 2022, 03:24:17 UTC
SSAIR: refactor `NewInstruction` constructor
Tip revision: 4390918
File Mode Size
.devcontainer
.github
base
cli
contrib
deps
doc
etc
src
stdlib
test
.buildkite-external-version -rw-r--r-- 5 bytes
.clang-format -rw-r--r-- 3.3 KB
.codecov.yml -rw-r--r-- 52 bytes
.git-blame-ignore-revs -rw-r--r-- 294 bytes
.gitattributes -rw-r--r-- 65 bytes
.gitignore -rw-r--r-- 493 bytes
.mailmap -rw-r--r-- 12.1 KB
CITATION.bib -rw-r--r-- 513 bytes
CITATION.cff -rw-r--r-- 940 bytes
CONTRIBUTING.md -rw-r--r-- 23.3 KB
HISTORY.md -rw-r--r-- 349.9 KB
LICENSE.md -rw-r--r-- 1.3 KB
Make.inc -rw-r--r-- 50.2 KB
Makefile -rw-r--r-- 27.5 KB
NEWS.md -rw-r--r-- 8.3 KB
README.md -rw-r--r-- 7.3 KB
THIRDPARTY.md -rw-r--r-- 3.7 KB
VERSION -rw-r--r-- 10 bytes
julia.spdx.json -rw-r--r-- 35.8 KB
sysimage.mk -rw-r--r-- 4.1 KB

README.md

back to top