From 0b110f499171aa562fc77834b4357c23eacacad4 Mon Sep 17 00:00:00 2001 From: Matthew Gharrity Date: Wed, 20 Jul 2016 10:13:45 -0700 Subject: Fix accidental pass-by-value Change-Id: I245111eabb43368875c1215ca4f3a1f1918492fe --- compiler/optimizing/register_allocation_resolver.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler/optimizing/register_allocation_resolver.h') 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 temp_intervals); + const ArenaVector& temp_intervals); private: // Connect adjacent siblings within blocks, and resolve inputs along the way. -- cgit v1.2.3-59-g8ed1b