diff options
author | Serguei Katkov <serguei.i.katkov@intel.com> | 2014-11-13 17:19:42 +0600 |
---|---|---|
committer | Vladimir Marko <vmarko@google.com> | 2014-12-08 11:33:54 +0000 |
commit | 717a3e447c6f7a922cf9c3efe522747a187a045d (patch) | |
tree | 736fca26f68838c71942f206917e5fe320a6ada9 /compiler/dex/mir_graph.h | |
parent | 90fe256384b5fcd955018888977df07a5c0d85f4 (diff) | |
download | android_art-717a3e447c6f7a922cf9c3efe522747a187a045d.tar.gz android_art-717a3e447c6f7a922cf9c3efe522747a187a045d.tar.bz2 android_art-717a3e447c6f7a922cf9c3efe522747a187a045d.zip |
Re-factor Quick ABI support
Now every architecture must provide a mapper between
VRs parameters and physical registers. Additionally as
a helper function architecture can provide a bulk copy
helper for GenDalvikArgs utility.
All other things becomes a common code stuff:
GetArgMappingToPhysicalReg, GenDalvikArgsNoRange,
GenDalvikArgsRange, FlushIns.
Mapper now uses shorty representation of input
parameters. This is required due to location are not
enough to detect the type of parameter (fp or core).
For the details
see https://android-review.googlesource.com/#/c/113936/.
Change-Id: Ie762b921e0acaa936518ee6b63c9a9d25f83e434
Signed-off-by: Serguei Katkov <serguei.i.katkov@intel.com>
Diffstat (limited to 'compiler/dex/mir_graph.h')
-rw-r--r-- | compiler/dex/mir_graph.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/dex/mir_graph.h b/compiler/dex/mir_graph.h index 1a1884131a..da0dd88e84 100644 --- a/compiler/dex/mir_graph.h +++ b/compiler/dex/mir_graph.h @@ -1113,6 +1113,7 @@ class MIRGraph { std::string GetSSANameWithConst(int ssa_reg, bool singles_only); void GetBlockName(BasicBlock* bb, char* name); const char* GetShortyFromTargetIdx(int); + const char* GetShortyFromMethodReference(const MethodReference& target_method); void DumpMIRGraph(); CallInfo* NewMemCallInfo(BasicBlock* bb, MIR* mir, InvokeType type, bool is_range); BasicBlock* NewMemBB(BBType block_type, int block_id); |