diff --git a/src/compiler/js-intrinsic-lowering.cc b/src/compiler/js-intrinsic-lowering.cc index 194e876849..1f6a871ad5 100644 --- a/src/compiler/js-intrinsic-lowering.cc +++ b/src/compiler/js-intrinsic-lowering.cc @@ -32,8 +32,6 @@ Reduction JSIntrinsicLowering::Reduce(Node* node) { switch (f->function_id) { case Runtime::kInlineCreateIterResultObject: return ReduceCreateIterResultObject(node); - case Runtime::kInlineDebugIsActive: - return ReduceDebugIsActive(node); case Runtime::kInlineDeoptimizeNow: return ReduceDeoptimizeNow(node); case Runtime::kInlineGeneratorClose: @@ -92,16 +90,6 @@ Reduction JSIntrinsicLowering::ReduceCreateIterResultObject(Node* node) { context, effect); } -Reduction JSIntrinsicLowering::ReduceDebugIsActive(Node* node) { - Node* const value = jsgraph()->ExternalConstant( - ExternalReference::debug_is_active_address(isolate())); - Node* const effect = NodeProperties::GetEffectInput(node); - Node* const control = NodeProperties::GetControlInput(node); - Operator const* const op = - simplified()->LoadField(AccessBuilder::ForExternalUint8Value()); - return Change(node, op, value, effect, control); -} - Reduction JSIntrinsicLowering::ReduceDeoptimizeNow(Node* node) { Node* const frame_state = NodeProperties::GetFrameStateInput(node); Node* const effect = NodeProperties::GetEffectInput(node); diff --git a/src/runtime/runtime-debug.cc b/src/runtime/runtime-debug.cc index 4925cbfcc4..4381fa6dcf 100644 --- a/src/runtime/runtime-debug.cc +++ b/src/runtime/runtime-debug.cc @@ -641,11 +641,6 @@ RUNTIME_FUNCTION(Runtime_DebugPopPromise) { return ReadOnlyRoots(isolate).undefined_value(); } -RUNTIME_FUNCTION(Runtime_DebugIsActive) { - SealHandleScope shs(isolate); - return Smi::FromInt(isolate->debug()->is_active()); -} - namespace { Handle MakeRangeObject(Isolate* isolate, const CoverageBlock& range) { Factory* factory = isolate->factory(); diff --git a/src/runtime/runtime.h b/src/runtime/runtime.h index 4fd1718617..3a5d8f1d30 100644 --- a/src/runtime/runtime.h +++ b/src/runtime/runtime.h @@ -128,7 +128,6 @@ namespace internal { F(DebugBreakAtEntry, 1, 1) \ F(DebugCollectCoverage, 0, 1) \ F(DebugGetLoadedScriptIds, 0, 1) \ - F(DebugIsActive, 0, 1) \ F(DebugOnFunctionCall, 2, 1) \ F(DebugPopPromise, 0, 1) \ F(DebugPrepareStepInSuspendedGenerator, 0, 1) \