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

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

Issue 2562393002: [wasm] Introduce the TrapIf and TrapUnless operators to generate trap code. (Closed)
Patch Set: Rename UseSourcePosition to IsSourcePositionUsed Created 4 years 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/code-generator.cc ('k') | src/compiler/common-operator.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_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/assembler.h" 8 #include "src/assembler.h"
9 #include "src/base/compiler-specific.h" 9 #include "src/base/compiler-specific.h"
10 #include "src/compiler/frame-states.h" 10 #include "src/compiler/frame-states.h"
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 const Operator* IfFalse(); 198 const Operator* IfFalse();
199 const Operator* IfSuccess(); 199 const Operator* IfSuccess();
200 const Operator* IfException(); 200 const Operator* IfException();
201 const Operator* Switch(size_t control_output_count); 201 const Operator* Switch(size_t control_output_count);
202 const Operator* IfValue(int32_t value); 202 const Operator* IfValue(int32_t value);
203 const Operator* IfDefault(); 203 const Operator* IfDefault();
204 const Operator* Throw(); 204 const Operator* Throw();
205 const Operator* Deoptimize(DeoptimizeKind kind, DeoptimizeReason reason); 205 const Operator* Deoptimize(DeoptimizeKind kind, DeoptimizeReason reason);
206 const Operator* DeoptimizeIf(DeoptimizeReason reason); 206 const Operator* DeoptimizeIf(DeoptimizeReason reason);
207 const Operator* DeoptimizeUnless(DeoptimizeReason reason); 207 const Operator* DeoptimizeUnless(DeoptimizeReason reason);
208 const Operator* TrapIf(int32_t trap_id);
209 const Operator* TrapUnless(int32_t trap_id);
208 const Operator* Return(int value_input_count = 1); 210 const Operator* Return(int value_input_count = 1);
209 const Operator* Terminate(); 211 const Operator* Terminate();
210 212
211 const Operator* Start(int value_output_count); 213 const Operator* Start(int value_output_count);
212 const Operator* Loop(int control_input_count); 214 const Operator* Loop(int control_input_count);
213 const Operator* Merge(int control_input_count); 215 const Operator* Merge(int control_input_count);
214 const Operator* Parameter(int index, const char* debug_name = nullptr); 216 const Operator* Parameter(int index, const char* debug_name = nullptr);
215 217
216 const Operator* OsrNormalEntry(); 218 const Operator* OsrNormalEntry();
217 const Operator* OsrLoopEntry(); 219 const Operator* OsrLoopEntry();
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
278 Zone* const zone_; 280 Zone* const zone_;
279 281
280 DISALLOW_COPY_AND_ASSIGN(CommonOperatorBuilder); 282 DISALLOW_COPY_AND_ASSIGN(CommonOperatorBuilder);
281 }; 283 };
282 284
283 } // namespace compiler 285 } // namespace compiler
284 } // namespace internal 286 } // namespace internal
285 } // namespace v8 287 } // namespace v8
286 288
287 #endif // V8_COMPILER_COMMON_OPERATOR_H_ 289 #endif // V8_COMPILER_COMMON_OPERATOR_H_
OLDNEW
« no previous file with comments | « src/compiler/code-generator.cc ('k') | src/compiler/common-operator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698