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

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

Issue 1114163005: [turbofan] Fix tail call optimization. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 7 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
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 <map> 8 #include <map>
9 9
10 #include "src/compiler/common-operator.h" 10 #include "src/compiler/common-operator.h"
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 MACHINE_OP_LIST(DECLARE_GENERATOR) 194 MACHINE_OP_LIST(DECLARE_GENERATOR)
195 #undef DECLARE_GENERATOR 195 #undef DECLARE_GENERATOR
196 196
197 void VisitFinish(Node* node); 197 void VisitFinish(Node* node);
198 void VisitParameter(Node* node); 198 void VisitParameter(Node* node);
199 void VisitIfException(Node* node); 199 void VisitIfException(Node* node);
200 void VisitOsrValue(Node* node); 200 void VisitOsrValue(Node* node);
201 void VisitPhi(Node* node); 201 void VisitPhi(Node* node);
202 void VisitProjection(Node* node); 202 void VisitProjection(Node* node);
203 void VisitConstant(Node* node); 203 void VisitConstant(Node* node);
204 void VisitCall(Node* call, BasicBlock* handler, CallMode call_mode); 204 void VisitCall(Node* call, BasicBlock* handler = nullptr);
205 void VisitTailCall(Node* call);
205 void VisitGoto(BasicBlock* target); 206 void VisitGoto(BasicBlock* target);
206 void VisitBranch(Node* input, BasicBlock* tbranch, BasicBlock* fbranch); 207 void VisitBranch(Node* input, BasicBlock* tbranch, BasicBlock* fbranch);
207 void VisitSwitch(Node* node, const SwitchInfo& sw); 208 void VisitSwitch(Node* node, const SwitchInfo& sw);
208 void VisitDeoptimize(Node* value); 209 void VisitDeoptimize(Node* value);
209 void VisitReturn(Node* value); 210 void VisitReturn(Node* value);
210 void VisitThrow(Node* value); 211 void VisitThrow(Node* value);
211 212
212 // =========================================================================== 213 // ===========================================================================
213 214
214 Schedule* schedule() const { return schedule_; } 215 Schedule* schedule() const { return schedule_; }
(...skipping 16 matching lines...) Expand all
231 BoolVector defined_; 232 BoolVector defined_;
232 BoolVector used_; 233 BoolVector used_;
233 IntVector virtual_registers_; 234 IntVector virtual_registers_;
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