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

Side by Side Diff: src/objects.h

Issue 19257002: Fix --track_gc_object_stats option. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 5 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/mark-compact.cc ('k') | src/objects-inl.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 5289 matching lines...) Expand 10 before | Expand all | Expand 10 after
5300 // A map can never be used for both dictionary mode and fast mode JSObjects. 5300 // A map can never be used for both dictionary mode and fast mode JSObjects.
5301 // False by default and for HeapObjects that are not JSObjects. 5301 // False by default and for HeapObjects that are not JSObjects.
5302 inline void set_dictionary_map(bool value); 5302 inline void set_dictionary_map(bool value);
5303 inline bool is_dictionary_map(); 5303 inline bool is_dictionary_map();
5304 5304
5305 // Tells whether the instance needs security checks when accessing its 5305 // Tells whether the instance needs security checks when accessing its
5306 // properties. 5306 // properties.
5307 inline void set_is_access_check_needed(bool access_check_needed); 5307 inline void set_is_access_check_needed(bool access_check_needed);
5308 inline bool is_access_check_needed(); 5308 inline bool is_access_check_needed();
5309 5309
5310 // Returns true if map has a non-empty stub code cache.
5311 inline bool has_code_cache();
5312
5310 // [prototype]: implicit prototype object. 5313 // [prototype]: implicit prototype object.
5311 DECL_ACCESSORS(prototype, Object) 5314 DECL_ACCESSORS(prototype, Object)
5312 5315
5313 // [constructor]: points back to the function responsible for this map. 5316 // [constructor]: points back to the function responsible for this map.
5314 DECL_ACCESSORS(constructor, Object) 5317 DECL_ACCESSORS(constructor, Object)
5315 5318
5316 // [instance descriptors]: describes the object. 5319 // [instance descriptors]: describes the object.
5317 DECL_ACCESSORS(instance_descriptors, DescriptorArray) 5320 DECL_ACCESSORS(instance_descriptors, DescriptorArray)
5318 inline void InitializeDescriptors(DescriptorArray* descriptors); 5321 inline void InitializeDescriptors(DescriptorArray* descriptors);
5319 5322
(...skipping 4380 matching lines...) Expand 10 before | Expand all | Expand 10 after
9700 } else { 9703 } else {
9701 value &= ~(1 << bit_position); 9704 value &= ~(1 << bit_position);
9702 } 9705 }
9703 return value; 9706 return value;
9704 } 9707 }
9705 }; 9708 };
9706 9709
9707 } } // namespace v8::internal 9710 } } // namespace v8::internal
9708 9711
9709 #endif // V8_OBJECTS_H_ 9712 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/mark-compact.cc ('k') | src/objects-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698