From: jochen@chromium.org Date: Fri, 21 Mar 2014 08:23:16 +0000 (+0000) Subject: Remove unused color declarations in the a64 simulator X-Git-Tag: upstream/4.7.83~10107 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ca871bf0988997f689e2e35c4e6988f00e65bae0;p=platform%2Fupstream%2Fv8.git Remove unused color declarations in the a64 simulator They're now all defined globally BUG=none R=svenpanne@chromium.org LOG=n Review URL: https://codereview.chromium.org/207723003 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20144 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- diff --git a/src/a64/simulator-a64.cc b/src/a64/simulator-a64.cc index a401c62..51650cf 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*).