Fix clang template weirdness.
authorsvenpanne@chromium.org <svenpanne@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 15 Mar 2012 15:01:59 +0000 (15:01 +0000)
committersvenpanne@chromium.org <svenpanne@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 15 Mar 2012 15:01:59 +0000 (15:01 +0000)
TBR=rossberg@chromium.org

Review URL: https://chromiumcodereview.appspot.com/9710001

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11060 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

src/hashmap.h

index 0d51db2dde860ca5f265800381f2b49237114d8c..5aeb8951ed38f0237df5b7d3d75621667514007d 100644 (file)
@@ -331,7 +331,7 @@ class TemplateHashMap: private TemplateHashMapImpl<AllocationPolicy> {
   Iterator begin() const { return Iterator(this, this->Start()); }
   Iterator end() const { return Iterator(this, NULL); }
   Iterator find(Key* key, bool insert = false) {
-    return Iterator(this, Lookup(key, key->Hash(), insert));
+    return Iterator(this, this->Lookup(key, key->Hash(), insert));
   }
 };