diff options
| author | 2014-11-13 09:58:56 +0000 | |
|---|---|---|
| committer | 2014-11-13 09:58:57 +0000 | |
| commit | a3279c80b4f92e0cc96902cf069c09424ed94ed0 (patch) | |
| tree | 2d566e00a4976fe72c54663192715f919d3fa1dd /compiler/optimizing/code_generator.h | |
| parent | a1af1b59256820dde25ec21581e9e64f698e182f (diff) | |
| parent | f0e3937b87453234d0d7970b8712082062709b8d (diff) | |
Merge "Do a parallel move in BoundsCheckSlowPath."
Diffstat (limited to 'compiler/optimizing/code_generator.h')
| -rw-r--r-- | compiler/optimizing/code_generator.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/compiler/optimizing/code_generator.h b/compiler/optimizing/code_generator.h index fc4ea4b5d3..ac4fc67c2c 100644 --- a/compiler/optimizing/code_generator.h +++ b/compiler/optimizing/code_generator.h @@ -33,6 +33,7 @@ static size_t constexpr kUninitializedFrameSize = 0; class Assembler; class CodeGenerator; class DexCompilationUnit; +class ParallelMoveResolver; class SrcMap; class CodeAllocator { @@ -165,6 +166,8 @@ class CodeGenerator : public ArenaObject<kArenaAllocMisc> { // of the architecture. static size_t GetCacheOffset(uint32_t index); + void EmitParallelMoves(Location from1, Location to1, Location from2, Location to2); + protected: CodeGenerator(HGraph* graph, size_t number_of_core_registers, @@ -197,6 +200,8 @@ class CodeGenerator : public ArenaObject<kArenaAllocMisc> { virtual Location GetStackLocation(HLoadLocal* load) const = 0; + virtual ParallelMoveResolver* GetMoveResolver() = 0; + // Frame size required for this method. uint32_t frame_size_; uint32_t core_spill_mask_; |