| Index: src/compiler/simplified-operator.cc
|
| diff --git a/src/compiler/simplified-operator.cc b/src/compiler/simplified-operator.cc
|
| index 7e05593eef7c6bc36280c6b91d979315a278aff8..a77931e0f3862ebaa32953b2e9fd644cb3e14885 100644
|
| --- a/src/compiler/simplified-operator.cc
|
| +++ b/src/compiler/simplified-operator.cc
|
| @@ -212,11 +212,6 @@ CheckTaggedHoleMode CheckTaggedHoleModeOf(const Operator* op) {
|
| return OpParameter<CheckTaggedHoleMode>(op);
|
| }
|
|
|
| -Type* TypeOf(const Operator* op) {
|
| - DCHECK_EQ(IrOpcode::kTypeGuard, op->opcode());
|
| - return OpParameter<Type*>(op);
|
| -}
|
| -
|
| BinaryOperationHints::Hint BinaryOperationHintOf(const Operator* op) {
|
| DCHECK(op->opcode() == IrOpcode::kSpeculativeNumberAdd ||
|
| op->opcode() == IrOpcode::kSpeculativeNumberSubtract ||
|
| @@ -459,23 +454,6 @@ const Operator* SimplifiedOperatorBuilder::CheckBounds() {
|
| "CheckBounds", 2, 1, 1, 1, 1, 0);
|
| }
|
|
|
| -const Operator* SimplifiedOperatorBuilder::TypeGuard(Type* type) {
|
| - class TypeGuardOperator final : public Operator1<Type*> {
|
| - public:
|
| - explicit TypeGuardOperator(Type* type)
|
| - : Operator1<Type*>( // --
|
| - IrOpcode::kTypeGuard, Operator::kPure, // opcode
|
| - "TypeGuard", // name
|
| - 1, 0, 1, 1, 0, 0, // counts
|
| - type) {} // parameter
|
| -
|
| - void PrintParameter(std::ostream& os) const final {
|
| - parameter()->PrintTo(os);
|
| - }
|
| - };
|
| - return new (zone()) TypeGuardOperator(type);
|
| -}
|
| -
|
| const Operator* SimplifiedOperatorBuilder::Allocate(PretenureFlag pretenure) {
|
| switch (pretenure) {
|
| case NOT_TENURED:
|
|
|