Index: src/compiler/js-generic-lowering.cc |
diff --git a/src/compiler/js-generic-lowering.cc b/src/compiler/js-generic-lowering.cc |
index a5446d005b0dc218f26b9f4807a970a66b04fd6c..5a6b34a1235289a48711dd67f60511566b67c61d 100644 |
--- a/src/compiler/js-generic-lowering.cc |
+++ b/src/compiler/js-generic-lowering.cc |
@@ -668,6 +668,11 @@ void JSGenericLowering::LowerJSStackCheck(Node* node) { |
ReplaceWithRuntimeCall(node, Runtime::kStackGuard); |
} |
+void JSGenericLowering::LowerJSDebugger(Node* node) { |
+ CallDescriptor::Flags flags = FrameStateFlagForCall(node); |
+ Callable callable = CodeFactory::HandleDebuggerStatement(isolate()); |
+ ReplaceWithStubCall(node, callable, flags); |
+} |
Zone* JSGenericLowering::zone() const { return graph()->zone(); } |