summaryrefslogtreecommitdiff
path: root/compiler/optimizing/code_generator.h
diff options
context:
space:
mode:
authorDavid Srbecky <dsrbecky@google.com>2016-02-24 10:23:50 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2016-02-24 10:23:50 +0000
commit0e02ee9efbf1dbdde05d2b10f7307bbe191c52f5 (patch)
tree19c9c3e25a8db4e5b53890fd72193383b5bb73e5 /compiler/optimizing/code_generator.h
parent72ca09cc2dd350adb932ef4a50eff668cca99c5e (diff)
parentc7098ff991bb4e00a800d315d1c36f52a9cb0149 (diff)
Merge "Remove HNativeDebugInfo from start of basic blocks."
Diffstat (limited to 'compiler/optimizing/code_generator.h')
-rw-r--r--compiler/optimizing/code_generator.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler/optimizing/code_generator.h b/compiler/optimizing/code_generator.h
index 49c193e7bf..789bf4019f 100644
--- a/compiler/optimizing/code_generator.h
+++ b/compiler/optimizing/code_generator.h
@@ -267,6 +267,8 @@ class CodeGenerator {
void RecordPcInfo(HInstruction* instruction, uint32_t dex_pc, SlowPathCode* slow_path = nullptr);
// Check whether we have already recorded mapping at this PC.
bool HasStackMapAtCurrentPc();
+ // Record extra stack maps if we support native debugging.
+ void MaybeRecordNativeDebugInfo(HInstruction* instruction, uint32_t dex_pc);
bool CanMoveNullCheckToUser(HNullCheck* null_check);
void MaybeRecordImplicitNullCheck(HInstruction* instruction);
@@ -440,6 +442,8 @@ class CodeGenerator {
// Copy the result of a call into the given target.
virtual void MoveFromReturnRegister(Location trg, Primitive::Type type) = 0;
+ virtual void GenerateNop() = 0;
+
protected:
// Method patch info used for recording locations of required linker patches and
// target methods. The target method can be used for various purposes, whether for