Revision: 4908 Author: [email protected] Date: Mon Jun 21 13:52:43 2010 Log: Use this->Foo() in some places due to two-phase lookup.
This is required by more strict compilers (Clang). Review URL: http://codereview.chromium.org/2037004 http://code.google.com/p/v8/source/detail?r=4908 Modified: /branches/bleeding_edge/src/objects.cc ======================================= --- /branches/bleeding_edge/src/objects.cc Thu Jun 17 09:19:28 2010 +++ /branches/bleeding_edge/src/objects.cc Mon Jun 21 13:52:43 2010 @@ -8155,7 +8155,7 @@ template<typename Shape, typename Key> Object* Dictionary<Shape, Key>::AtPut(Key key, Object* value) { - int entry = FindEntry(key); + int entry = this->FindEntry(key); // If the entry is present set the value; if (entry != Dictionary<Shape, Key>::kNotFound) { @@ -8180,7 +8180,7 @@ Object* value, PropertyDetails details) { // Valdate key is absent. - SLOW_ASSERT((FindEntry(key) == Dictionary<Shape, Key>::kNotFound)); + SLOW_ASSERT((this->FindEntry(key) == Dictionary<Shape, Key>::kNotFound)); // Check whether the dictionary should be extended. Object* obj = EnsureCapacity(1, key); if (obj->IsFailure()) return obj; @@ -8239,7 +8239,7 @@ Object* value, PropertyDetails details) { UpdateMaxNumberKey(key); - SLOW_ASSERT(FindEntry(key) == kNotFound); + SLOW_ASSERT(this->FindEntry(key) == kNotFound); return Add(key, value, details); } -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
