Author: [EMAIL PROTECTED]
Date: Sun Nov 30 23:56:57 2008
New Revision: 872

Modified:
    branches/bleeding_edge/src/d8.cc
    branches/bleeding_edge/test/cctest/test-serialize.cc

Log:
Remove a couple of instances of wchar_t after counters change.

Review URL: http://codereview.chromium.org/12820

Modified: branches/bleeding_edge/src/d8.cc
==============================================================================
--- branches/bleeding_edge/src/d8.cc    (original)
+++ branches/bleeding_edge/src/d8.cc    Sun Nov 30 23:56:57 2008
@@ -286,7 +286,7 @@
           i != counter_map_.end();
           i++) {
        Counter* counter = (*i).second;
-      ::printf("| %-38ls | %8i |\n", counter->name(), counter->value());
+      ::printf("| %-38s | %8i |\n", counter->name(), counter->value());
      }
      ::printf("+----------------------------------------+----------+\n");
    }

Modified: branches/bleeding_edge/test/cctest/test-serialize.cc
==============================================================================
--- branches/bleeding_edge/test/cctest/test-serialize.cc        (original)
+++ branches/bleeding_edge/test/cctest/test-serialize.cc        Sun Nov 30  
23:56:57 2008
@@ -44,12 +44,12 @@

  static int local_counters[256];
  static int counter_count = 0;
-static std::map<std::wstring, int> counter_table;
+static std::map<std::string, int> counter_table;


  // Callback receiver to track counters in test.
-static int* counter_function(const wchar_t* name) {
-  std::wstring counter(name);
+static int* counter_function(const char* name) {
+  std::string counter(name);
    if (counter_table.find(counter) == counter_table.end()) {
      local_counters[counter_count] = 0;
      counter_table[counter] = counter_count++;

--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to