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

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

Issue 2207533002: [turbofan] Remove IfExceptionHint from exception projections. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebased. Created 4 years, 4 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 774441765ca95ad49e123462092cfddf0c0a933f..81bddfdd0b10273f5fe91c2757ca00386e08ebe1 100644
--- a/src/compiler/common-operator.h
+++ b/src/compiler/common-operator.h
@@ -76,20 +76,6 @@ std::ostream& operator<<(std::ostream&, DeoptimizeParameters p);
DeoptimizeParameters const& DeoptimizeParametersOf(Operator const* const);
-// Prediction whether throw-site is surrounded by any local catch-scope.
-enum class IfExceptionHint {
- kLocallyUncaught,
- kLocallyCaught,
- kLocallyCaughtForPromiseReject
-};
-
-IfExceptionHint ExceptionHintFromCatchPrediction(
- HandlerTable::CatchPrediction prediction);
-
-size_t hash_value(IfExceptionHint hint);
-
-std::ostream& operator<<(std::ostream&, IfExceptionHint);
-
class SelectParameters final {
public:
@@ -195,7 +181,7 @@ class CommonOperatorBuilder final : public ZoneObject {
const Operator* IfTrue();
const Operator* IfFalse();
const Operator* IfSuccess();
- const Operator* IfException(IfExceptionHint hint);
+ const Operator* IfException();
const Operator* Switch(size_t control_output_count);
const Operator* IfValue(int32_t value);
const Operator* IfDefault();
« 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