| 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 "src/allocation.h" | 8 #include "src/allocation.h" |
| 9 #include "src/assert-scope.h" | 9 #include "src/assert-scope.h" |
| 10 #include "src/builtins.h" | 10 #include "src/builtins.h" |
| (...skipping 7862 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7873 DECL_ACCESSORS(native_context, Context) | 7873 DECL_ACCESSORS(native_context, Context) |
| 7874 | 7874 |
| 7875 // [global context]: the most recent (i.e. innermost) global context. | 7875 // [global context]: the most recent (i.e. innermost) global context. |
| 7876 DECL_ACCESSORS(global_context, Context) | 7876 DECL_ACCESSORS(global_context, Context) |
| 7877 | 7877 |
| 7878 // [global proxy]: the global proxy object of the context | 7878 // [global proxy]: the global proxy object of the context |
| 7879 DECL_ACCESSORS(global_proxy, JSObject) | 7879 DECL_ACCESSORS(global_proxy, JSObject) |
| 7880 | 7880 |
| 7881 // Retrieve the property cell used to store a property. | 7881 // Retrieve the property cell used to store a property. |
| 7882 PropertyCell* GetPropertyCell(LookupResult* result); | 7882 PropertyCell* GetPropertyCell(LookupResult* result); |
| 7883 PropertyCell* GetPropertyCell(LookupIterator* lookup); |
| 7883 | 7884 |
| 7884 DECLARE_CAST(GlobalObject) | 7885 DECLARE_CAST(GlobalObject) |
| 7885 | 7886 |
| 7886 // Layout description. | 7887 // Layout description. |
| 7887 static const int kBuiltinsOffset = JSObject::kHeaderSize; | 7888 static const int kBuiltinsOffset = JSObject::kHeaderSize; |
| 7888 static const int kNativeContextOffset = kBuiltinsOffset + kPointerSize; | 7889 static const int kNativeContextOffset = kBuiltinsOffset + kPointerSize; |
| 7889 static const int kGlobalContextOffset = kNativeContextOffset + kPointerSize; | 7890 static const int kGlobalContextOffset = kNativeContextOffset + kPointerSize; |
| 7890 static const int kGlobalProxyOffset = kGlobalContextOffset + kPointerSize; | 7891 static const int kGlobalProxyOffset = kGlobalContextOffset + kPointerSize; |
| 7891 static const int kHeaderSize = kGlobalProxyOffset + kPointerSize; | 7892 static const int kHeaderSize = kGlobalProxyOffset + kPointerSize; |
| 7892 | 7893 |
| (...skipping 3318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11211 } else { | 11212 } else { |
| 11212 value &= ~(1 << bit_position); | 11213 value &= ~(1 << bit_position); |
| 11213 } | 11214 } |
| 11214 return value; | 11215 return value; |
| 11215 } | 11216 } |
| 11216 }; | 11217 }; |
| 11217 | 11218 |
| 11218 } } // namespace v8::internal | 11219 } } // namespace v8::internal |
| 11219 | 11220 |
| 11220 #endif // V8_OBJECTS_H_ | 11221 #endif // V8_OBJECTS_H_ |
| OLD | NEW |