summaryrefslogtreecommitdiff
path: root/compiler/optimizing/register_allocation_resolver.h
diff options
context:
space:
mode:
author Matthew Gharrity <gharrma@google.com> 2016-07-20 10:13:45 -0700
committer Matthew Gharrity <gharrma@google.com> 2016-07-20 10:13:45 -0700
commit0b110f499171aa562fc77834b4357c23eacacad4 (patch)
tree681d7120babd7e668316918bd87a82810a96f984 /compiler/optimizing/register_allocation_resolver.h
parent360b4b0137ce5f0bb771e2ddbfd4735cae932565 (diff)
Fix accidental pass-by-value
Change-Id: I245111eabb43368875c1215ca4f3a1f1918492fe
Diffstat (limited to 'compiler/optimizing/register_allocation_resolver.h')
-rw-r--r--compiler/optimizing/register_allocation_resolver.h2
1 files changed, 1 insertions, 1 deletions
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.