summaryrefslogtreecommitdiff
path: root/compiler/optimizing/code_generator.h
diff options
context:
space:
mode:
author Calin Juravle <calin@google.com> 2016-03-16 14:40:08 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2016-03-16 14:40:08 +0000
commit914d71ead70bb6f2084b2ed39a9fd58fd014f67d (patch)
tree50f30d6e47d18aa6c3ccec9f05727b4898268b20 /compiler/optimizing/code_generator.h
parent1583e624d4c970d8e571b265b9a8f08402d91f82 (diff)
parent2ae48182573da7087bffc2873730bc758ec29696 (diff)
Merge "Clean up NullCheck generation and record stats about it."
Diffstat (limited to 'compiler/optimizing/code_generator.h')
-rw-r--r--compiler/optimizing/code_generator.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/optimizing/code_generator.h b/compiler/optimizing/code_generator.h
index 9297fc956f..3066048132 100644
--- a/compiler/optimizing/code_generator.h
+++ b/compiler/optimizing/code_generator.h
@@ -278,6 +278,9 @@ class CodeGenerator {
bool CanMoveNullCheckToUser(HNullCheck* null_check);
void MaybeRecordImplicitNullCheck(HInstruction* instruction);
+ void GenerateNullCheck(HNullCheck* null_check);
+ virtual void GenerateImplicitNullCheck(HNullCheck* null_check) = 0;
+ virtual void GenerateExplicitNullCheck(HNullCheck* null_check) = 0;
// Records a stack map which the runtime might use to set catch phi values
// during exception delivery.