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

Side by Side Diff: runtime/vm/flow_graph_allocator.h

Issue 10928232: Deoptimization support in inlined code. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 3 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 | Annotate | Revision Log
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 #ifndef VM_FLOW_GRAPH_ALLOCATOR_H_ 5 #ifndef VM_FLOW_GRAPH_ALLOCATOR_H_
6 #define VM_FLOW_GRAPH_ALLOCATOR_H_ 6 #define VM_FLOW_GRAPH_ALLOCATOR_H_
7 7
8 #include "vm/growable_array.h" 8 #include "vm/growable_array.h"
9 #include "vm/intermediate_language.h" 9 #include "vm/intermediate_language.h"
10 10
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 // optimal splitting position. 87 // optimal splitting position.
88 void DiscoverLoops(); 88 void DiscoverLoops();
89 89
90 LiveRange* MakeLiveRangeForTemporary(); 90 LiveRange* MakeLiveRangeForTemporary();
91 91
92 // Visit instructions in the postorder and build live ranges for 92 // Visit instructions in the postorder and build live ranges for
93 // all SSA values. 93 // all SSA values.
94 void BuildLiveRanges(); 94 void BuildLiveRanges();
95 Instruction* ConnectOutgoingPhiMoves(BlockEntryInstr* block); 95 Instruction* ConnectOutgoingPhiMoves(BlockEntryInstr* block);
96 void ProcessEnvironmentUses(BlockEntryInstr* block, Instruction* current); 96 void ProcessEnvironmentUses(BlockEntryInstr* block, Instruction* current);
97 void ProcessEnvironmentUsesRecursive(BlockEntryInstr* block,
98 Instruction* current,
99 Environment* env);
97 void ProcessOneInstruction(BlockEntryInstr* block, Instruction* instr); 100 void ProcessOneInstruction(BlockEntryInstr* block, Instruction* instr);
98 void ConnectIncomingPhiMoves(BlockEntryInstr* block); 101 void ConnectIncomingPhiMoves(BlockEntryInstr* block);
99 void BlockLocation(Location loc, intptr_t from, intptr_t to); 102 void BlockLocation(Location loc, intptr_t from, intptr_t to);
100 void BlockRegisterLocation(Location loc, 103 void BlockRegisterLocation(Location loc,
101 intptr_t from, 104 intptr_t from,
102 intptr_t to, 105 intptr_t to,
103 bool* blocked_registers, 106 bool* blocked_registers,
104 LiveRange** blocking_ranges); 107 LiveRange** blocking_ranges);
105 108
106 intptr_t NumberOfRegisters() const { return number_of_registers_; } 109 intptr_t NumberOfRegisters() const { return number_of_registers_; }
(...skipping 441 matching lines...) Expand 10 before | Expand all | Expand 10 after
548 551
549 AllocationFinger finger_; 552 AllocationFinger finger_;
550 553
551 DISALLOW_COPY_AND_ASSIGN(LiveRange); 554 DISALLOW_COPY_AND_ASSIGN(LiveRange);
552 }; 555 };
553 556
554 557
555 } // namespace dart 558 } // namespace dart
556 559
557 #endif // VM_FLOW_GRAPH_ALLOCATOR_H_ 560 #endif // VM_FLOW_GRAPH_ALLOCATOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698