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 149063010: Remake of the load elimination fix made earlier (r18884). (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebasing on r19056. Created 6 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 | « src/hydrogen-load-elimination.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 5963 matching lines...) Expand 10 before | Expand all | Expand 10 after
5974 inline void ClearTransitions(Heap* heap, 5974 inline void ClearTransitions(Heap* heap,
5975 WriteBarrierMode mode = UPDATE_WRITE_BARRIER); 5975 WriteBarrierMode mode = UPDATE_WRITE_BARRIER);
5976 5976
5977 void DeprecateTransitionTree(); 5977 void DeprecateTransitionTree();
5978 void DeprecateTarget(Name* key, DescriptorArray* new_descriptors); 5978 void DeprecateTarget(Name* key, DescriptorArray* new_descriptors);
5979 5979
5980 Map* FindRootMap(); 5980 Map* FindRootMap();
5981 Map* FindUpdatedMap(int verbatim, int length, DescriptorArray* descriptors); 5981 Map* FindUpdatedMap(int verbatim, int length, DescriptorArray* descriptors);
5982 Map* FindLastMatchMap(int verbatim, int length, DescriptorArray* descriptors); 5982 Map* FindLastMatchMap(int verbatim, int length, DescriptorArray* descriptors);
5983 5983
5984 inline int GetInObjectPropertyOffset(int index);
5985
5984 int NumberOfFields(); 5986 int NumberOfFields();
5985 5987
5986 bool InstancesNeedRewriting(Map* target, 5988 bool InstancesNeedRewriting(Map* target,
5987 int target_number_of_fields, 5989 int target_number_of_fields,
5988 int target_inobject, 5990 int target_inobject,
5989 int target_unused); 5991 int target_unused);
5990 static Handle<Map> GeneralizeAllFieldRepresentations( 5992 static Handle<Map> GeneralizeAllFieldRepresentations(
5991 Handle<Map> map, 5993 Handle<Map> map,
5992 Representation new_representation); 5994 Representation new_representation);
5993 static Handle<Map> GeneralizeRepresentation( 5995 static Handle<Map> GeneralizeRepresentation(
(...skipping 4765 matching lines...) Expand 10 before | Expand all | Expand 10 after
10759 } else { 10761 } else {
10760 value &= ~(1 << bit_position); 10762 value &= ~(1 << bit_position);
10761 } 10763 }
10762 return value; 10764 return value;
10763 } 10765 }
10764 }; 10766 };
10765 10767
10766 } } // namespace v8::internal 10768 } } // namespace v8::internal
10767 10769
10768 #endif // V8_OBJECTS_H_ 10770 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/hydrogen-load-elimination.cc ('k') | src/objects-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698