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

Unified Diff: runtime/vm/object.cc

Issue 2153593002: More ifndef PRODUCT. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 5 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
« no previous file with comments | « runtime/vm/message.cc ('k') | runtime/vm/port.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/object.cc
diff --git a/runtime/vm/object.cc b/runtime/vm/object.cc
index 832a958a5b159da4b5f3a90fb261397a32a18846..f629d3c7339559424838fce9c8316d1643f0d407 100644
--- a/runtime/vm/object.cc
+++ b/runtime/vm/object.cc
@@ -13779,6 +13779,7 @@ void Code::SetStubCallTargetCodeAt(uword pc, const Code& code) const {
void Code::Disassemble(DisassemblyFormatter* formatter) const {
+#ifndef PRODUCT
if (!FLAG_support_disassembler) {
return;
}
@@ -13789,6 +13790,7 @@ void Code::Disassemble(DisassemblyFormatter* formatter) const {
} else {
Disassembler::Disassemble(start, start + instr.size(), formatter, *this);
}
+#endif
}
« no previous file with comments | « runtime/vm/message.cc ('k') | runtime/vm/port.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698