Index: runtime/vm/flow_graph_builder.cc |
diff --git a/runtime/vm/flow_graph_builder.cc b/runtime/vm/flow_graph_builder.cc |
index 4bf3ec999cf74a8a5df01081991a6e97871525bc..6ca6e68d03759ea16028d16f48909e86731ff8a8 100644 |
--- a/runtime/vm/flow_graph_builder.cc |
+++ b/runtime/vm/flow_graph_builder.cc |
@@ -3489,6 +3489,8 @@ void EffectGraphVisitor::VisitNativeBodyNode(NativeBodyNode* node) { |
load->set_is_immutable(kind != MethodRecognizer::kGrowableArrayLength); |
return ReturnDefinition(load); |
} |
+#if !defined(TARGET_ARCH_DBC) |
+ // TODO(vegorov) add bytecode to support this method. |
case MethodRecognizer::kClassIDgetID: { |
LocalVariable* value_var = |
node->scope()->LookupVariable(Symbols::Value(), true); |
@@ -3496,6 +3498,7 @@ void EffectGraphVisitor::VisitNativeBodyNode(NativeBodyNode* node) { |
LoadClassIdInstr* load = new(Z) LoadClassIdInstr(value); |
return ReturnDefinition(load); |
} |
+#endif |
case MethodRecognizer::kGrowableArrayCapacity: { |
Value* receiver = Bind(BuildLoadThisVar(node->scope(), token_pos)); |
LoadFieldInstr* data_load = new(Z) LoadFieldInstr( |