| Index: runtime/vm/flow_graph.cc
|
| diff --git a/runtime/vm/flow_graph.cc b/runtime/vm/flow_graph.cc
|
| index 4313aedd8109e3e76d11872183abc627a418af61..7cfdf5371e260770bdb6815dc8a9963802077223 100644
|
| --- a/runtime/vm/flow_graph.cc
|
| +++ b/runtime/vm/flow_graph.cc
|
| @@ -48,7 +48,6 @@ FlowGraph::FlowGraph(const ParsedFunction& parsed_function,
|
| licm_allowed_(true),
|
| loop_headers_(NULL),
|
| loop_invariant_loads_(NULL),
|
| - guarded_fields_(parsed_function.guarded_fields()),
|
| deferred_prefixes_(parsed_function.deferred_prefixes()),
|
| captured_parameters_(new(zone()) BitVector(zone(), variable_count())),
|
| inlining_id_(-1) {
|
| @@ -92,23 +91,6 @@ void FlowGraph::ReplaceCurrentInstruction(ForwardInstructionIterator* iterator,
|
| }
|
|
|
|
|
| -
|
| -void FlowGraph::AddToGuardedFields(
|
| - ZoneGrowableArray<const Field*>* array,
|
| - const Field* field) {
|
| - if ((field->guarded_cid() == kDynamicCid) ||
|
| - (field->guarded_cid() == kIllegalCid)) {
|
| - return;
|
| - }
|
| - for (intptr_t j = 0; j < array->length(); j++) {
|
| - if ((*array)[j]->raw() == field->raw()) {
|
| - return;
|
| - }
|
| - }
|
| - array->Add(field);
|
| -}
|
| -
|
| -
|
| void FlowGraph::AddToDeferredPrefixes(
|
| ZoneGrowableArray<const LibraryPrefix*>* from) {
|
| ZoneGrowableArray<const LibraryPrefix*>* to = deferred_prefixes();
|
|
|