summaryrefslogtreecommitdiff
path: root/compiler/optimizing
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/optimizing')
-rw-r--r--compiler/optimizing/register_allocation_resolver.cc2
-rw-r--r--compiler/optimizing/register_allocation_resolver.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/compiler/optimizing/register_allocation_resolver.cc b/compiler/optimizing/register_allocation_resolver.cc
index 8f5a2a8a76..34502869e4 100644
--- a/compiler/optimizing/register_allocation_resolver.cc
+++ b/compiler/optimizing/register_allocation_resolver.cc
@@ -36,7 +36,7 @@ void RegisterAllocationResolver::Resolve(size_t max_safepoint_live_core_regs,
size_t float_spill_slots,
size_t double_spill_slots,
size_t catch_phi_spill_slots,
- const ArenaVector<LiveInterval*> temp_intervals) {
+ const ArenaVector<LiveInterval*>& temp_intervals) {
size_t spill_slots = int_spill_slots
+ long_spill_slots
+ float_spill_slots
diff --git a/compiler/optimizing/register_allocation_resolver.h b/compiler/optimizing/register_allocation_resolver.h
index 16a8a87c57..6ceb9bc955 100644
--- a/compiler/optimizing/register_allocation_resolver.h
+++ b/compiler/optimizing/register_allocation_resolver.h
@@ -51,7 +51,7 @@ class RegisterAllocationResolver : ValueObject {
size_t float_spill_slots,
size_t double_spill_slots,
size_t catch_phi_spill_slots,
- const ArenaVector<LiveInterval*> temp_intervals);
+ const ArenaVector<LiveInterval*>& temp_intervals);
private:
// Connect adjacent siblings within blocks, and resolve inputs along the way.