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

Unified Diff: src/v8-counters.cc

Issue 13011: Use char instead of wchar_t for counter names.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 12 years, 1 month 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 | « src/mksnapshot.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/v8-counters.cc
===================================================================
--- src/v8-counters.cc (revision 870)
+++ src/v8-counters.cc (working copy)
@@ -33,14 +33,14 @@
#define SR(name, caption) \
StatsRate Counters::name = { \
- { { L"t:" L###caption, NULL, false }, 0, 0 }, \
- { L"c:" L###caption, NULL, false } };
+ { { "t:" #caption, NULL, false }, 0, 0 }, \
+ { "c:" #caption, NULL, false } };
STATS_RATE_LIST(SR)
#undef SR
#define SC(name, caption) \
- StatsCounter Counters::name = { L"c:" L###caption, NULL, false };
+ StatsCounter Counters::name = { "c:" #caption, NULL, false };
STATS_COUNTER_LIST_1(SC)
STATS_COUNTER_LIST_2(SC)
@@ -48,7 +48,7 @@
StatsCounter Counters::state_counters[] = {
#define COUNTER_NAME(name) \
- { L"c:V8.State" L###name, NULL, false },
+ { "c:V8.State" #name, NULL, false },
STATE_TAG_LIST(COUNTER_NAME)
#undef COUNTER_NAME
};
« no previous file with comments | « src/mksnapshot.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698