| 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 // Review notes: | 5 // Review notes: |
| 6 // | 6 // |
| 7 // - The use of macros in these inline functions may seem superfluous | 7 // - The use of macros in these inline functions may seem superfluous |
| 8 // but it is absolutely needed to make sure gcc generates optimal | 8 // but it is absolutely needed to make sure gcc generates optimal |
| 9 // code. gcc is not happy when attempting to inline too deep. | 9 // code. gcc is not happy when attempting to inline too deep. |
| 10 // | 10 // |
| (...skipping 5377 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5388 set_constructor_or_backpointer(constructor, mode); | 5388 set_constructor_or_backpointer(constructor, mode); |
| 5389 } | 5389 } |
| 5390 | 5390 |
| 5391 | 5391 |
| 5392 Handle<Map> Map::CopyInitialMap(Handle<Map> map) { | 5392 Handle<Map> Map::CopyInitialMap(Handle<Map> map) { |
| 5393 return CopyInitialMap(map, map->instance_size(), map->GetInObjectProperties(), | 5393 return CopyInitialMap(map, map->instance_size(), map->GetInObjectProperties(), |
| 5394 map->unused_property_fields()); | 5394 map->unused_property_fields()); |
| 5395 } | 5395 } |
| 5396 | 5396 |
| 5397 | 5397 |
| 5398 ACCESSORS(JSBoundFunction, length, Object, kLengthOffset) | |
| 5399 ACCESSORS(JSBoundFunction, name, Object, kNameOffset) | |
| 5400 ACCESSORS(JSBoundFunction, bound_target_function, JSReceiver, | 5398 ACCESSORS(JSBoundFunction, bound_target_function, JSReceiver, |
| 5401 kBoundTargetFunctionOffset) | 5399 kBoundTargetFunctionOffset) |
| 5402 ACCESSORS(JSBoundFunction, bound_this, Object, kBoundThisOffset) | 5400 ACCESSORS(JSBoundFunction, bound_this, Object, kBoundThisOffset) |
| 5403 ACCESSORS(JSBoundFunction, bound_arguments, FixedArray, kBoundArgumentsOffset) | 5401 ACCESSORS(JSBoundFunction, bound_arguments, FixedArray, kBoundArgumentsOffset) |
| 5404 | 5402 |
| 5405 ACCESSORS(JSFunction, shared, SharedFunctionInfo, kSharedFunctionInfoOffset) | 5403 ACCESSORS(JSFunction, shared, SharedFunctionInfo, kSharedFunctionInfoOffset) |
| 5406 ACCESSORS(JSFunction, literals, LiteralsArray, kLiteralsOffset) | 5404 ACCESSORS(JSFunction, literals, LiteralsArray, kLiteralsOffset) |
| 5407 ACCESSORS(JSFunction, next_function_link, Object, kNextFunctionLinkOffset) | 5405 ACCESSORS(JSFunction, next_function_link, Object, kNextFunctionLinkOffset) |
| 5408 | 5406 |
| 5409 ACCESSORS(JSGlobalObject, native_context, Context, kNativeContextOffset) | 5407 ACCESSORS(JSGlobalObject, native_context, Context, kNativeContextOffset) |
| (...skipping 2392 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7802 #undef WRITE_INT64_FIELD | 7800 #undef WRITE_INT64_FIELD |
| 7803 #undef READ_BYTE_FIELD | 7801 #undef READ_BYTE_FIELD |
| 7804 #undef WRITE_BYTE_FIELD | 7802 #undef WRITE_BYTE_FIELD |
| 7805 #undef NOBARRIER_READ_BYTE_FIELD | 7803 #undef NOBARRIER_READ_BYTE_FIELD |
| 7806 #undef NOBARRIER_WRITE_BYTE_FIELD | 7804 #undef NOBARRIER_WRITE_BYTE_FIELD |
| 7807 | 7805 |
| 7808 } // namespace internal | 7806 } // namespace internal |
| 7809 } // namespace v8 | 7807 } // namespace v8 |
| 7810 | 7808 |
| 7811 #endif // V8_OBJECTS_INL_H_ | 7809 #endif // V8_OBJECTS_INL_H_ |
| OLD | NEW |