Fix Windows compilation.

TBR=svenpanne@chromium.org
Review URL: https://chromiumcodereview.appspot.com/9456006

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10807 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent d1172448
......@@ -116,7 +116,7 @@ TemplateHashMap<P>::~TemplateHashMap() {
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 @@ void TemplateHashMap<P>::Clear() {
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 @@ struct TemplateHashMap<P>::Entry* TemplateHashMap<P>::Next(Entry* p) const {
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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment