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

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

Issue 1158563008: [turbofan] Introduce prediction for exception handlers. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 6 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/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/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/unique.h" 10 #include "src/unique.h"
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 class CommonOperatorBuilder final : public ZoneObject { 87 class CommonOperatorBuilder final : public ZoneObject {
88 public: 88 public:
89 explicit CommonOperatorBuilder(Zone* zone); 89 explicit CommonOperatorBuilder(Zone* zone);
90 90
91 const Operator* Dead(); 91 const Operator* Dead();
92 const Operator* End(size_t control_input_count); 92 const Operator* End(size_t control_input_count);
93 const Operator* Branch(BranchHint = BranchHint::kNone); 93 const Operator* Branch(BranchHint = BranchHint::kNone);
94 const Operator* IfTrue(); 94 const Operator* IfTrue();
95 const Operator* IfFalse(); 95 const Operator* IfFalse();
96 const Operator* IfSuccess(); 96 const Operator* IfSuccess();
97 const Operator* IfException(); 97 const Operator* IfException(bool caught_locally = false);
Benedikt Meurer 2015/05/28 11:28:18 Nit: Please don't use a bool here, but some enum.
Michael Starzinger 2015/05/28 12:33:43 Done. Also removed the default argument as discuss
98 const Operator* Switch(size_t control_output_count); 98 const Operator* Switch(size_t control_output_count);
99 const Operator* IfValue(int32_t value); 99 const Operator* IfValue(int32_t value);
100 const Operator* IfDefault(); 100 const Operator* IfDefault();
101 const Operator* Throw(); 101 const Operator* Throw();
102 const Operator* Deoptimize(); 102 const Operator* Deoptimize();
103 const Operator* Return(); 103 const Operator* Return();
104 const Operator* Terminate(); 104 const Operator* Terminate();
105 105
106 const Operator* Start(int num_formal_parameters); 106 const Operator* Start(int num_formal_parameters);
107 const Operator* Loop(int control_input_count); 107 const Operator* Loop(int control_input_count);
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 Zone* const zone_; 145 Zone* const zone_;
146 146
147 DISALLOW_COPY_AND_ASSIGN(CommonOperatorBuilder); 147 DISALLOW_COPY_AND_ASSIGN(CommonOperatorBuilder);
148 }; 148 };
149 149
150 } // namespace compiler 150 } // namespace compiler
151 } // namespace internal 151 } // namespace internal
152 } // namespace v8 152 } // namespace v8
153 153
154 #endif // V8_COMPILER_COMMON_OPERATOR_H_ 154 #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