OLD | NEW |
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 6394 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6405 // Returns a non-deprecated version of the input. If the input was not | 6405 // Returns a non-deprecated version of the input. If the input was not |
6406 // deprecated, it is directly returned. Otherwise, the non-deprecated version | 6406 // deprecated, it is directly returned. Otherwise, the non-deprecated version |
6407 // is found by re-transitioning from the root of the transition tree using the | 6407 // is found by re-transitioning from the root of the transition tree using the |
6408 // descriptor array of the map. Returns NULL if no updated map is found. | 6408 // descriptor array of the map. Returns NULL if no updated map is found. |
6409 // This method also applies any pending migrations along the prototype chain. | 6409 // This method also applies any pending migrations along the prototype chain. |
6410 static Handle<Map> CurrentMapForDeprecated(Handle<Map> map); | 6410 static Handle<Map> CurrentMapForDeprecated(Handle<Map> map); |
6411 // Same as above, but does not touch the prototype chain. | 6411 // Same as above, but does not touch the prototype chain. |
6412 static Handle<Map> CurrentMapForDeprecatedInternal(Handle<Map> map); | 6412 static Handle<Map> CurrentMapForDeprecatedInternal(Handle<Map> map); |
6413 | 6413 |
6414 static Handle<Map> RawCopy(Handle<Map> map, int instance_size); | 6414 static Handle<Map> RawCopy(Handle<Map> map, int instance_size); |
6415 MUST_USE_RESULT MaybeObject* RawCopy(int instance_size); | |
6416 static Handle<Map> CopyDropDescriptors(Handle<Map> map); | 6415 static Handle<Map> CopyDropDescriptors(Handle<Map> map); |
6417 static Handle<Map> CopyReplaceDescriptors( | 6416 static Handle<Map> CopyReplaceDescriptors( |
6418 Handle<Map> map, | 6417 Handle<Map> map, |
6419 Handle<DescriptorArray> descriptors, | 6418 Handle<DescriptorArray> descriptors, |
6420 TransitionFlag flag, | 6419 TransitionFlag flag, |
6421 Handle<Name> name, | 6420 Handle<Name> name, |
6422 SimpleTransitionFlag simple_flag = FULL_TRANSITION); | 6421 SimpleTransitionFlag simple_flag = FULL_TRANSITION); |
6423 static Handle<Map> CopyReplaceDescriptors( | 6422 static Handle<Map> CopyReplaceDescriptors( |
6424 Handle<Map> map, | 6423 Handle<Map> map, |
6425 Handle<DescriptorArray> descriptors, | 6424 Handle<DescriptorArray> descriptors, |
(...skipping 4597 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11023 } else { | 11022 } else { |
11024 value &= ~(1 << bit_position); | 11023 value &= ~(1 << bit_position); |
11025 } | 11024 } |
11026 return value; | 11025 return value; |
11027 } | 11026 } |
11028 }; | 11027 }; |
11029 | 11028 |
11030 } } // namespace v8::internal | 11029 } } // namespace v8::internal |
11031 | 11030 |
11032 #endif // V8_OBJECTS_H_ | 11031 #endif // V8_OBJECTS_H_ |
OLD | NEW |