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

Side by Side Diff: src/compiler/common-operator.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_COMMON_OPERATOR_H_ 5 #ifndef V8_COMPILER_COMMON_OPERATOR_H_
6 #define V8_COMPILER_COMMON_OPERATOR_H_ 6 #define V8_COMPILER_COMMON_OPERATOR_H_
7 7
8 #include "src/compiler/frame-states.h" 8 #include "src/compiler/frame-states.h"
9 #include "src/compiler/machine-type.h" 9 #include "src/compiler/machine-type.h"
10 #include "src/zone-containers.h" 10 #include "src/zone-containers.h"
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 const Operator* Branch(BranchHint = BranchHint::kNone); 114 const Operator* Branch(BranchHint = BranchHint::kNone);
115 const Operator* IfTrue(); 115 const Operator* IfTrue();
116 const Operator* IfFalse(); 116 const Operator* IfFalse();
117 const Operator* IfSuccess(); 117 const Operator* IfSuccess();
118 const Operator* IfException(IfExceptionHint hint); 118 const Operator* IfException(IfExceptionHint hint);
119 const Operator* Switch(size_t control_output_count); 119 const Operator* Switch(size_t control_output_count);
120 const Operator* IfValue(int32_t value); 120 const Operator* IfValue(int32_t value);
121 const Operator* IfDefault(); 121 const Operator* IfDefault();
122 const Operator* Throw(); 122 const Operator* Throw();
123 const Operator* Deoptimize(); 123 const Operator* Deoptimize();
124 const Operator* Return(); 124 const Operator* Return(int value_input_count = 1);
125 const Operator* Terminate(); 125 const Operator* Terminate();
126 126
127 const Operator* Start(int value_output_count); 127 const Operator* Start(int value_output_count);
128 const Operator* Loop(int control_input_count); 128 const Operator* Loop(int control_input_count);
129 const Operator* Merge(int control_input_count); 129 const Operator* Merge(int control_input_count);
130 const Operator* Parameter(int index, const char* debug_name = nullptr); 130 const Operator* Parameter(int index, const char* debug_name = nullptr);
131 131
132 const Operator* OsrNormalEntry(); 132 const Operator* OsrNormalEntry();
133 const Operator* OsrLoopEntry(); 133 const Operator* OsrLoopEntry();
134 const Operator* OsrValue(int index); 134 const Operator* OsrValue(int index);
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 Zone* const zone_; 173 Zone* const zone_;
174 174
175 DISALLOW_COPY_AND_ASSIGN(CommonOperatorBuilder); 175 DISALLOW_COPY_AND_ASSIGN(CommonOperatorBuilder);
176 }; 176 };
177 177
178 } // namespace compiler 178 } // namespace compiler
179 } // namespace internal 179 } // namespace internal
180 } // namespace v8 180 } // namespace v8
181 181
182 #endif // V8_COMPILER_COMMON_OPERATOR_H_ 182 #endif // V8_COMPILER_COMMON_OPERATOR_H_
OLDNEW
« no previous file with comments | « no previous file | src/compiler/common-operator.cc » ('j') | test/cctest/compiler/test-multiple-return.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698