summaryrefslogtreecommitdiff
path: root/compiler/optimizing/code_generator_arm.h
diff options
context:
space:
mode:
authorNicolas Geoffray <ngeoffray@google.com>2014-09-25 13:37:06 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-09-25 13:37:06 +0000
commita72cb229d555a8ca86dca748733ea3791eaeec14 (patch)
treeb051a0f2d10c126a83d22ff45f2feecf0365aca3 /compiler/optimizing/code_generator_arm.h
parentd7e2f329ddacd2294ba94cd5acde026677d32e0d (diff)
parent3c04974a90b0e03f4b509010bff49f0b2a3da57f (diff)
Merge "Optimize suspend checks in optimizing compiler."
Diffstat (limited to 'compiler/optimizing/code_generator_arm.h')
-rw-r--r--compiler/optimizing/code_generator_arm.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/compiler/optimizing/code_generator_arm.h b/compiler/optimizing/code_generator_arm.h
index 81533c42f5..8c86b7a237 100644
--- a/compiler/optimizing/code_generator_arm.h
+++ b/compiler/optimizing/code_generator_arm.h
@@ -117,6 +117,11 @@ class InstructionCodeGeneratorARM : public HGraphVisitor {
void LoadCurrentMethod(Register reg);
private:
+ // Generate code for the given suspend check. If not null, `successor`
+ // is the block to branch to if the suspend check is not needed, and after
+ // the suspend call.
+ void GenerateSuspendCheck(HSuspendCheck* check, HBasicBlock* successor);
+
ArmAssembler* const assembler_;
CodeGeneratorARM* const codegen_;