Index: runtime/vm/flow_graph_compiler.h |
diff --git a/runtime/vm/flow_graph_compiler.h b/runtime/vm/flow_graph_compiler.h |
index 3dc31a07ce518b5f6c1f50b04a6c28d830138b35..ec1ff03ea881d5f43a0171cae8fa07c50d4ba4c7 100644 |
--- a/runtime/vm/flow_graph_compiler.h |
+++ b/runtime/vm/flow_graph_compiler.h |
@@ -367,6 +367,13 @@ class FlowGraphCompiler : public ValueObject { |
// Returns 'true' if regular code generation should be skipped. |
bool TryIntrinsify(); |
+ void GenerateAssertAssignable(TokenPosition token_pos, |
+ intptr_t deopt_id, |
+ const AbstractType& dst_type, |
+ const String& dst_name, |
+ LocationSummary* locs); |
+ |
+#if !defined(TARGET_ARCH_DBC) |
void GenerateRuntimeCall(TokenPosition token_pos, |
intptr_t deopt_id, |
const RuntimeEntry& entry, |
@@ -390,12 +397,6 @@ class FlowGraphCompiler : public ValueObject { |
LocationSummary* locs, |
const Function& target); |
- void GenerateAssertAssignable(TokenPosition token_pos, |
- intptr_t deopt_id, |
- const AbstractType& dst_type, |
- const String& dst_name, |
- LocationSummary* locs); |
- |
void GenerateInstanceOf(TokenPosition token_pos, |
intptr_t deopt_id, |
const AbstractType& type, |
@@ -426,12 +427,6 @@ class FlowGraphCompiler : public ValueObject { |
void GenerateListTypeCheck(Register kClassIdReg, |
Label* is_instance_lbl); |
- void EmitComment(Instruction* instr); |
- |
- bool NeedsEdgeCounter(TargetEntryInstr* block); |
- |
- void EmitEdgeCounter(intptr_t edge_id); |
- |
void EmitOptimizedInstanceCall(const StubEntry& stub_entry, |
const ICData& ic_data, |
intptr_t argument_count, |
@@ -487,8 +482,16 @@ class FlowGraphCompiler : public ValueObject { |
bool needs_number_check, |
TokenPosition token_pos); |
+ bool NeedsEdgeCounter(TargetEntryInstr* block); |
+ |
+ void EmitEdgeCounter(intptr_t edge_id); |
+#endif |
+ |
void EmitTrySync(Instruction* instr, intptr_t try_index); |
+ void EmitComment(Instruction* instr); |
+ |
+ |
intptr_t StackSize() const; |
// Returns assembler label associated with the given block entry. |
@@ -635,6 +638,7 @@ class FlowGraphCompiler : public ValueObject { |
LocationSummary* locs, |
const ICData& ic_data); |
+#if !defined(TARGET_ARCH_DBC) |
// Type checking helper methods. |
void CheckClassIds(Register class_id_reg, |
const GrowableArray<intptr_t>& class_ids, |
@@ -688,6 +692,7 @@ class FlowGraphCompiler : public ValueObject { |
void GenerateBoolToJump(Register bool_reg, Label* is_true, Label* is_false); |
void CopyParameters(); |
+#endif |
void GenerateInlinedGetter(intptr_t offset); |
void GenerateInlinedSetter(intptr_t offset); |
@@ -720,7 +725,7 @@ class FlowGraphCompiler : public ValueObject { |
return stackmap_table_builder_; |
} |
-#if defined(DEBUG) |
+#if defined(DEBUG) && !defined(TARGET_ARCH_DBC) |
void FrameStateUpdateWith(Instruction* instr); |
void FrameStatePush(Definition* defn); |
void FrameStatePop(intptr_t count); |