Revision: 2906
Author: [email protected]
Date: Wed Sep 16 13:15:03 2009
Log: Fix Windows build. I'm wondering, how does gcc accept such code?

[email protected]

Review URL: http://codereview.chromium.org/201140
http://code.google.com/p/v8/source/detail?r=2906

Modified:
  /branches/bleeding_edge/src/heap-profiler.cc

=======================================
--- /branches/bleeding_edge/src/heap-profiler.cc        Wed Sep 16 12:44:04 2009
+++ /branches/bleeding_edge/src/heap-profiler.cc        Wed Sep 16 13:15:03 2009
@@ -192,7 +192,7 @@


  inline ClustersCoarser::ClusterBackRefs::ClusterBackRefs(
-    const ClustersCoarser::ClusterBackRefs::ClusterBackRefs& src)
+    const ClustersCoarser::ClusterBackRefs& src)
      : cluster(src.cluster), refs(src.refs.capacity()) {
    refs.AddAll(src.refs);
  }
@@ -200,7 +200,7 @@

  inline ClustersCoarser::ClusterBackRefs::ClusterBackRefs&
  ClustersCoarser::ClusterBackRefs::operator=(
-    const ClustersCoarser::ClusterBackRefs::ClusterBackRefs& src) {
+    const ClustersCoarser::ClusterBackRefs& src) {
    if (this == &src) return *this;
    cluster = src.cluster;
    refs.Clear();
@@ -210,8 +210,8 @@


  inline int ClustersCoarser::ClusterBackRefs::Compare(
-    const ClustersCoarser::ClusterBackRefs::ClusterBackRefs& a,
-    const ClustersCoarser::ClusterBackRefs::ClusterBackRefs& b) {
+    const ClustersCoarser::ClusterBackRefs& a,
+    const ClustersCoarser::ClusterBackRefs& b) {
    int cmp = JSObjectsCluster::CompareConstructors(a.cluster, b.cluster);
    if (cmp != 0) return cmp;
    if (a.refs.length() < b.refs.length()) return -1;

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

Reply via email to