Revision: 8572
Author:   [email protected]
Date:     Fri Jul  8 01:03:39 2011
Log:      Fix compilation error.

Compiler cannot recognize the typename in template declaration.  Caught by
MSVC.

[email protected]

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

Modified:
 /branches/bleeding_edge/src/objects.cc

=======================================
--- /branches/bleeding_edge/src/objects.cc      Fri Jul  8 00:31:48 2011
+++ /branches/bleeding_edge/src/objects.cc      Fri Jul  8 01:03:39 2011
@@ -11227,7 +11227,7 @@
 void Dictionary<Shape, Key>::CopyKeysTo(
     FixedArray* storage,
     PropertyAttributes filter,
-    Dictionary<Shape, Key>::SortMode sort_mode) {
+    typename Dictionary<Shape, Key>::SortMode sort_mode) {
   ASSERT(storage->length() >= NumberOfEnumElements());
   int capacity = HashTable<Shape, Key>::Capacity();
   int index = 0;
@@ -11270,7 +11270,7 @@
 template<typename Shape, typename Key>
 void Dictionary<Shape, Key>::CopyKeysTo(
     FixedArray* storage,
-    Dictionary<Shape, Key>::SortMode sort_mode) {
+    typename Dictionary<Shape, Key>::SortMode sort_mode) {
   ASSERT(storage->length() >= NumberOfElementsFilterAttributes(
       static_cast<PropertyAttributes>(NONE)));
   int capacity = HashTable<Shape, Key>::Capacity();

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

Reply via email to