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

Side by Side Diff: src/compiler/instruction-scheduler.h

Issue 1897213003: [turbofan] Properly handle deoptimizations in the instruction scheduler. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 8 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 | « no previous file | src/compiler/instruction-scheduler.cc » ('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 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_COMPILER_INSTRUCTION_SCHEDULER_H_ 5 #ifndef V8_COMPILER_INSTRUCTION_SCHEDULER_H_
6 #define V8_COMPILER_INSTRUCTION_SCHEDULER_H_ 6 #define V8_COMPILER_INSTRUCTION_SCHEDULER_H_
7 7
8 #include "src/compiler/instruction.h" 8 #include "src/compiler/instruction.h"
9 #include "src/zone-containers.h" 9 #include "src/zone-containers.h"
10 10
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 // which will be added as predecessors of the next instruction with side 202 // which will be added as predecessors of the next instruction with side
203 // effects. 203 // effects.
204 ZoneVector<ScheduleGraphNode*> pending_loads_; 204 ZoneVector<ScheduleGraphNode*> pending_loads_;
205 205
206 // Live-in register markers are nop instructions which are emitted at the 206 // Live-in register markers are nop instructions which are emitted at the
207 // beginning of a basic block so that the register allocator will find a 207 // beginning of a basic block so that the register allocator will find a
208 // defining instruction for live-in values. They must not be moved. 208 // defining instruction for live-in values. They must not be moved.
209 // All these nops are chained together and added as a predecessor of every 209 // All these nops are chained together and added as a predecessor of every
210 // other instructions in the basic block. 210 // other instructions in the basic block.
211 ScheduleGraphNode* last_live_in_reg_marker_; 211 ScheduleGraphNode* last_live_in_reg_marker_;
212
213 // Last deoptimization instruction encountered while building the graph.
214 ScheduleGraphNode* last_deopt_;
212 }; 215 };
213 216
214 } // namespace compiler 217 } // namespace compiler
215 } // namespace internal 218 } // namespace internal
216 } // namespace v8 219 } // namespace v8
217 220
218 #endif // V8_COMPILER_INSTRUCTION_SCHEDULER_H_ 221 #endif // V8_COMPILER_INSTRUCTION_SCHEDULER_H_
OLDNEW
« no previous file with comments | « no previous file | src/compiler/instruction-scheduler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698