commit | f9e90541479502840c19274cf4d5b7ff22e51193 | [log] [tgz] |
---|---|---|
author | Evgeny Astigeevich <evgeny.astigeevich@linaro.org> | Mon Jun 25 13:43:53 2018 +0100 |
committer | Evgeny Astigeevich <evgeny.astigeevich@linaro.org> | Wed Jun 27 13:24:35 2018 +0100 |
tree | a5ba846c0d493aae7db126ee91d635765250a6e9 | |
parent | a3234e96206a841c83f9f5bf0d4e14fb07b72a5e [diff] |
ART: Refactor Int64ConstantFrom to use Int64FromConstant; rename it to Int64FromLocation Int64ConstantFrom function duplicates code of the Int64FromConstant. Its code can be replaced with a call: Int64FromConstant(location.getConstant()). The patch removes the duplicating code. It also changes the function name to Int64FromLocation to be consistent with its usage. Test: test-art-host, test-art-target Change-Id: I5624259aa72523f97ca8fc132a6152f338425c8e