summaryrefslogtreecommitdiff
path: root/deps/v8/src/log-utils.cc
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/log-utils.cc')
-rw-r--r--deps/v8/src/log-utils.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/deps/v8/src/log-utils.cc b/deps/v8/src/log-utils.cc
index b2eb44796d..938a84bffd 100644
--- a/deps/v8/src/log-utils.cc
+++ b/deps/v8/src/log-utils.cc
@@ -42,7 +42,6 @@ Log::Log(Logger* logger, const char* file_name)
if (FLAG_log_all) {
FLAG_log_api = true;
FLAG_log_code = true;
- FLAG_log_gc = true;
FLAG_log_suspect = true;
FLAG_log_handles = true;
FLAG_log_internal_timer_events = true;
@@ -152,7 +151,7 @@ void Log::MessageBuilder::AppendStringPart(String* str, int len) {
// TODO(cbruni): unify escaping.
for (int i = 0; i < len; i++) {
uc32 c = str->Get(i);
- if (c <= 0xff) {
+ if (c <= 0xFF) {
AppendCharacter(static_cast<char>(c));
} else {
// Escape any non-ascii range characters.
@@ -174,7 +173,7 @@ void Log::MessageBuilder::AppendCharacter(char c) {
if (c >= 32 && c <= 126) {
if (c == ',') {
// Escape commas (log field separator) directly.
- os << "\x2c";
+ os << "\\x2C";
} else {
// Directly append any printable ascii character.
os << c;