summaryrefslogtreecommitdiff
path: root/compiler/optimizing/code_generator.h
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2014-09-25 13:37:06 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2014-09-25 13:37:06 +0000
commita72cb229d555a8ca86dca748733ea3791eaeec14 (patch)
treeb051a0f2d10c126a83d22ff45f2feecf0365aca3 /compiler/optimizing/code_generator.h
parentd7e2f329ddacd2294ba94cd5acde026677d32e0d (diff)
parent3c04974a90b0e03f4b509010bff49f0b2a3da57f (diff)
Merge "Optimize suspend checks in optimizing compiler."
Diffstat (limited to 'compiler/optimizing/code_generator.h')
-rw-r--r--compiler/optimizing/code_generator.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/compiler/optimizing/code_generator.h b/compiler/optimizing/code_generator.h
index 55f5d8df5f..b58f3b3efc 100644
--- a/compiler/optimizing/code_generator.h
+++ b/compiler/optimizing/code_generator.h
@@ -143,6 +143,13 @@ class CodeGenerator : public ArenaObject {
is_leaf_ = false;
}
+ // Clears the spill slots taken by loop phis in the `LocationSummary` of the
+ // suspend check. This is called when the code generator generates code
+ // for the suspend check at the back edge (instead of where the suspend check
+ // is, which is the loop entry). At this point, the spill slots for the phis
+ // have not been written to.
+ void ClearSpillSlotsFromLoopPhisInStackMap(HSuspendCheck* suspend_check) const;
+
protected:
CodeGenerator(HGraph* graph, size_t number_of_registers)
: frame_size_(kUninitializedFrameSize),