Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(11)

Side by Side Diff: src/objects.h

Issue 222213004: Merged r19804, r19890, r19894, r19935 into 3.24 branch. (Closed) Base URL: https://v8.googlecode.com/svn/branches/3.24
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/hydrogen.cc ('k') | src/objects.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 3940 matching lines...) Expand 10 before | Expand all | Expand 10 after
3951 3951
3952 3952
3953 class NameDictionary: public Dictionary<NameDictionaryShape, Name*> { 3953 class NameDictionary: public Dictionary<NameDictionaryShape, Name*> {
3954 public: 3954 public:
3955 static inline NameDictionary* cast(Object* obj) { 3955 static inline NameDictionary* cast(Object* obj) {
3956 ASSERT(obj->IsDictionary()); 3956 ASSERT(obj->IsDictionary());
3957 return reinterpret_cast<NameDictionary*>(obj); 3957 return reinterpret_cast<NameDictionary*>(obj);
3958 } 3958 }
3959 3959
3960 // Copies enumerable keys to preallocated fixed array. 3960 // Copies enumerable keys to preallocated fixed array.
3961 FixedArray* CopyEnumKeysTo(FixedArray* storage); 3961 void CopyEnumKeysTo(FixedArray* storage);
3962 static void DoGenerateNewEnumerationIndices( 3962 static void DoGenerateNewEnumerationIndices(
3963 Handle<NameDictionary> dictionary); 3963 Handle<NameDictionary> dictionary);
3964 3964
3965 // For transforming properties of a JSObject. 3965 // For transforming properties of a JSObject.
3966 MUST_USE_RESULT MaybeObject* TransformPropertiesToFastFor( 3966 MUST_USE_RESULT MaybeObject* TransformPropertiesToFastFor(
3967 JSObject* obj, 3967 JSObject* obj,
3968 int unused_property_fields); 3968 int unused_property_fields);
3969 3969
3970 // Find entry for key, otherwise return kNotFound. Optimized version of 3970 // Find entry for key, otherwise return kNotFound. Optimized version of
3971 // HashTable::FindEntry. 3971 // HashTable::FindEntry.
(...skipping 6791 matching lines...) Expand 10 before | Expand all | Expand 10 after
10763 } else { 10763 } else {
10764 value &= ~(1 << bit_position); 10764 value &= ~(1 << bit_position);
10765 } 10765 }
10766 return value; 10766 return value;
10767 } 10767 }
10768 }; 10768 };
10769 10769
10770 } } // namespace v8::internal 10770 } } // namespace v8::internal
10771 10771
10772 #endif // V8_OBJECTS_H_ 10772 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/hydrogen.cc ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698