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

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

Issue 1391333003: Adding support for multiple returns in compiled functions. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: formatting Created 5 years, 2 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 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 void VisitOsrValue(Node* node); 206 void VisitOsrValue(Node* node);
207 void VisitPhi(Node* node); 207 void VisitPhi(Node* node);
208 void VisitProjection(Node* node); 208 void VisitProjection(Node* node);
209 void VisitConstant(Node* node); 209 void VisitConstant(Node* node);
210 void VisitCall(Node* call, BasicBlock* handler = nullptr); 210 void VisitCall(Node* call, BasicBlock* handler = nullptr);
211 void VisitTailCall(Node* call); 211 void VisitTailCall(Node* call);
212 void VisitGoto(BasicBlock* target); 212 void VisitGoto(BasicBlock* target);
213 void VisitBranch(Node* input, BasicBlock* tbranch, BasicBlock* fbranch); 213 void VisitBranch(Node* input, BasicBlock* tbranch, BasicBlock* fbranch);
214 void VisitSwitch(Node* node, const SwitchInfo& sw); 214 void VisitSwitch(Node* node, const SwitchInfo& sw);
215 void VisitDeoptimize(Node* value); 215 void VisitDeoptimize(Node* value);
216 void VisitReturn(Node* value); 216 void VisitReturn(Node* ret);
217 void VisitThrow(Node* value); 217 void VisitThrow(Node* value);
218 218
219 // =========================================================================== 219 // ===========================================================================
220 220
221 Schedule* schedule() const { return schedule_; } 221 Schedule* schedule() const { return schedule_; }
222 Linkage* linkage() const { return linkage_; } 222 Linkage* linkage() const { return linkage_; }
223 InstructionSequence* sequence() const { return sequence_; } 223 InstructionSequence* sequence() const { return sequence_; }
224 Zone* instruction_zone() const { return sequence()->zone(); } 224 Zone* instruction_zone() const { return sequence()->zone(); }
225 Zone* zone() const { return zone_; } 225 Zone* zone() const { return zone_; }
226 226
(...skipping 11 matching lines...) Expand all
238 BoolVector defined_; 238 BoolVector defined_;
239 BoolVector used_; 239 BoolVector used_;
240 IntVector virtual_registers_; 240 IntVector virtual_registers_;
241 }; 241 };
242 242
243 } // namespace compiler 243 } // namespace compiler
244 } // namespace internal 244 } // namespace internal
245 } // namespace v8 245 } // namespace v8
246 246
247 #endif // V8_COMPILER_INSTRUCTION_SELECTOR_H_ 247 #endif // V8_COMPILER_INSTRUCTION_SELECTOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698