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

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

Issue 1108563002: Detect simple tail calls (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fixed index type 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
« no previous file with comments | « src/compiler/instruction-codes.h ('k') | src/compiler/instruction-selector.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 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 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 MACHINE_OP_LIST(DECLARE_GENERATOR) 190 MACHINE_OP_LIST(DECLARE_GENERATOR)
191 #undef DECLARE_GENERATOR 191 #undef DECLARE_GENERATOR
192 192
193 void VisitFinish(Node* node); 193 void VisitFinish(Node* node);
194 void VisitParameter(Node* node); 194 void VisitParameter(Node* node);
195 void VisitIfException(Node* node); 195 void VisitIfException(Node* node);
196 void VisitOsrValue(Node* node); 196 void VisitOsrValue(Node* node);
197 void VisitPhi(Node* node); 197 void VisitPhi(Node* node);
198 void VisitProjection(Node* node); 198 void VisitProjection(Node* node);
199 void VisitConstant(Node* node); 199 void VisitConstant(Node* node);
200 void VisitCall(Node* call, BasicBlock* handler); 200 void VisitCall(Node* call, BasicBlock* handler, CallMode call_mode);
201 void VisitGoto(BasicBlock* target); 201 void VisitGoto(BasicBlock* target);
202 void VisitBranch(Node* input, BasicBlock* tbranch, BasicBlock* fbranch); 202 void VisitBranch(Node* input, BasicBlock* tbranch, BasicBlock* fbranch);
203 void VisitSwitch(Node* node, const SwitchInfo& sw); 203 void VisitSwitch(Node* node, const SwitchInfo& sw);
204 void VisitDeoptimize(Node* value); 204 void VisitDeoptimize(Node* value);
205 void VisitReturn(Node* value); 205 void VisitReturn(Node* value);
206 void VisitThrow(Node* value); 206 void VisitThrow(Node* value);
207 207
208 // =========================================================================== 208 // ===========================================================================
209 209
210 Schedule* schedule() const { return schedule_; } 210 Schedule* schedule() const { return schedule_; }
(...skipping 15 matching lines...) Expand all
226 BoolVector defined_; 226 BoolVector defined_;
227 BoolVector used_; 227 BoolVector used_;
228 IntVector virtual_registers_; 228 IntVector virtual_registers_;
229 }; 229 };
230 230
231 } // namespace compiler 231 } // namespace compiler
232 } // namespace internal 232 } // namespace internal
233 } // namespace v8 233 } // namespace v8
234 234
235 #endif // V8_COMPILER_INSTRUCTION_SELECTOR_H_ 235 #endif // V8_COMPILER_INSTRUCTION_SELECTOR_H_
OLDNEW
« no previous file with comments | « src/compiler/instruction-codes.h ('k') | src/compiler/instruction-selector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698