diff options
author | Mike Danes <onemihaid@hotmail.com> | 2017-10-14 12:17:53 +0300 |
---|---|---|
committer | Mike Danes <onemihaid@hotmail.com> | 2017-10-15 13:29:44 +0300 |
commit | 2f407fd5a8bef88d7cb31698e53ce8e474720276 (patch) | |
tree | 44f144270a4358e7bd88cb3ba0fc4ccad7ebdbc5 /src/jit/ee_il_dll.cpp | |
parent | a1dd9ca5e083478ad3352c9f685ccff5ddbb683c (diff) | |
download | coreclr-2f407fd5a8bef88d7cb31698e53ce8e474720276.tar.gz coreclr-2f407fd5a8bef88d7cb31698e53ce8e474720276.tar.bz2 coreclr-2f407fd5a8bef88d7cb31698e53ce8e474720276.zip |
Remove unused compGetMem functions
* compGetMemA and compGetMemArrayA are useless because ArenaAllocator always returns aligned memory
* compGetMemCallback is not used anywhere
* compFreeMem is not used anywhere. The function is not used anywhere either but let's keep it for consistency.
Diffstat (limited to 'src/jit/ee_il_dll.cpp')
-rw-r--r-- | src/jit/ee_il_dll.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jit/ee_il_dll.cpp b/src/jit/ee_il_dll.cpp index 0cfc565679..a918dc950e 100644 --- a/src/jit/ee_il_dll.cpp +++ b/src/jit/ee_il_dll.cpp @@ -724,7 +724,7 @@ void Compiler::eeGetVars() { // Allocate a bit-array for all the variables and initialize to false - bool* varInfoProvided = (bool*)compGetMemA(info.compLocalsCount * sizeof(varInfoProvided[0])); + bool* varInfoProvided = (bool*)compGetMem(info.compLocalsCount * sizeof(varInfoProvided[0])); unsigned i; for (i = 0; i < info.compLocalsCount; i++) { |