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

Side by Side Diff: src/objects.h

Issue 424093002: Fix Object.freeze with field type tracking. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 4 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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_OBJECTS_H_ 5 #ifndef V8_OBJECTS_H_
6 #define V8_OBJECTS_H_ 6 #define V8_OBJECTS_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/assert-scope.h" 9 #include "src/assert-scope.h"
10 #include "src/builtins.h" 10 #include "src/builtins.h"
(...skipping 6755 matching lines...) Expand 10 before | Expand all | Expand 10 after
6766 // In general we only want to call these functions in release mode when 6766 // In general we only want to call these functions in release mode when
6767 // heap verification is turned on. 6767 // heap verification is turned on.
6768 void ZapPrototypeTransitions(); 6768 void ZapPrototypeTransitions();
6769 void ZapTransitions(); 6769 void ZapTransitions();
6770 6770
6771 void DeprecateTransitionTree(); 6771 void DeprecateTransitionTree();
6772 void DeprecateTarget(Name* key, DescriptorArray* new_descriptors); 6772 void DeprecateTarget(Name* key, DescriptorArray* new_descriptors);
6773 6773
6774 Map* FindLastMatchMap(int verbatim, int length, DescriptorArray* descriptors); 6774 Map* FindLastMatchMap(int verbatim, int length, DescriptorArray* descriptors);
6775 6775
6776 void UpdateDescriptor(int descriptor_number, Descriptor* desc); 6776 void UpdateFieldType(int descriptor_number, Handle<Name> name,
6777 Handle<HeapType> new_type);
6777 6778
6778 void PrintGeneralization(FILE* file, 6779 void PrintGeneralization(FILE* file,
6779 const char* reason, 6780 const char* reason,
6780 int modify_index, 6781 int modify_index,
6781 int split, 6782 int split,
6782 int descriptors, 6783 int descriptors,
6783 bool constant_to_field, 6784 bool constant_to_field,
6784 Representation old_representation, 6785 Representation old_representation,
6785 Representation new_representation, 6786 Representation new_representation,
6786 HeapType* old_field_type, 6787 HeapType* old_field_type,
(...skipping 4422 matching lines...) Expand 10 before | Expand all | Expand 10 after
11209 } else { 11210 } else {
11210 value &= ~(1 << bit_position); 11211 value &= ~(1 << bit_position);
11211 } 11212 }
11212 return value; 11213 return value;
11213 } 11214 }
11214 }; 11215 };
11215 11216
11216 } } // namespace v8::internal 11217 } } // namespace v8::internal
11217 11218
11218 #endif // V8_OBJECTS_H_ 11219 #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