Commit f9e90541 authored by Evgeny Astigeevich's avatar Evgeny Astigeevich
Browse files

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
parent a3234e96
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment