Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(152)

Side by Side Diff: runtime/vm/flow_graph.cc

Issue 2718353002: Revert "Track the 'awaiter return' call stack..." (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « runtime/vm/flow_graph.h ('k') | runtime/vm/flow_graph_builder.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #include "vm/flow_graph.h" 5 #include "vm/flow_graph.h"
6 6
7 #include "vm/bit_vector.h" 7 #include "vm/bit_vector.h"
8 #include "vm/cha.h" 8 #include "vm/cha.h"
9 #include "vm/flow_graph_builder.h" 9 #include "vm/flow_graph_builder.h"
10 #include "vm/flow_graph_compiler.h" 10 #include "vm/flow_graph_compiler.h"
(...skipping 28 matching lines...) Expand all
39 reverse_postorder_(), 39 reverse_postorder_(),
40 optimized_block_order_(), 40 optimized_block_order_(),
41 constant_null_(NULL), 41 constant_null_(NULL),
42 constant_dead_(NULL), 42 constant_dead_(NULL),
43 constant_empty_context_(NULL), 43 constant_empty_context_(NULL),
44 block_effects_(NULL), 44 block_effects_(NULL),
45 licm_allowed_(true), 45 licm_allowed_(true),
46 loop_headers_(NULL), 46 loop_headers_(NULL),
47 loop_invariant_loads_(NULL), 47 loop_invariant_loads_(NULL),
48 deferred_prefixes_(parsed_function.deferred_prefixes()), 48 deferred_prefixes_(parsed_function.deferred_prefixes()),
49 await_token_positions_(NULL),
50 captured_parameters_(new (zone()) BitVector(zone(), variable_count())), 49 captured_parameters_(new (zone()) BitVector(zone(), variable_count())),
51 inlining_id_(-1) { 50 inlining_id_(-1) {
52 DiscoverBlocks(); 51 DiscoverBlocks();
53 } 52 }
54 53
55 54
56 void FlowGraph::EnsureSSATempIndex(Definition* defn, Definition* replacement) { 55 void FlowGraph::EnsureSSATempIndex(Definition* defn, Definition* replacement) {
57 if ((replacement->ssa_temp_index() == -1) && (defn->ssa_temp_index() != -1)) { 56 if ((replacement->ssa_temp_index() == -1) && (defn->ssa_temp_index() != -1)) {
58 AllocateSSAIndexes(replacement); 57 AllocateSSAIndexes(replacement);
59 } 58 }
(...skipping 2219 matching lines...) Expand 10 before | Expand all | Expand 10 after
2279 Representation rep, 2278 Representation rep,
2280 intptr_t cid) { 2279 intptr_t cid) {
2281 ExtractNthOutputInstr* extract = 2280 ExtractNthOutputInstr* extract =
2282 new (Z) ExtractNthOutputInstr(new (Z) Value(instr), index, rep, cid); 2281 new (Z) ExtractNthOutputInstr(new (Z) Value(instr), index, rep, cid);
2283 instr->ReplaceUsesWith(extract); 2282 instr->ReplaceUsesWith(extract);
2284 InsertAfter(instr, extract, NULL, FlowGraph::kValue); 2283 InsertAfter(instr, extract, NULL, FlowGraph::kValue);
2285 } 2284 }
2286 2285
2287 2286
2288 } // namespace dart 2287 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph.h ('k') | runtime/vm/flow_graph_builder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698