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 5954 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5965 Handle<Name> name); | 5965 Handle<Name> name); |
5966 MUST_USE_RESULT MaybeObject* CopyReplaceDescriptors( | 5966 MUST_USE_RESULT MaybeObject* CopyReplaceDescriptors( |
5967 DescriptorArray* descriptors, | 5967 DescriptorArray* descriptors, |
5968 TransitionFlag flag, | 5968 TransitionFlag flag, |
5969 Name* name = NULL, | 5969 Name* name = NULL, |
5970 SimpleTransitionFlag simple_flag = FULL_TRANSITION); | 5970 SimpleTransitionFlag simple_flag = FULL_TRANSITION); |
5971 static Handle<Map> CopyInstallDescriptors( | 5971 static Handle<Map> CopyInstallDescriptors( |
5972 Handle<Map> map, | 5972 Handle<Map> map, |
5973 int new_descriptor, | 5973 int new_descriptor, |
5974 Handle<DescriptorArray> descriptors); | 5974 Handle<DescriptorArray> descriptors); |
5975 MUST_USE_RESULT MaybeObject* CopyInstallDescriptors( | |
5976 int new_descriptor, | |
5977 DescriptorArray* descriptors); | |
5978 MUST_USE_RESULT MaybeObject* ShareDescriptor(DescriptorArray* descriptors, | 5975 MUST_USE_RESULT MaybeObject* ShareDescriptor(DescriptorArray* descriptors, |
5979 Descriptor* descriptor); | 5976 Descriptor* descriptor); |
5980 MUST_USE_RESULT MaybeObject* CopyAddDescriptor(Descriptor* descriptor, | 5977 MUST_USE_RESULT MaybeObject* CopyAddDescriptor(Descriptor* descriptor, |
5981 TransitionFlag flag); | 5978 TransitionFlag flag); |
5982 MUST_USE_RESULT MaybeObject* CopyInsertDescriptor(Descriptor* descriptor, | 5979 MUST_USE_RESULT MaybeObject* CopyInsertDescriptor(Descriptor* descriptor, |
5983 TransitionFlag flag); | 5980 TransitionFlag flag); |
5984 MUST_USE_RESULT MaybeObject* CopyReplaceDescriptor( | 5981 MUST_USE_RESULT MaybeObject* CopyReplaceDescriptor( |
5985 DescriptorArray* descriptors, | 5982 DescriptorArray* descriptors, |
5986 Descriptor* descriptor, | 5983 Descriptor* descriptor, |
5987 int index, | 5984 int index, |
(...skipping 4438 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10426 } else { | 10423 } else { |
10427 value &= ~(1 << bit_position); | 10424 value &= ~(1 << bit_position); |
10428 } | 10425 } |
10429 return value; | 10426 return value; |
10430 } | 10427 } |
10431 }; | 10428 }; |
10432 | 10429 |
10433 } } // namespace v8::internal | 10430 } } // namespace v8::internal |
10434 | 10431 |
10435 #endif // V8_OBJECTS_H_ | 10432 #endif // V8_OBJECTS_H_ |
OLD | NEW |