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

Side by Side Diff: src/log-utils.h

Issue 125125: Fixed pointer vs. va_list overloading problem occuring in gcc 3.3 (used for ARM build). (Closed)
Patch Set: Created 11 years, 6 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
« no previous file with comments | « src/log.cc ('k') | src/log-utils.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 2006-2009 the V8 project authors. All rights reserved. 1 // Copyright 2006-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 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 public: 223 public:
224 // Create a message builder starting from position 0. This acquires the mutex 224 // Create a message builder starting from position 0. This acquires the mutex
225 // in the log as well. 225 // in the log as well.
226 explicit LogMessageBuilder(); 226 explicit LogMessageBuilder();
227 ~LogMessageBuilder() { } 227 ~LogMessageBuilder() { }
228 228
229 // Append string data to the log message. 229 // Append string data to the log message.
230 void Append(const char* format, ...); 230 void Append(const char* format, ...);
231 231
232 // Append string data to the log message. 232 // Append string data to the log message.
233 void Append(const char* format, va_list args); 233 void AppendVA(const char* format, va_list args);
234 234
235 // Append a character to the log message. 235 // Append a character to the log message.
236 void Append(const char c); 236 void Append(const char c);
237 237
238 // Append a heap string. 238 // Append a heap string.
239 void Append(String* str); 239 void Append(String* str);
240 240
241 // Appends an address, compressing it if needed by offsetting 241 // Appends an address, compressing it if needed by offsetting
242 // from Logger::last_address_. 242 // from Logger::last_address_.
243 void AppendAddress(Address addr); 243 void AppendAddress(Address addr);
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 279
280 ScopedLock sl; 280 ScopedLock sl;
281 int pos_; 281 int pos_;
282 }; 282 };
283 283
284 #endif // ENABLE_LOGGING_AND_PROFILING 284 #endif // ENABLE_LOGGING_AND_PROFILING
285 285
286 } } // namespace v8::internal 286 } } // namespace v8::internal
287 287
288 #endif // V8_LOG_UTILS_H_ 288 #endif // V8_LOG_UTILS_H_
OLDNEW
« no previous file with comments | « src/log.cc ('k') | src/log-utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698