From: Hyung-Kyu Choi Date: Tue, 6 Sep 2016 17:13:31 +0000 (+0900) Subject: Move genIncRegBy() to codegenclassic.h (dotnet/coreclr#7063) X-Git-Tag: submit/tizen/20210909.063632~11030^2~9482 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a7a12a5d473df7b43e6e416a6d7199c0833bb56a;p=platform%2Fupstream%2Fdotnet%2Fruntime.git Move genIncRegBy() to codegenclassic.h (dotnet/coreclr#7063) We don't have to keep genIncRegBy() in codegen.h anymore, since genIncRegBy() is defined in codegenlegacy.cpp and only used in LEGACY_BACKEND code. Signed-off-by: Hyung-Kyu Choi Commit migrated from https://github.com/dotnet/coreclr/commit/527edfc09a2bd1060bd66fcce1fc99932a332645 --- diff --git a/src/coreclr/src/jit/codegen.h b/src/coreclr/src/jit/codegen.h index a36973b..0c4a311 100755 --- a/src/coreclr/src/jit/codegen.h +++ b/src/coreclr/src/jit/codegen.h @@ -48,8 +48,6 @@ public: unsigned* cnsPtr, bool nogen = false); - // This should move to CodeGenClassic.h after genCreateAddrMode() is no longer dependent upon it - void genIncRegBy(regNumber reg, ssize_t ival, GenTreePtr tree, var_types dstType = TYP_INT, bool ovfl = false); private: #if defined(_TARGET_XARCH_) && !FEATURE_STACK_FP_X87 diff --git a/src/coreclr/src/jit/codegenclassic.h b/src/coreclr/src/jit/codegenclassic.h index bc35562..81b7b34 100644 --- a/src/coreclr/src/jit/codegenclassic.h +++ b/src/coreclr/src/jit/codegenclassic.h @@ -38,6 +38,7 @@ void genSetRegToIcon(regNumber reg, ssize_t val, var_types type = TYP_INT, insFl regNumber genGetRegSetToIcon(ssize_t val, regMaskTP regBest = 0, var_types type = TYP_INT); void genDecRegBy(regNumber reg, ssize_t ival, GenTreePtr tree); +void genIncRegBy(regNumber reg, ssize_t ival, GenTreePtr tree, var_types dstType = TYP_INT, bool ovfl = false); void genMulRegBy(regNumber reg, ssize_t ival, GenTreePtr tree, var_types dstType = TYP_INT, bool ovfl = false);