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

Side by Side Diff: src/compiler/common-operator.h

Issue 651843004: Add Terminate operator. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Add test case for scheduler. Created 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | src/compiler/common-operator.cc » ('j') | src/compiler/common-operator.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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/machine-type.h" 8 #include "src/compiler/machine-type.h"
9 #include "src/unique.h" 9 #include "src/unique.h"
10 10
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 class CommonOperatorBuilder FINAL { 130 class CommonOperatorBuilder FINAL {
131 public: 131 public:
132 explicit CommonOperatorBuilder(Zone* zone); 132 explicit CommonOperatorBuilder(Zone* zone);
133 133
134 const Operator* Dead(); 134 const Operator* Dead();
135 const Operator* End(); 135 const Operator* End();
136 const Operator* Branch(BranchHint = BranchHint::kNone); 136 const Operator* Branch(BranchHint = BranchHint::kNone);
137 const Operator* IfTrue(); 137 const Operator* IfTrue();
138 const Operator* IfFalse(); 138 const Operator* IfFalse();
139 const Operator* Throw(); 139 const Operator* Throw();
140 const Operator* Terminate(int effects);
140 const Operator* Return(); 141 const Operator* Return();
141 142
142 const Operator* Start(int num_formal_parameters); 143 const Operator* Start(int num_formal_parameters);
143 const Operator* Merge(int controls); 144 const Operator* Merge(int controls);
144 const Operator* Loop(int controls); 145 const Operator* Loop(int controls);
145 const Operator* Parameter(int index); 146 const Operator* Parameter(int index);
146 147
147 const Operator* Int32Constant(int32_t); 148 const Operator* Int32Constant(int32_t);
148 const Operator* Int64Constant(int64_t); 149 const Operator* Int64Constant(int64_t);
149 const Operator* Float32Constant(volatile float); 150 const Operator* Float32Constant(volatile float);
(...skipping 19 matching lines...) Expand all
169 170
170 const CommonOperatorBuilderImpl& impl_; 171 const CommonOperatorBuilderImpl& impl_;
171 Zone* const zone_; 172 Zone* const zone_;
172 }; 173 };
173 174
174 } // namespace compiler 175 } // namespace compiler
175 } // namespace internal 176 } // namespace internal
176 } // namespace v8 177 } // namespace v8
177 178
178 #endif // V8_COMPILER_COMMON_OPERATOR_H_ 179 #endif // V8_COMPILER_COMMON_OPERATOR_H_
OLDNEW
« no previous file with comments | « no previous file | src/compiler/common-operator.cc » ('j') | src/compiler/common-operator.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698