Commit 1a1e53a3 authored by mstarzinger's avatar mstarzinger Committed by Commit bot

[turbofan] Remove obsolete JSDebugger operator.

R=titzer@chromium.org

Review URL: https://codereview.chromium.org/1029583009

Cr-Commit-Position: refs/heads/master@{#27437}
parent 637f96b8
...@@ -1420,7 +1420,6 @@ void AstGraphBuilder::VisitTryFinallyStatement(TryFinallyStatement* stmt) { ...@@ -1420,7 +1420,6 @@ void AstGraphBuilder::VisitTryFinallyStatement(TryFinallyStatement* stmt) {
void AstGraphBuilder::VisitDebuggerStatement(DebuggerStatement* stmt) { void AstGraphBuilder::VisitDebuggerStatement(DebuggerStatement* stmt) {
// TODO(turbofan): Do we really need a separate reloc-info for this?
Node* node = NewNode(javascript()->CallRuntime(Runtime::kDebugBreak, 0)); Node* node = NewNode(javascript()->CallRuntime(Runtime::kDebugBreak, 0));
PrepareFrameState(node, stmt->DebugBreakId()); PrepareFrameState(node, stmt->DebugBreakId());
environment()->MarkAllLocalsLive(); environment()->MarkAllLocalsLive();
......
...@@ -105,7 +105,6 @@ REPLACE_RUNTIME_CALL(JSCreateScriptContext, Runtime::kAbort) ...@@ -105,7 +105,6 @@ REPLACE_RUNTIME_CALL(JSCreateScriptContext, Runtime::kAbort)
#define REPLACE_UNIMPLEMENTED(op) \ #define REPLACE_UNIMPLEMENTED(op) \
void JSGenericLowering::Lower##op(Node* node) { UNIMPLEMENTED(); } void JSGenericLowering::Lower##op(Node* node) { UNIMPLEMENTED(); }
REPLACE_UNIMPLEMENTED(JSYield) REPLACE_UNIMPLEMENTED(JSYield)
REPLACE_UNIMPLEMENTED(JSDebugger)
#undef REPLACE_UNIMPLEMENTED #undef REPLACE_UNIMPLEMENTED
......
...@@ -239,7 +239,6 @@ const StoreNamedParameters& StoreNamedParametersOf(const Operator* op) { ...@@ -239,7 +239,6 @@ const StoreNamedParameters& StoreNamedParametersOf(const Operator* op) {
V(HasProperty, Operator::kNoProperties, 2, 1) \ V(HasProperty, Operator::kNoProperties, 2, 1) \
V(TypeOf, Operator::kPure, 1, 1) \ V(TypeOf, Operator::kPure, 1, 1) \
V(InstanceOf, Operator::kNoProperties, 2, 1) \ V(InstanceOf, Operator::kNoProperties, 2, 1) \
V(Debugger, Operator::kNoProperties, 0, 0) \
V(StackCheck, Operator::kNoProperties, 0, 0) \ V(StackCheck, Operator::kNoProperties, 0, 0) \
V(CreateFunctionContext, Operator::kNoProperties, 1, 1) \ V(CreateFunctionContext, Operator::kNoProperties, 1, 1) \
V(CreateWithContext, Operator::kNoProperties, 2, 1) \ V(CreateWithContext, Operator::kNoProperties, 2, 1) \
......
...@@ -252,7 +252,6 @@ class JSOperatorBuilder FINAL : public ZoneObject { ...@@ -252,7 +252,6 @@ class JSOperatorBuilder FINAL : public ZoneObject {
const Operator* TypeOf(); const Operator* TypeOf();
const Operator* InstanceOf(); const Operator* InstanceOf();
const Operator* Debugger();
const Operator* StackCheck(); const Operator* StackCheck();
......
...@@ -132,7 +132,6 @@ ...@@ -132,7 +132,6 @@
V(JSCallFunction) \ V(JSCallFunction) \
V(JSCallRuntime) \ V(JSCallRuntime) \
V(JSYield) \ V(JSYield) \
V(JSDebugger) \
V(JSStackCheck) V(JSStackCheck)
#define JS_OP_LIST(V) \ #define JS_OP_LIST(V) \
......
...@@ -1554,12 +1554,6 @@ Bounds Typer::Visitor::TypeJSCallRuntime(Node* node) { ...@@ -1554,12 +1554,6 @@ Bounds Typer::Visitor::TypeJSCallRuntime(Node* node) {
} }
Bounds Typer::Visitor::TypeJSDebugger(Node* node) {
UNREACHABLE();
return Bounds();
}
Bounds Typer::Visitor::TypeJSStackCheck(Node* node) { Bounds Typer::Visitor::TypeJSStackCheck(Node* node) {
return Bounds::Unbounded(zone()); return Bounds::Unbounded(zone());
} }
......
...@@ -546,7 +546,6 @@ void Verifier::Visitor::Check(Node* node) { ...@@ -546,7 +546,6 @@ void Verifier::Visitor::Check(Node* node) {
case IrOpcode::kJSCallFunction: case IrOpcode::kJSCallFunction:
case IrOpcode::kJSCallRuntime: case IrOpcode::kJSCallRuntime:
case IrOpcode::kJSYield: case IrOpcode::kJSYield:
case IrOpcode::kJSDebugger:
// Type can be anything. // Type can be anything.
CheckUpperIs(node, Type::Any()); CheckUpperIs(node, Type::Any());
break; break;
......
...@@ -77,7 +77,6 @@ const SharedOperator kSharedOperators[] = { ...@@ -77,7 +77,6 @@ const SharedOperator kSharedOperators[] = {
SHARED(HasProperty, Operator::kNoProperties, 2, 1, 1, 1, 1, 1, 2), SHARED(HasProperty, Operator::kNoProperties, 2, 1, 1, 1, 1, 1, 2),
SHARED(TypeOf, Operator::kPure, 1, 0, 0, 0, 1, 0, 0), SHARED(TypeOf, Operator::kPure, 1, 0, 0, 0, 1, 0, 0),
SHARED(InstanceOf, Operator::kNoProperties, 2, 1, 1, 1, 1, 1, 2), SHARED(InstanceOf, Operator::kNoProperties, 2, 1, 1, 1, 1, 1, 2),
SHARED(Debugger, Operator::kNoProperties, 0, 0, 1, 1, 0, 1, 2),
SHARED(CreateFunctionContext, Operator::kNoProperties, 1, 0, 1, 1, 1, 1, 2), SHARED(CreateFunctionContext, Operator::kNoProperties, 1, 0, 1, 1, 1, 1, 2),
SHARED(CreateWithContext, Operator::kNoProperties, 2, 1, 1, 1, 1, 1, 2), SHARED(CreateWithContext, Operator::kNoProperties, 2, 1, 1, 1, 1, 1, 2),
SHARED(CreateBlockContext, Operator::kNoProperties, 2, 0, 1, 1, 1, 1, 2), SHARED(CreateBlockContext, Operator::kNoProperties, 2, 0, 1, 1, 1, 1, 2),
......
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