Commit 97d90590 authored by Georg Neis's avatar Georg Neis Committed by Commit Bot

[turbofan] Remove two obsolete operators

Change-Id: Ibba52fe0c94dbb95ec66bc88d0a1e9a254094013
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2080364
Commit-Queue: Georg Neis <neis@chromium.org>
Reviewed-by: 's avatarTobias Tebbi <tebbi@chromium.org>
Cr-Commit-Position: refs/heads/master@{#66532}
parent 14a9968f
......@@ -455,8 +455,6 @@ IfValueParameters const& IfValueParametersOf(const Operator* op) {
V(IfException, Operator::kKontrol, 0, 1, 1, 1, 1, 1) \
V(Throw, Operator::kKontrol, 0, 1, 1, 0, 0, 1) \
V(Terminate, Operator::kKontrol, 0, 1, 1, 0, 0, 1) \
V(OsrNormalEntry, Operator::kFoldable, 0, 1, 1, 0, 1, 1) \
V(OsrLoopEntry, Operator::kFoldable | Operator::kNoThrow, 0, 1, 1, 0, 1, 1) \
V(LoopExit, Operator::kKontrol, 0, 0, 2, 0, 0, 1) \
V(LoopExitValue, Operator::kPure, 1, 0, 1, 1, 0, 0) \
V(LoopExitEffect, Operator::kNoThrow, 0, 1, 1, 0, 1, 0) \
......
......@@ -487,8 +487,6 @@ class V8_EXPORT_PRIVATE CommonOperatorBuilder final
const Operator* Merge(int control_input_count);
const Operator* Parameter(int index, const char* debug_name = nullptr);
const Operator* OsrNormalEntry();
const Operator* OsrLoopEntry();
const Operator* OsrValue(int index);
const Operator* Int32Constant(int32_t);
......
......@@ -30,8 +30,6 @@
V(Return) \
V(TailCall) \
V(Terminate) \
V(OsrNormalEntry) \
V(OsrLoopEntry) \
V(Throw) \
V(End)
......
......@@ -121,8 +121,6 @@ class Typer::Visitor : public Reducer {
DECLARE_IMPOSSIBLE_CASE(Return)
DECLARE_IMPOSSIBLE_CASE(TailCall)
DECLARE_IMPOSSIBLE_CASE(Terminate)
DECLARE_IMPOSSIBLE_CASE(OsrNormalEntry)
DECLARE_IMPOSSIBLE_CASE(OsrLoopEntry)
DECLARE_IMPOSSIBLE_CASE(Throw)
DECLARE_IMPOSSIBLE_CASE(End)
SIMPLIFIED_CHANGE_OP_LIST(DECLARE_IMPOSSIBLE_CASE)
......
......@@ -388,14 +388,6 @@ void Verifier::Visitor::Check(Node* node, const AllNodes& all) {
}
CheckNotTyped(node);
break;
case IrOpcode::kOsrNormalEntry:
case IrOpcode::kOsrLoopEntry:
// Osr entries take one control and effect.
CHECK_EQ(1, control_count);
CHECK_EQ(1, effect_count);
CHECK_EQ(2, input_count);
CheckNotTyped(node);
break;
// Common operators
// ----------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment