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

Side by Side Diff: src/log.cc

Issue 113333: Fix asterisk spacing. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/ia32/virtual-frame-ia32.cc ('k') | src/mark-compact.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2009 the V8 project authors. All rights reserved. 1 // Copyright 2009 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 448 matching lines...) Expand 10 before | Expand all | Expand 10 after
459 // Utility class for formatting log messages. It fills the message into the 459 // Utility class for formatting log messages. It fills the message into the
460 // static buffer in Log. 460 // static buffer in Log.
461 class LogMessageBuilder BASE_EMBEDDED { 461 class LogMessageBuilder BASE_EMBEDDED {
462 public: 462 public:
463 explicit LogMessageBuilder(); 463 explicit LogMessageBuilder();
464 ~LogMessageBuilder() { } 464 ~LogMessageBuilder() { }
465 465
466 void Append(const char* format, ...); 466 void Append(const char* format, ...);
467 void Append(const char* format, va_list args); 467 void Append(const char* format, va_list args);
468 void Append(const char c); 468 void Append(const char c);
469 void Append(String *str); 469 void Append(String* str);
470 void AppendDetailed(String* str, bool show_impl_info); 470 void AppendDetailed(String* str, bool show_impl_info);
471 471
472 void WriteToLogFile(); 472 void WriteToLogFile();
473 void WriteCStringToLogFile(const char* str); 473 void WriteCStringToLogFile(const char* str);
474 474
475 private: 475 private:
476 ScopedLock sl; 476 ScopedLock sl;
477 int pos_; 477 int pos_;
478 }; 478 };
479 479
(...skipping 836 matching lines...) Expand 10 before | Expand all | Expand 10 after
1316 } else if (previous_->state_ == EXTERNAL) { 1316 } else if (previous_->state_ == EXTERNAL) {
1317 // We are leaving V8. 1317 // We are leaving V8.
1318 Heap::Protect(); 1318 Heap::Protect();
1319 } 1319 }
1320 } 1320 }
1321 #endif 1321 #endif
1322 } 1322 }
1323 #endif 1323 #endif
1324 1324
1325 } } // namespace v8::internal 1325 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/ia32/virtual-frame-ia32.cc ('k') | src/mark-compact.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698