| 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 5293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5304 GetHeap(), this, kTransitionsOrBackPointerOffset, value, mode); | 5304 GetHeap(), this, kTransitionsOrBackPointerOffset, value, mode); |
| 5305 } | 5305 } |
| 5306 } | 5306 } |
| 5307 | 5307 |
| 5308 | 5308 |
| 5309 ACCESSORS(Map, code_cache, Object, kCodeCacheOffset) | 5309 ACCESSORS(Map, code_cache, Object, kCodeCacheOffset) |
| 5310 ACCESSORS(Map, dependent_code, DependentCode, kDependentCodeOffset) | 5310 ACCESSORS(Map, dependent_code, DependentCode, kDependentCodeOffset) |
| 5311 ACCESSORS(Map, constructor, Object, kConstructorOffset) | 5311 ACCESSORS(Map, constructor, Object, kConstructorOffset) |
| 5312 | 5312 |
| 5313 ACCESSORS(JSFunction, shared, SharedFunctionInfo, kSharedFunctionInfoOffset) | 5313 ACCESSORS(JSFunction, shared, SharedFunctionInfo, kSharedFunctionInfoOffset) |
| 5314 ACCESSORS(JSFunction, home_object, Object, kHomeObjectOffset) |
| 5314 ACCESSORS(JSFunction, literals_or_bindings, FixedArray, kLiteralsOffset) | 5315 ACCESSORS(JSFunction, literals_or_bindings, FixedArray, kLiteralsOffset) |
| 5315 ACCESSORS(JSFunction, next_function_link, Object, kNextFunctionLinkOffset) | 5316 ACCESSORS(JSFunction, next_function_link, Object, kNextFunctionLinkOffset) |
| 5316 | 5317 |
| 5317 ACCESSORS(GlobalObject, builtins, JSBuiltinsObject, kBuiltinsOffset) | 5318 ACCESSORS(GlobalObject, builtins, JSBuiltinsObject, kBuiltinsOffset) |
| 5318 ACCESSORS(GlobalObject, native_context, Context, kNativeContextOffset) | 5319 ACCESSORS(GlobalObject, native_context, Context, kNativeContextOffset) |
| 5319 ACCESSORS(GlobalObject, global_context, Context, kGlobalContextOffset) | 5320 ACCESSORS(GlobalObject, global_context, Context, kGlobalContextOffset) |
| 5320 ACCESSORS(GlobalObject, global_proxy, JSObject, kGlobalProxyOffset) | 5321 ACCESSORS(GlobalObject, global_proxy, JSObject, kGlobalProxyOffset) |
| 5321 | 5322 |
| 5322 ACCESSORS(JSGlobalProxy, native_context, Object, kNativeContextOffset) | 5323 ACCESSORS(JSGlobalProxy, native_context, Object, kNativeContextOffset) |
| 5323 ACCESSORS(JSGlobalProxy, hash, Object, kHashOffset) | 5324 ACCESSORS(JSGlobalProxy, hash, Object, kHashOffset) |
| (...skipping 1945 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7269 #undef READ_SHORT_FIELD | 7270 #undef READ_SHORT_FIELD |
| 7270 #undef WRITE_SHORT_FIELD | 7271 #undef WRITE_SHORT_FIELD |
| 7271 #undef READ_BYTE_FIELD | 7272 #undef READ_BYTE_FIELD |
| 7272 #undef WRITE_BYTE_FIELD | 7273 #undef WRITE_BYTE_FIELD |
| 7273 #undef NOBARRIER_READ_BYTE_FIELD | 7274 #undef NOBARRIER_READ_BYTE_FIELD |
| 7274 #undef NOBARRIER_WRITE_BYTE_FIELD | 7275 #undef NOBARRIER_WRITE_BYTE_FIELD |
| 7275 | 7276 |
| 7276 } } // namespace v8::internal | 7277 } } // namespace v8::internal |
| 7277 | 7278 |
| 7278 #endif // V8_OBJECTS_INL_H_ | 7279 #endif // V8_OBJECTS_INL_H_ |
| OLD | NEW |