summaryrefslogtreecommitdiff
path: root/src/jit/disasm.cpp
AgeCommit message (Collapse)AuthorFilesLines
2017-12-12Use macro _countof instead of explicit sizeof(arr) / sizeof(arr[0]) or ↵Egor Chesakov1-5/+5
sizeof(arr) / sizeof(*arr) in clrjit. (#15474)
2016-08-11Reformat jit sources with clang-tidy and formatMichelle McDaniel1-639/+566
This change is the result of running clang-tidy and clang-format on jit sources.
2016-07-29Massage code for clang-formatMichelle McDaniel1-5/+5
This change starts the process of updating the jit code to make it ready for being formatted by clang-format. Changes mostly include reflowing comments that go past our column limit and moving comments around ifdefs so clang-format does not modify the indentation. Additionally, some header files are manually reformatted for pointer alignment and marked as clang-format off so that we do not lose the current formatting.
2016-05-12Use a JIT-specific stdout `FILE*`.Pat Gavlin1-4/+4
Historically, the JIT has had issues with logging inside of processes that change the output mode of stdout (e.g. crossgen). This change replaces the previous solution (which relied on #ifdefs) by dup'ing the stdout file and wrapping it in a new `FILE*` set to a known output mode.
2016-03-31Replace uses of _WIN64 with _HOST_64BIT_.Pat Gavlin1-1/+3
This terminology is more accurate. This change also corrects a few bits of code that were making target-related decisions based on the host's bitness.
2016-03-07Reapply change 1578859: Add a new set of APIs for JIT configuration.Pat Gavlin1-3/+1
SuperPMI has been udpated to accommodate this change, and should no longer crash when run using a JIT built with these changes. [tfs-changeset: 1582144]
2016-02-25Roll back change 1578859 on behalf of pagavlin. Change broke SuperPMI.dotnet-bot1-1/+3
[tfs-changeset: 1578925]
2016-02-25Add a new set of APIs for JIT configuration.Pat Gavlin1-3/+1
These APIs accommodate the retrieval of config values using the JIT interface rather than the utilcode library. All configuration options are now initialized upon the first call to compileMethod. The values of configuration options are available off of an ambient JitConfig object. This also changed `JitHost::get*ConfigValue` to use the `EEConfig_default` policy instead of `REGUTIL_default` in order to avoid breaking a small set of JIT config options available in release builds that were using the former. This change is exceedingly unlikely to adversely affect the behavior of other JIT config options that were originally fetched using `REGUTIL_default`, since values for these options should not be present any locations searched by `EEConfig_default` that are not searched by `REGUTIL_default` (namely config files). [tfs-changeset: 1578859]
2016-01-27Update license headersdotnet-bot1-4/+3
2015-01-30Initial commit to populate CoreCLR repo dotnet-bot1-0/+1642
[tfs-changeset: 1407945]