Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(756)

Unified Diff: runtime/vm/debugger_x64.cc

Issue 1678203002: Remove more feature in product mode (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: runtime/vm/debugger_x64.cc
diff --git a/runtime/vm/debugger_x64.cc b/runtime/vm/debugger_x64.cc
index 4fe2e6a0508da454be2285642e7d4cd9436c3d9d..7da5fc77bf88d30f3783234e0515dc75d92a8967 100644
--- a/runtime/vm/debugger_x64.cc
+++ b/runtime/vm/debugger_x64.cc
@@ -15,6 +15,8 @@
namespace dart {
+#ifndef PRODUCT
+
RawCode* CodeBreakpoint::OrigStubAddress() const {
return saved_value_;
}
@@ -58,6 +60,7 @@ void CodeBreakpoint::RestoreCode() {
is_enabled_ = false;
}
+#endif // !PRODUCT
} // namespace dart

Powered by Google App Engine
This is Rietveld 408576698