Fix lint.
authorager@chromium.org <ager@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 19 Mar 2009 19:29:23 +0000 (19:29 +0000)
committerager@chromium.org <ager@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 19 Mar 2009 19:29:23 +0000 (19:29 +0000)
TBR=iposva
Review URL: http://codereview.chromium.org/50026

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

src/factory.h
src/heap.cc
src/heap.h
src/objects.cc
test/cctest/test-api.cc

index f014ba5..2564c3c 100644 (file)
@@ -299,7 +299,7 @@ class Factory : public AllStatic {
   static Handle<String> name() { return Handle<String>(&Heap::name##_); }
   SYMBOL_LIST(SYMBOL_ACCESSOR)
 #undef SYMBOL_ACCESSOR
-  
+
   static Handle<String> hidden_symbol() {
     return Handle<String>(&Heap::hidden_symbol_);
   }
index ce60ace..8bab00e 100644 (file)
@@ -1204,7 +1204,7 @@ bool Heap::CreateInitialObjects() {
   (name##_) = String::cast(obj);
   SYMBOL_LIST(SYMBOL_INITIALIZE)
 #undef SYMBOL_INITIALIZE
-  
+
   // Allocate the hidden symbol which is used to identify the hidden properties
   // in JSObjects. The hash code has a special value so that it will not match
   // the empty string when searching for the property. It cannot be part of the
index f8b104a..9b5085d 100644 (file)
@@ -644,7 +644,7 @@ class Heap : public AllStatic {
 #define SYMBOL_ACCESSOR(name, str) static String* name() { return name##_; }
   SYMBOL_LIST(SYMBOL_ACCESSOR)
 #undef SYMBOL_ACCESSOR
-  
+
   // The hidden_symbol is special because it is the empty string, but does
   // not match the empty string.
   static String* hidden_symbol() { return hidden_symbol_; }
@@ -891,7 +891,7 @@ class Heap : public AllStatic {
 #define SYMBOL_DECLARATION(name, str) static String* name##_;
   SYMBOL_LIST(SYMBOL_DECLARATION)
 #undef SYMBOL_DECLARATION
-  
+
   // The special hidden symbol which is an empty string, but does not match
   // any string when looked up in properties.
   static String* hidden_symbol_;
index 3847e6c..72fc5e5 100644 (file)
@@ -5145,7 +5145,7 @@ Object* JSObject::GetHiddenProperties(bool create_if_needed) {
 #ifdef DEBUG
         PropertyDetails details(descriptors->GetDetails(0));
         ASSERT(details.type() == FIELD);
-#endif // DEBUG
+#endif  // DEBUG
         Object* value = descriptors->GetValue(0);
         return FastPropertyAt(Descriptor::IndexFromValue(value));
       }
index 882db05..71f2493 100644 (file)
@@ -1290,14 +1290,14 @@ THREADED_TEST(HiddenProperties) {
   v8::Local<v8::String> key = v8_str("api-test::hidden-key");
   v8::Local<v8::String> empty = v8_str("");
   v8::Local<v8::String> prop_name = v8_str("prop_name");
-  
+
   i::Heap::CollectAllGarbage();
 
   CHECK(obj->SetHiddenValue(key, v8::Integer::New(1503)));
   CHECK_EQ(1503, obj->GetHiddenValue(key)->Int32Value());
   CHECK(obj->SetHiddenValue(key, v8::Integer::New(2002)));
   CHECK_EQ(2002, obj->GetHiddenValue(key)->Int32Value());
-  
+
   i::Heap::CollectAllGarbage();
 
   // Make sure we do not find the hidden property.
@@ -1308,7 +1308,7 @@ THREADED_TEST(HiddenProperties) {
   CHECK(obj->Set(empty, v8::Integer::New(2003)));
   CHECK_EQ(2002, obj->GetHiddenValue(key)->Int32Value());
   CHECK_EQ(2003, obj->Get(empty)->Int32Value());
-  
+
   i::Heap::CollectAllGarbage();
 
   // Add another property and delete it afterwards to force the object in
@@ -1319,7 +1319,7 @@ THREADED_TEST(HiddenProperties) {
   CHECK_EQ(2002, obj->GetHiddenValue(key)->Int32Value());
   CHECK(obj->Delete(prop_name));
   CHECK_EQ(2002, obj->GetHiddenValue(key)->Int32Value());
-  
+
   i::Heap::CollectAllGarbage();
 
   CHECK(obj->DeleteHiddenValue(key));