diff options
| author | 2015-01-21 14:37:15 +0000 | |
|---|---|---|
| committer | 2015-01-21 14:37:15 +0000 | |
| commit | 22c9285142169691eb2a9e2d4a49751fc7e57c2a (patch) | |
| tree | d612aa3ef2bd0cb32622f8c73c86abb3e6e29cf4 /compiler/optimizing/code_generator.h | |
| parent | 1147eeed2ffc82ac9b1405f9fb0a6cbc8560c42b (diff) | |
| parent | 77520bca97ec44e3758510cebd0f20e3bb4584ea (diff) | |
Merge "Record implicit null checks at the actual invoke time."
Diffstat (limited to 'compiler/optimizing/code_generator.h')
| -rw-r--r-- | compiler/optimizing/code_generator.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/optimizing/code_generator.h b/compiler/optimizing/code_generator.h index 682c260585..f66aed912a 100644 --- a/compiler/optimizing/code_generator.h +++ b/compiler/optimizing/code_generator.h @@ -152,6 +152,8 @@ class CodeGenerator { virtual bool NeedsTwoRegisters(Primitive::Type type) const = 0; void RecordPcInfo(HInstruction* instruction, uint32_t dex_pc); + bool CanMoveNullCheckToUser(HNullCheck* null_check); + void MaybeRecordImplicitNullCheck(HInstruction* instruction); void AddSlowPath(SlowPathCode* slow_path) { slow_paths_.Add(slow_path); |