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

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

Issue 809333002: [turbofan] Implement OSR for outer loops. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 6 years 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
OLDNEW
1 // Copyright 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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_SELECTOR_H_ 5 #ifndef V8_COMPILER_INSTRUCTION_SELECTOR_H_
6 #define V8_COMPILER_INSTRUCTION_SELECTOR_H_ 6 #define V8_COMPILER_INSTRUCTION_SELECTOR_H_
7 7
8 #include <deque> 8 #include <deque>
9 9
10 #include "src/compiler/common-operator.h" 10 #include "src/compiler/common-operator.h"
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 193
194 // Visit the node and generate code, if any. 194 // Visit the node and generate code, if any.
195 void VisitNode(Node* node); 195 void VisitNode(Node* node);
196 196
197 #define DECLARE_GENERATOR(x) void Visit##x(Node* node); 197 #define DECLARE_GENERATOR(x) void Visit##x(Node* node);
198 MACHINE_OP_LIST(DECLARE_GENERATOR) 198 MACHINE_OP_LIST(DECLARE_GENERATOR)
199 #undef DECLARE_GENERATOR 199 #undef DECLARE_GENERATOR
200 200
201 void VisitFinish(Node* node); 201 void VisitFinish(Node* node);
202 void VisitParameter(Node* node); 202 void VisitParameter(Node* node);
203 void VisitOsrValue(Node* node);
203 void VisitPhi(Node* node); 204 void VisitPhi(Node* node);
204 void VisitProjection(Node* node); 205 void VisitProjection(Node* node);
205 void VisitConstant(Node* node); 206 void VisitConstant(Node* node);
206 void VisitCall(Node* call); 207 void VisitCall(Node* call);
207 void VisitGoto(BasicBlock* target); 208 void VisitGoto(BasicBlock* target);
208 void VisitBranch(Node* input, BasicBlock* tbranch, BasicBlock* fbranch); 209 void VisitBranch(Node* input, BasicBlock* tbranch, BasicBlock* fbranch);
209 void VisitReturn(Node* value); 210 void VisitReturn(Node* value);
210 void VisitThrow(Node* value); 211 void VisitThrow(Node* value);
211 void VisitDeoptimize(Node* deopt); 212 void VisitDeoptimize(Node* deopt);
212 213
(...skipping 18 matching lines...) Expand all
231 ZoneDeque<Instruction*> instructions_; 232 ZoneDeque<Instruction*> instructions_;
232 BoolVector defined_; 233 BoolVector defined_;
233 BoolVector used_; 234 BoolVector used_;
234 }; 235 };
235 236
236 } // namespace compiler 237 } // namespace compiler
237 } // namespace internal 238 } // namespace internal
238 } // namespace v8 239 } // namespace v8
239 240
240 #endif // V8_COMPILER_INSTRUCTION_SELECTOR_H_ 241 #endif // V8_COMPILER_INSTRUCTION_SELECTOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698