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

Unified Diff: src/a64/simulator-a64.cc

Issue 207723003: Remove unused color declarations in the a64 simulator (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 9 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/a64/simulator-a64.cc
diff --git a/src/a64/simulator-a64.cc b/src/a64/simulator-a64.cc
index a401c62d2ebdf6d287b3c265a8c5ef56d92a171f..51650cf08192adf88b74b1bd48ee951157a6a464 100644
--- a/src/a64/simulator-a64.cc
+++ b/src/a64/simulator-a64.cc
@@ -1158,14 +1158,6 @@ void Simulator::PrintProcessorState() {
void Simulator::PrintWrite(uint8_t* address,
uint64_t value,
unsigned num_bytes) {
- // Define some color codes to use for memory logging.
- const char* const clr_normal = (FLAG_log_colour) ? ("\033[m")
- : ("");
- const char* const clr_memory_value = (FLAG_log_colour) ? ("\033[1;32m")
- : ("");
- const char* const clr_memory_address = (FLAG_log_colour) ? ("\033[32m")
- : ("");
-
// The template is "# value -> address". The template is not directly used
// in the printf since compilers tend to struggle with the parametrized
// width (%0*).
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698