summaryrefslogtreecommitdiff
path: root/compiler/optimizing/locations.h
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2015-06-01 15:46:22 +0100
committer Nicolas Geoffray <ngeoffray@google.com> 2015-06-04 14:39:06 +0100
commit38207af82afb6f99c687f64b15601ed20d82220a (patch)
treef9360949b92e5b6b01c5828c03ac67d01adffe1d /compiler/optimizing/locations.h
parent6a0d5e7fe6dc0c9d3dd941ab991203f2d5d1c354 (diff)
Use HCurrentMethod in HInvokeStaticOrDirect.
Change-Id: I0d15244b6b44c8b10079398c55da5071a3e3af66
Diffstat (limited to 'compiler/optimizing/locations.h')
-rw-r--r--compiler/optimizing/locations.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/optimizing/locations.h b/compiler/optimizing/locations.h
index 09bbb33042..66c5fb1102 100644
--- a/compiler/optimizing/locations.h
+++ b/compiler/optimizing/locations.h
@@ -525,6 +525,8 @@ class LocationSummary : public ArenaObject<kArenaAllocMisc> {
return temps_.Size();
}
+ bool HasTemps() const { return !temps_.IsEmpty(); }
+
Location Out() const { return output_; }
bool CanCall() const { return call_kind_ != kNoCall; }