OSDN Git Service

X86: templatize GenerateTestAndBranch and friends
authorMark Mendell <mark.p.mendell@intel.com>
Thu, 31 Dec 2015 17:28:50 +0000 (12:28 -0500)
committerMark Mendell <mark.p.mendell@intel.com>
Thu, 31 Dec 2015 17:28:50 +0000 (12:28 -0500)
commit152408f8c2188a7ed950cad04883b2f67dc74e84
tree0fd24e0023060d1eb58eeb0b94e31a2311eefe16
parent4bb356123b13ec5f41ea80158766df676ae08679
X86: templatize GenerateTestAndBranch and friends

Allow the use of NearLabel as well as Label.  This will be used by the
HSelect patch.

Replace a couple of Label(s) with NearLabel(s) as well.

Change-Id: I8e674c89e691bcdbccf4a5cdc07ad13b29ec21dd
Signed-off-by: Mark Mendell <mark.p.mendell@intel.com>
compiler/optimizing/code_generator_x86.cc
compiler/optimizing/code_generator_x86.h
compiler/optimizing/code_generator_x86_64.cc
compiler/optimizing/code_generator_x86_64.h