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

Side by Side Diff: src/objects.h

Issue 12084066: Only mark the descriptor that is valid for the map in question. If this map (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed comments Created 7 years, 10 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 | « no previous file | 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 2591 matching lines...) Expand 10 before | Expand all | Expand 10 after
2602 // using the supplied storage for the small "bridge". 2602 // using the supplied storage for the small "bridge".
2603 void SetEnumCache(FixedArray* bridge_storage, 2603 void SetEnumCache(FixedArray* bridge_storage,
2604 FixedArray* new_cache, 2604 FixedArray* new_cache,
2605 Object* new_index_cache); 2605 Object* new_index_cache);
2606 2606
2607 // Accessors for fetching instance descriptor at descriptor number. 2607 // Accessors for fetching instance descriptor at descriptor number.
2608 inline String* GetKey(int descriptor_number); 2608 inline String* GetKey(int descriptor_number);
2609 inline Object** GetKeySlot(int descriptor_number); 2609 inline Object** GetKeySlot(int descriptor_number);
2610 inline Object* GetValue(int descriptor_number); 2610 inline Object* GetValue(int descriptor_number);
2611 inline Object** GetValueSlot(int descriptor_number); 2611 inline Object** GetValueSlot(int descriptor_number);
2612 inline Object** GetDescriptorStartSlot(int descriptor_number);
2613 inline Object** GetDescriptorEndSlot(int descriptor_number);
2612 inline PropertyDetails GetDetails(int descriptor_number); 2614 inline PropertyDetails GetDetails(int descriptor_number);
2613 inline PropertyType GetType(int descriptor_number); 2615 inline PropertyType GetType(int descriptor_number);
2614 inline int GetFieldIndex(int descriptor_number); 2616 inline int GetFieldIndex(int descriptor_number);
2615 inline JSFunction* GetConstantFunction(int descriptor_number); 2617 inline JSFunction* GetConstantFunction(int descriptor_number);
2616 inline Object* GetCallbacksObject(int descriptor_number); 2618 inline Object* GetCallbacksObject(int descriptor_number);
2617 inline AccessorDescriptor* GetCallbacks(int descriptor_number); 2619 inline AccessorDescriptor* GetCallbacks(int descriptor_number);
2618 2620
2619 inline String* GetSortedKey(int descriptor_number); 2621 inline String* GetSortedKey(int descriptor_number);
2620 inline int GetSortedKeyIndex(int descriptor_number); 2622 inline int GetSortedKeyIndex(int descriptor_number);
2621 inline void SetSortedKey(int pointer, int descriptor_number); 2623 inline void SetSortedKey(int pointer, int descriptor_number);
(...skipping 6256 matching lines...) Expand 10 before | Expand all | Expand 10 after
8878 } else { 8880 } else {
8879 value &= ~(1 << bit_position); 8881 value &= ~(1 << bit_position);
8880 } 8882 }
8881 return value; 8883 return value;
8882 } 8884 }
8883 }; 8885 };
8884 8886
8885 } } // namespace v8::internal 8887 } } // namespace v8::internal
8886 8888
8887 #endif // V8_OBJECTS_H_ 8889 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « no previous file | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698