Index: runtime/vm/flow_graph_builder.cc |
diff --git a/runtime/vm/flow_graph_builder.cc b/runtime/vm/flow_graph_builder.cc |
index e3963d94dea0f76d57bf9f464f5b33bee4a58a33..265c3088f86794e090dc8e8031afc7559b43efc2 100644 |
--- a/runtime/vm/flow_graph_builder.cc |
+++ b/runtime/vm/flow_graph_builder.cc |
@@ -76,12 +76,11 @@ uword FlowGraphBuilder::FindDoubleConstant(double value) { |
} |
-#define RECOGNIZE_FACTORY(test_factory_symbol, cid, fp) \ |
- {Symbols::k##test_factory_symbol##Id, cid, fp, \ |
- #test_factory_symbol ", " #cid}, // NOLINT |
+#define RECOGNIZE_FACTORY(symbol, class_name, constructor_name, cid, fp) \ |
+ {Symbols::k##symbol##Id, cid, fp, #symbol ", " #cid}, // NOLINT |
static struct { |
- intptr_t symbold_id; |
+ intptr_t symbol_id; |
intptr_t cid; |
intptr_t finger_print; |
const char* name; |
@@ -98,10 +97,10 @@ intptr_t FactoryRecognizer::ResultCid(const Function& factory) { |
(lib.raw() == Library::TypedDataLibrary())); |
const String& factory_name = String::Handle(factory.name()); |
for (intptr_t i = 0; |
- factory_recognizer_list[i].symbold_id != Symbols::kIllegal; i++) { |
+ factory_recognizer_list[i].symbol_id != Symbols::kIllegal; i++) { |
if (String::EqualsIgnoringPrivateKey( |
factory_name, |
- Symbols::Symbol(factory_recognizer_list[i].symbold_id))) { |
+ Symbols::Symbol(factory_recognizer_list[i].symbol_id))) { |
return factory_recognizer_list[i].cid; |
} |
} |