diff options
author | 2016-11-04 18:13:04 -0700 | |
---|---|---|
committer | 2016-11-09 10:31:16 -0800 | |
commit | 5c44c1bb131e609d9aba6f97f933567bf77cb8ed (patch) | |
tree | 46792f774d0c4e0e096510cb1927768cc4b92a46 /compiler/optimizing/locations.h | |
parent | b4e4c279a0d96c5c9bd6d038d97c3c9992ff8d09 (diff) |
Add interface check cast fast path to arm, arm64, x86
Bug: 12687968
Bug: 32577579
Test: test-art-host, test-art-target CC
Change-Id: Ia57099d499fa704803cc5f0135f0f53fefe39826
Diffstat (limited to 'compiler/optimizing/locations.h')
-rw-r--r-- | compiler/optimizing/locations.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/compiler/optimizing/locations.h b/compiler/optimizing/locations.h index 52747c0cc4..091b58a63d 100644 --- a/compiler/optimizing/locations.h +++ b/compiler/optimizing/locations.h @@ -525,6 +525,12 @@ class LocationSummary : public ArenaObject<kArenaAllocLocationSummary> { temps_.push_back(location); } + void AddRegisterTemps(size_t count) { + for (size_t i = 0; i < count; ++i) { + AddTemp(Location::RequiresRegister()); + } + } + Location GetTemp(uint32_t at) const { return temps_[at]; } |