Index: src/arm64/lithium-codegen-arm64.cc |
diff --git a/src/arm64/lithium-codegen-arm64.cc b/src/arm64/lithium-codegen-arm64.cc |
index d3a0dea8256d6546ce6b5bb6c5e450295e7d6d78..530bd521544e05185fa194153d02a9f5339902ca 100644 |
--- a/src/arm64/lithium-codegen-arm64.cc |
+++ b/src/arm64/lithium-codegen-arm64.cc |
@@ -625,7 +625,12 @@ bool LCodeGen::GeneratePrologue() { |
if (info()->IsOptimizing()) { |
ProfileEntryHookStub::MaybeCallEntryHook(masm_); |
- // TODO(all): Add support for stop_t FLAG in DEBUG mode. |
+#ifdef DEBUG |
+ if (strlen(FLAG_stop_at) > 0 && |
+ info()->literal()->name()->IsUtf8EqualTo(CStrVector(FLAG_stop_at))) { |
+ __ Debug("stop-at", __LINE__, BREAK); |
+ } |
+#endif |
// Sloppy mode functions and builtins need to replace the receiver with the |
// global proxy when called as functions (without an explicit receiver |