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

Side by Side Diff: src/objects.h

Issue 39134: Pull out bleeding_edge revision 1383, 1391 and 1491 from trunk since it is... (Closed) Base URL: http://v8.googlecode.com/svn/trunk/
Patch Set: Created 11 years, 9 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/macros.py ('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 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 3768 matching lines...) Expand 10 before | Expand all | Expand 10 after
3779 3779
3780 // Set the content of the array to the content of storage. 3780 // Set the content of the array to the content of storage.
3781 inline void SetContent(FixedArray* storage); 3781 inline void SetContent(FixedArray* storage);
3782 3782
3783 // Support for sorting 3783 // Support for sorting
3784 Object* RemoveHoles(); 3784 Object* RemoveHoles();
3785 3785
3786 // Casting. 3786 // Casting.
3787 static inline JSArray* cast(Object* obj); 3787 static inline JSArray* cast(Object* obj);
3788 3788
3789 // Uses handles. Ensures that the fixed array backing the JSArray has at
3790 // least the stated size.
3791 void EnsureSize(int minimum_size_of_backing_fixed_array);
3792
3793 // Dispatched behavior. 3789 // Dispatched behavior.
3794 #ifdef DEBUG 3790 #ifdef DEBUG
3795 void JSArrayPrint(); 3791 void JSArrayPrint();
3796 void JSArrayVerify(); 3792 void JSArrayVerify();
3797 #endif 3793 #endif
3798 3794
3799 // Layout description. 3795 // Layout description.
3800 static const int kLengthOffset = JSObject::kHeaderSize; 3796 static const int kLengthOffset = JSObject::kHeaderSize;
3801 static const int kSize = kLengthOffset + kPointerSize; 3797 static const int kSize = kLengthOffset + kPointerSize;
3802 3798
(...skipping 446 matching lines...) Expand 10 before | Expand all | Expand 10 after
4249 } else { 4245 } else {
4250 value &= ~(1 << bit_position); 4246 value &= ~(1 << bit_position);
4251 } 4247 }
4252 return value; 4248 return value;
4253 } 4249 }
4254 }; 4250 };
4255 4251
4256 } } // namespace v8::internal 4252 } } // namespace v8::internal
4257 4253
4258 #endif // V8_OBJECTS_H_ 4254 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/macros.py ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698