| 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_CONTEXTS_H_ | 5 #ifndef V8_CONTEXTS_H_ |
| 6 #define V8_CONTEXTS_H_ | 6 #define V8_CONTEXTS_H_ |
| 7 | 7 |
| 8 #include "src/heap.h" | 8 #include "src/heap/heap.h" |
| 9 #include "src/objects.h" | 9 #include "src/objects.h" |
| 10 | 10 |
| 11 namespace v8 { | 11 namespace v8 { |
| 12 namespace internal { | 12 namespace internal { |
| 13 | 13 |
| 14 | 14 |
| 15 enum ContextLookupFlags { | 15 enum ContextLookupFlags { |
| 16 FOLLOW_CONTEXT_CHAIN = 1, | 16 FOLLOW_CONTEXT_CHAIN = 1, |
| 17 FOLLOW_PROTOTYPE_CHAIN = 2, | 17 FOLLOW_PROTOTYPE_CHAIN = 2, |
| 18 | 18 |
| (...skipping 561 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 580 static bool IsBootstrappingOrGlobalObject(Isolate* isolate, Object* object); | 580 static bool IsBootstrappingOrGlobalObject(Isolate* isolate, Object* object); |
| 581 #endif | 581 #endif |
| 582 | 582 |
| 583 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize); | 583 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize); |
| 584 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex); | 584 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex); |
| 585 }; | 585 }; |
| 586 | 586 |
| 587 } } // namespace v8::internal | 587 } } // namespace v8::internal |
| 588 | 588 |
| 589 #endif // V8_CONTEXTS_H_ | 589 #endif // V8_CONTEXTS_H_ |
| OLD | NEW |