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); |