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

Side by Side Diff: src/objects.h

Issue 17491002: Revert r14930 and r14935 temporarily. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 6 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/mips/lithium-mips.cc ('k') | src/x64/lithium-codegen-x64.h » ('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 5458 matching lines...) Expand 10 before | Expand all | Expand 10 after
5469 MUST_USE_RESULT MaybeObject* Copy(); 5469 MUST_USE_RESULT MaybeObject* Copy();
5470 5470
5471 // Returns the next free property index (only valid for FAST MODE). 5471 // Returns the next free property index (only valid for FAST MODE).
5472 int NextFreePropertyIndex(); 5472 int NextFreePropertyIndex();
5473 5473
5474 // Returns the number of properties described in instance_descriptors 5474 // Returns the number of properties described in instance_descriptors
5475 // filtering out properties with the specified attributes. 5475 // filtering out properties with the specified attributes.
5476 int NumberOfDescribedProperties(DescriptorFlag which = OWN_DESCRIPTORS, 5476 int NumberOfDescribedProperties(DescriptorFlag which = OWN_DESCRIPTORS,
5477 PropertyAttributes filter = NONE); 5477 PropertyAttributes filter = NONE);
5478 5478
5479 // Returns the number of slots allocated for the initial properties
5480 // backing storage for instances of this map.
5481 int InitialPropertiesLength() {
5482 return pre_allocated_property_fields() + unused_property_fields() -
5483 inobject_properties();
5484 }
5485
5486 // Casting. 5479 // Casting.
5487 static inline Map* cast(Object* obj); 5480 static inline Map* cast(Object* obj);
5488 5481
5489 // Locate an accessor in the instance descriptor. 5482 // Locate an accessor in the instance descriptor.
5490 AccessorDescriptor* FindAccessor(Name* name); 5483 AccessorDescriptor* FindAccessor(Name* name);
5491 5484
5492 // Code cache operations. 5485 // Code cache operations.
5493 5486
5494 // Clears the code cache. 5487 // Clears the code cache.
5495 inline void ClearCodeCache(Heap* heap); 5488 inline void ClearCodeCache(Heap* heap);
(...skipping 4195 matching lines...) Expand 10 before | Expand all | Expand 10 after
9691 } else { 9684 } else {
9692 value &= ~(1 << bit_position); 9685 value &= ~(1 << bit_position);
9693 } 9686 }
9694 return value; 9687 return value;
9695 } 9688 }
9696 }; 9689 };
9697 9690
9698 } } // namespace v8::internal 9691 } } // namespace v8::internal
9699 9692
9700 #endif // V8_OBJECTS_H_ 9693 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/mips/lithium-mips.cc ('k') | src/x64/lithium-codegen-x64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698