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

Side by Side Diff: src/objects.h

Issue 35133003: Fix materialization of captured objects with field tracking. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 2 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/deoptimizer.cc ('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 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 5751 matching lines...) Expand 10 before | Expand all | Expand 10 after
5762 Map* FindRootMap(); 5762 Map* FindRootMap();
5763 Map* FindUpdatedMap(int verbatim, int length, DescriptorArray* descriptors); 5763 Map* FindUpdatedMap(int verbatim, int length, DescriptorArray* descriptors);
5764 Map* FindLastMatchMap(int verbatim, int length, DescriptorArray* descriptors); 5764 Map* FindLastMatchMap(int verbatim, int length, DescriptorArray* descriptors);
5765 5765
5766 int NumberOfFields(); 5766 int NumberOfFields();
5767 5767
5768 bool InstancesNeedRewriting(Map* target, 5768 bool InstancesNeedRewriting(Map* target,
5769 int target_number_of_fields, 5769 int target_number_of_fields,
5770 int target_inobject, 5770 int target_inobject,
5771 int target_unused); 5771 int target_unused);
5772 static Handle<Map> GeneralizeAllFieldRepresentations(
5773 Handle<Map> map,
5774 Representation new_representation);
5772 static Handle<Map> GeneralizeRepresentation( 5775 static Handle<Map> GeneralizeRepresentation(
5773 Handle<Map> map, 5776 Handle<Map> map,
5774 int modify_index, 5777 int modify_index,
5775 Representation new_representation, 5778 Representation new_representation,
5776 StoreMode store_mode); 5779 StoreMode store_mode);
5777 static Handle<Map> CopyGeneralizeAllRepresentations( 5780 static Handle<Map> CopyGeneralizeAllRepresentations(
5778 Handle<Map> map, 5781 Handle<Map> map,
5779 int modify_index, 5782 int modify_index,
5780 StoreMode store_mode, 5783 StoreMode store_mode,
5781 PropertyAttributes attributes, 5784 PropertyAttributes attributes,
(...skipping 4636 matching lines...) Expand 10 before | Expand all | Expand 10 after
10418 } else { 10421 } else {
10419 value &= ~(1 << bit_position); 10422 value &= ~(1 << bit_position);
10420 } 10423 }
10421 return value; 10424 return value;
10422 } 10425 }
10423 }; 10426 };
10424 10427
10425 } } // namespace v8::internal 10428 } } // namespace v8::internal
10426 10429
10427 #endif // V8_OBJECTS_H_ 10430 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/deoptimizer.cc ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698