diff options
author | 2016-01-08 18:13:53 +0000 | |
---|---|---|
committer | 2016-01-11 12:22:17 +0000 | |
commit | b7070a2db8b0b7eca14f01f932be305be64ded57 (patch) | |
tree | 06ba87d56a708712fb206e23d3abd55f21934373 /compiler/optimizing/code_generator.h | |
parent | ae6f23c83e1c8dcfbc4f74186ea1a37f1044414b (diff) |
Generate Nops to ensure that debug stack maps have distinct PC.
Change-Id: I5740ec958a20d236634b66df0e675382ed5c16fc
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 eade05d7b6..950043ea71 100644 --- a/compiler/optimizing/code_generator.h +++ b/compiler/optimizing/code_generator.h @@ -269,6 +269,8 @@ class CodeGenerator { // Record native to dex mapping for a suspend point. Required by runtime. void RecordPcInfo(HInstruction* instruction, uint32_t dex_pc, SlowPathCode* slow_path = nullptr); + // Check whether we have already recorded mapping at this PC. + bool HasStackMapAtCurrentPc(); bool CanMoveNullCheckToUser(HNullCheck* null_check); void MaybeRecordImplicitNullCheck(HInstruction* instruction); |