Chromium Code Reviews| 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 7779 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 7790 | 7790 |
| 7791 // [native context]: the natives corresponding to this global object. | 7791 // [native context]: the natives corresponding to this global object. |
| 7792 DECL_ACCESSORS(native_context, Context) | 7792 DECL_ACCESSORS(native_context, Context) |
| 7793 | 7793 |
| 7794 // [global context]: the most recent (i.e. innermost) global context. | 7794 // [global context]: the most recent (i.e. innermost) global context. |
| 7795 DECL_ACCESSORS(global_context, Context) | 7795 DECL_ACCESSORS(global_context, Context) |
| 7796 | 7796 |
| 7797 // [global proxy]: the global proxy object of the context | 7797 // [global proxy]: the global proxy object of the context |
| 7798 DECL_ACCESSORS(global_proxy, JSObject) | 7798 DECL_ACCESSORS(global_proxy, JSObject) |
| 7799 | 7799 |
| 7800 // Retrieve the property cell used to store a property. | |
| 7801 PropertyCell* GetPropertyCell(LookupResult* result); | |
|
mvstanton
2014/08/25 10:24:27
Thanks for removing this method!
| |
| 7802 | |
| 7803 DECLARE_CAST(GlobalObject) | 7800 DECLARE_CAST(GlobalObject) |
| 7804 | 7801 |
| 7805 // Layout description. | 7802 // Layout description. |
| 7806 static const int kBuiltinsOffset = JSObject::kHeaderSize; | 7803 static const int kBuiltinsOffset = JSObject::kHeaderSize; |
| 7807 static const int kNativeContextOffset = kBuiltinsOffset + kPointerSize; | 7804 static const int kNativeContextOffset = kBuiltinsOffset + kPointerSize; |
| 7808 static const int kGlobalContextOffset = kNativeContextOffset + kPointerSize; | 7805 static const int kGlobalContextOffset = kNativeContextOffset + kPointerSize; |
| 7809 static const int kGlobalProxyOffset = kGlobalContextOffset + kPointerSize; | 7806 static const int kGlobalProxyOffset = kGlobalContextOffset + kPointerSize; |
| 7810 static const int kHeaderSize = kGlobalProxyOffset + kPointerSize; | 7807 static const int kHeaderSize = kGlobalProxyOffset + kPointerSize; |
| 7811 | 7808 |
| 7812 private: | 7809 private: |
| (...skipping 3338 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 11151 } else { | 11148 } else { |
| 11152 value &= ~(1 << bit_position); | 11149 value &= ~(1 << bit_position); |
| 11153 } | 11150 } |
| 11154 return value; | 11151 return value; |
| 11155 } | 11152 } |
| 11156 }; | 11153 }; |
| 11157 | 11154 |
| 11158 } } // namespace v8::internal | 11155 } } // namespace v8::internal |
| 11159 | 11156 |
| 11160 #endif // V8_OBJECTS_H_ | 11157 #endif // V8_OBJECTS_H_ |
| OLD | NEW |