| OLD | NEW |
| 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 "allocation.h" | 8 #include "allocation.h" |
| 9 #include "assert-scope.h" | 9 #include "assert-scope.h" |
| 10 #include "builtins.h" | 10 #include "builtins.h" |
| (...skipping 6124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6135 int modify_index, | 6135 int modify_index, |
| 6136 Representation new_representation, | 6136 Representation new_representation, |
| 6137 Handle<HeapType> new_field_type, | 6137 Handle<HeapType> new_field_type, |
| 6138 StoreMode store_mode); | 6138 StoreMode store_mode); |
| 6139 static Handle<Map> CopyGeneralizeAllRepresentations( | 6139 static Handle<Map> CopyGeneralizeAllRepresentations( |
| 6140 Handle<Map> map, | 6140 Handle<Map> map, |
| 6141 int modify_index, | 6141 int modify_index, |
| 6142 StoreMode store_mode, | 6142 StoreMode store_mode, |
| 6143 PropertyAttributes attributes, | 6143 PropertyAttributes attributes, |
| 6144 const char* reason); | 6144 const char* reason); |
| 6145 static Handle<Map> CopyGeneralizeAllRepresentations( |
| 6146 Handle<Map> map, |
| 6147 int modify_index, |
| 6148 StoreMode store_mode, |
| 6149 const char* reason); |
| 6145 | 6150 |
| 6146 static Handle<Map> Normalize(Handle<Map> map, PropertyNormalizationMode mode); | 6151 static Handle<Map> Normalize(Handle<Map> map, PropertyNormalizationMode mode); |
| 6147 | 6152 |
| 6148 // Returns the constructor name (the name (possibly, inferred name) of the | 6153 // Returns the constructor name (the name (possibly, inferred name) of the |
| 6149 // function that was used to instantiate the object). | 6154 // function that was used to instantiate the object). |
| 6150 String* constructor_name(); | 6155 String* constructor_name(); |
| 6151 | 6156 |
| 6152 // Tells whether the map is attached to SharedFunctionInfo | 6157 // Tells whether the map is attached to SharedFunctionInfo |
| 6153 // (for inobject slack tracking). | 6158 // (for inobject slack tracking). |
| 6154 inline void set_attached_to_shared_function_info(bool value); | 6159 inline void set_attached_to_shared_function_info(bool value); |
| (...skipping 4961 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11116 } else { | 11121 } else { |
| 11117 value &= ~(1 << bit_position); | 11122 value &= ~(1 << bit_position); |
| 11118 } | 11123 } |
| 11119 return value; | 11124 return value; |
| 11120 } | 11125 } |
| 11121 }; | 11126 }; |
| 11122 | 11127 |
| 11123 } } // namespace v8::internal | 11128 } } // namespace v8::internal |
| 11124 | 11129 |
| 11125 #endif // V8_OBJECTS_H_ | 11130 #endif // V8_OBJECTS_H_ |
| OLD | NEW |