Author: [email protected]
Date: Wed May 13 05:34:35 2009
New Revision: 1932

Modified:
    branches/bleeding_edge/src/arm/virtual-frame-arm.cc
    branches/bleeding_edge/src/compiler.cc
    branches/bleeding_edge/src/d8.cc
    branches/bleeding_edge/src/flags.cc
    branches/bleeding_edge/src/ia32/assembler-ia32-inl.h
    branches/bleeding_edge/src/ia32/virtual-frame-ia32.cc
    branches/bleeding_edge/src/log.cc
    branches/bleeding_edge/src/mark-compact.cc

Log:
Fix asterisk spacing.
Review URL: http://codereview.chromium.org/113333

Modified: branches/bleeding_edge/src/arm/virtual-frame-arm.cc
==============================================================================
--- branches/bleeding_edge/src/arm/virtual-frame-arm.cc (original)
+++ branches/bleeding_edge/src/arm/virtual-frame-arm.cc Wed May 13 05:34:35  
2009
@@ -147,7 +147,7 @@
  }


-void VirtualFrame::MergeMoveMemoryToRegisters(VirtualFrame *expected) {
+void VirtualFrame::MergeMoveMemoryToRegisters(VirtualFrame* expected) {
  }



Modified: branches/bleeding_edge/src/compiler.cc
==============================================================================
--- branches/bleeding_edge/src/compiler.cc      (original)
+++ branches/bleeding_edge/src/compiler.cc      Wed May 13 05:34:35 2009
@@ -86,7 +86,7 @@
    Statement* stmt = lit->body()->at(0);
    if (stmt->AsExpressionStatement() == NULL)
      return false;
-  Expression *expr = stmt->AsExpressionStatement()->expression();
+  Expression* expr = stmt->AsExpressionStatement()->expression();
    return expr->IsValidJSON();
  }


Modified: branches/bleeding_edge/src/d8.cc
==============================================================================
--- branches/bleeding_edge/src/d8.cc    (original)
+++ branches/bleeding_edge/src/d8.cc    Wed May 13 05:34:35 2009
@@ -487,7 +487,7 @@
  }


-static char* ReadChars(const char *name, int* size_out) {
+static char* ReadChars(const char* name, int* size_out) {
    v8::Unlocker unlocker;  // Release the V8 lock while reading files.
    FILE* file = i::OS::FOpen(name, "rb");
    if (file == NULL) return NULL;
@@ -659,7 +659,7 @@
          use_preemption = false;
        } else if (strcmp(str, "--preemption-interval") == 0) {
          if (i + 1 < argc) {
-          char *end = NULL;
+          char* end = NULL;
            preemption_interval = strtol(argv[++i], &end, 10);  // NOLINT
            if (preemption_interval <= 0 || *end != '\0' || errno == ERANGE)  
{
              printf("Invalid value for --preemption-interval '%s'\n",  
argv[i]);
@@ -687,9 +687,9 @@
          i++;
        } else if (strcmp(str, "-p") == 0 && i + 1 < argc) {
          int size = 0;
-        const char *files = ReadChars(argv[++i], &size);
+        const char* files = ReadChars(argv[++i], &size);
          if (files == NULL) return 1;
-        ShellThread *thread =
+        ShellThread* thread =
              new ShellThread(threads.length(),
                              i::Vector<const char>(files, size));
          thread->Start();
@@ -736,7 +736,7 @@
    if (run_shell)
      RunShell();
    for (int i = 0; i < threads.length(); i++) {
-    i::Thread *thread = threads[i];
+    i::Thread* thread = threads[i];
      thread->Join();
      delete thread;
    }

Modified: branches/bleeding_edge/src/flags.cc
==============================================================================
--- branches/bleeding_edge/src/flags.cc (original)
+++ branches/bleeding_edge/src/flags.cc Wed May 13 05:34:35 2009
@@ -86,9 +86,9 @@
      return *reinterpret_cast<const char**>(valptr_);
    }

-  void set_string_value(const char *value, bool owns_ptr) {
+  void set_string_value(const char* value, bool owns_ptr) {
      ASSERT(type_ == TYPE_STRING);
-    const char **ptr = reinterpret_cast<const char **>(valptr_);
+    const char** ptr = reinterpret_cast<const char**>(valptr_);
      if (owns_ptr_ && *ptr != NULL) DeleteArray(*ptr);
      *ptr = value;
      owns_ptr_ = owns_ptr;

Modified: branches/bleeding_edge/src/ia32/assembler-ia32-inl.h
==============================================================================
--- branches/bleeding_edge/src/ia32/assembler-ia32-inl.h        (original)
+++ branches/bleeding_edge/src/ia32/assembler-ia32-inl.h        Wed May 13  
05:34:35 2009
@@ -158,7 +158,7 @@
  }


-Immediate::Immediate(Label *internal_offset) {
+Immediate::Immediate(Label* internal_offset) {
    x_ = reinterpret_cast<int32_t>(internal_offset);
    rmode_ = RelocInfo::INTERNAL_REFERENCE;
  }

Modified: branches/bleeding_edge/src/ia32/virtual-frame-ia32.cc
==============================================================================
--- branches/bleeding_edge/src/ia32/virtual-frame-ia32.cc       (original)
+++ branches/bleeding_edge/src/ia32/virtual-frame-ia32.cc       Wed May 13  
05:34:35 2009
@@ -340,7 +340,7 @@
  }


-void VirtualFrame::MergeMoveMemoryToRegisters(VirtualFrame *expected) {
+void VirtualFrame::MergeMoveMemoryToRegisters(VirtualFrame* expected) {
    // Move memory, constants, and copies to registers.  This is the
    // final step and is done from the bottom up so that the backing
    // elements of copies are in their correct locations when we

Modified: branches/bleeding_edge/src/log.cc
==============================================================================
--- branches/bleeding_edge/src/log.cc   (original)
+++ branches/bleeding_edge/src/log.cc   Wed May 13 05:34:35 2009
@@ -466,7 +466,7 @@
    void Append(const char* format, ...);
    void Append(const char* format, va_list args);
    void Append(const char c);
-  void Append(String *str);
+  void Append(String* str);
    void AppendDetailed(String* str, bool show_impl_info);

    void WriteToLogFile();

Modified: branches/bleeding_edge/src/mark-compact.cc
==============================================================================
--- branches/bleeding_edge/src/mark-compact.cc  (original)
+++ branches/bleeding_edge/src/mark-compact.cc  Wed May 13 05:34:35 2009
@@ -471,7 +471,7 @@


  void MarkCompactCollector::MarkDescriptorArray(
-    DescriptorArray *descriptors) {
+    DescriptorArray* descriptors) {
    if (descriptors->IsMarked()) return;
    // Empty descriptor array is marked as a root before any maps are marked.
    ASSERT(descriptors != Heap::empty_descriptor_array());
@@ -871,7 +871,7 @@
      // clearing map transitions when necessary.
      current = map;
      bool on_dead_path = !current->IsMarked();
-    Object *next;
+    Object* next;
      while (SafeIsMap(current)) {
        next = current->prototype();
        // There should never be a dead map above a live map.

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

Reply via email to