Revision: 10807
Author:   [email protected]
Date:     Thu Feb 23 02:12:50 2012
Log:      Fix Windows compilation.

[email protected]
Review URL: https://chromiumcodereview.appspot.com/9456006
http://code.google.com/p/v8/source/detail?r=10807

Modified:
 /branches/bleeding_edge/src/hashmap.h

=======================================
--- /branches/bleeding_edge/src/hashmap.h       Thu Feb 23 01:12:57 2012
+++ /branches/bleeding_edge/src/hashmap.h       Thu Feb 23 02:12:50 2012
@@ -116,7 +116,7 @@


 template<class P>
-struct TemplateHashMap<P>::Entry* TemplateHashMap<P>::Lookup(
+typename TemplateHashMap<P>::Entry* TemplateHashMap<P>::Lookup(
     void* key, uint32_t hash, bool insert) {
   // Find a matching entry.
   Entry* p = Probe(key, hash);
@@ -217,13 +217,13 @@


 template<class P>
-struct TemplateHashMap<P>::Entry* TemplateHashMap<P>::Start() const {
+typename TemplateHashMap<P>::Entry* TemplateHashMap<P>::Start() const {
   return Next(map_ - 1);
 }


 template<class P>
-struct TemplateHashMap<P>::Entry* TemplateHashMap<P>::Next(Entry* p) const { +typename TemplateHashMap<P>::Entry* TemplateHashMap<P>::Next(Entry* p) const {
   const Entry* end = map_end();
   ASSERT(map_ - 1 <= p && p < end);
   for (p++; p < end; p++) {
@@ -236,7 +236,7 @@


 template<class P>
-struct TemplateHashMap<P>::Entry* TemplateHashMap<P>::Probe(void* key,
+typename TemplateHashMap<P>::Entry* TemplateHashMap<P>::Probe(void* key,
uint32_t hash) {
   ASSERT(key != NULL);

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

Reply via email to