| 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 <iosfwd> | 8 #include <iosfwd> | 
| 9 | 9 | 
| 10 #include "src/allocation.h" | 10 #include "src/allocation.h" | 
| (...skipping 6323 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 6334   static Handle<Map> CopyAsElementsKind(Handle<Map> map, | 6334   static Handle<Map> CopyAsElementsKind(Handle<Map> map, | 
| 6335                                         ElementsKind kind, | 6335                                         ElementsKind kind, | 
| 6336                                         TransitionFlag flag); | 6336                                         TransitionFlag flag); | 
| 6337 | 6337 | 
| 6338   static Handle<Map> CopyForObserved(Handle<Map> map); | 6338   static Handle<Map> CopyForObserved(Handle<Map> map); | 
| 6339 | 6339 | 
| 6340   static Handle<Map> CopyForPreventExtensions(Handle<Map> map, | 6340   static Handle<Map> CopyForPreventExtensions(Handle<Map> map, | 
| 6341                                               PropertyAttributes attrs_to_add, | 6341                                               PropertyAttributes attrs_to_add, | 
| 6342                                               Handle<Symbol> transition_marker, | 6342                                               Handle<Symbol> transition_marker, | 
| 6343                                               const char* reason); | 6343                                               const char* reason); | 
|  | 6344 | 
|  | 6345   static Handle<Map> FixProxy(Handle<Map> map, InstanceType type, int size); | 
|  | 6346 | 
|  | 6347 | 
| 6344   // Maximal number of fast properties. Used to restrict the number of map | 6348   // Maximal number of fast properties. Used to restrict the number of map | 
| 6345   // transitions to avoid an explosion in the number of maps for objects used as | 6349   // transitions to avoid an explosion in the number of maps for objects used as | 
| 6346   // dictionaries. | 6350   // dictionaries. | 
| 6347   inline bool TooManyFastProperties(StoreFromKeyed store_mode); | 6351   inline bool TooManyFastProperties(StoreFromKeyed store_mode); | 
| 6348   static Handle<Map> TransitionToDataProperty(Handle<Map> map, | 6352   static Handle<Map> TransitionToDataProperty(Handle<Map> map, | 
| 6349                                               Handle<Name> name, | 6353                                               Handle<Name> name, | 
| 6350                                               Handle<Object> value, | 6354                                               Handle<Object> value, | 
| 6351                                               PropertyAttributes attributes, | 6355                                               PropertyAttributes attributes, | 
| 6352                                               StoreFromKeyed store_mode); | 6356                                               StoreFromKeyed store_mode); | 
| 6353   static Handle<Map> TransitionToAccessorProperty( | 6357   static Handle<Map> TransitionToAccessorProperty( | 
| (...skipping 4836 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 11190     } else { | 11194     } else { | 
| 11191       value &= ~(1 << bit_position); | 11195       value &= ~(1 << bit_position); | 
| 11192     } | 11196     } | 
| 11193     return value; | 11197     return value; | 
| 11194   } | 11198   } | 
| 11195 }; | 11199 }; | 
| 11196 | 11200 | 
| 11197 } }  // namespace v8::internal | 11201 } }  // namespace v8::internal | 
| 11198 | 11202 | 
| 11199 #endif  // V8_OBJECTS_H_ | 11203 #endif  // V8_OBJECTS_H_ | 
| OLD | NEW | 
|---|