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

Unified Diff: runtime/vm/assembler.cc

Issue 263093005: - When requested, always generate code comments. Disassembly (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 7 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 | « no previous file | runtime/vm/flow_graph_compiler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/assembler.cc
===================================================================
--- runtime/vm/assembler.cc (revision 35767)
+++ runtime/vm/assembler.cc (working copy)
@@ -13,7 +13,7 @@
namespace dart {
-DEFINE_FLAG(bool, code_comments, true,
+DEFINE_FLAG(bool, code_comments, false,
"Include comments into code and disassembly");
#if defined(TARGET_ARCH_ARM) || defined(TARGET_ARCH_MIPS)
DEFINE_FLAG(bool, use_far_branches, false,
@@ -210,7 +210,7 @@
void Assembler::Comment(const char* format, ...) {
- if (FLAG_code_comments && (FLAG_disassemble || FLAG_disassemble_optimized)) {
+ if (FLAG_code_comments || FLAG_disassemble || FLAG_disassemble_optimized) {
char buffer[1024];
va_list args;
« no previous file with comments | « no previous file | runtime/vm/flow_graph_compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698