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

Unified Diff: src/compiler/common-operator.h

Issue 2682143002: [compiler] Pass deoptimization_kind through DeoptimizeParameters and FlagsContinuation (Closed)
Patch Set: fix Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/compiler/code-generator.cc ('k') | src/compiler/common-operator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/common-operator.h
diff --git a/src/compiler/common-operator.h b/src/compiler/common-operator.h
index 5107c01d4781060bddb415dabfc2dd0ecde378fa..46829593a4ef6d8123344723503d1cde9b3fbb66 100644
--- a/src/compiler/common-operator.h
+++ b/src/compiler/common-operator.h
@@ -46,19 +46,9 @@ V8_EXPORT_PRIVATE std::ostream& operator<<(std::ostream&, BranchHint);
V8_EXPORT_PRIVATE BranchHint BranchHintOf(const Operator* const);
-// Deoptimize reason for Deoptimize, DeoptimizeIf and DeoptimizeUnless.
-DeoptimizeReason DeoptimizeReasonOf(Operator const* const);
-
// Helper function for return nodes, because returns have a hidden value input.
int ValueInputCountOfReturn(Operator const* const op);
-// Deoptimize bailout kind.
-enum class DeoptimizeKind : uint8_t { kEager, kSoft };
-
-size_t hash_value(DeoptimizeKind kind);
-
-std::ostream& operator<<(std::ostream&, DeoptimizeKind);
-
// Parameters for the {Deoptimize} operator.
class DeoptimizeParameters final {
public:
@@ -326,8 +316,9 @@ class V8_EXPORT_PRIVATE CommonOperatorBuilder final
const Operator* IfDefault();
const Operator* Throw();
const Operator* Deoptimize(DeoptimizeKind kind, DeoptimizeReason reason);
- const Operator* DeoptimizeIf(DeoptimizeReason reason);
- const Operator* DeoptimizeUnless(DeoptimizeReason reason);
+ const Operator* DeoptimizeIf(DeoptimizeKind kind, DeoptimizeReason reason);
+ const Operator* DeoptimizeUnless(DeoptimizeKind kind,
+ DeoptimizeReason reason);
const Operator* TrapIf(int32_t trap_id);
const Operator* TrapUnless(int32_t trap_id);
const Operator* Return(int value_input_count = 1);
« 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