| OLD | NEW |
| 1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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_LOOKUP_H_ | 5 #ifndef V8_LOOKUP_H_ |
| 6 #define V8_LOOKUP_H_ | 6 #define V8_LOOKUP_H_ |
| 7 | 7 |
| 8 #include "src/factory.h" | 8 #include "src/factory.h" |
| 9 #include "src/isolate.h" | 9 #include "src/isolate.h" |
| 10 #include "src/objects.h" | 10 #include "src/objects.h" |
| 11 | 11 |
| 12 namespace v8 { | 12 namespace v8 { |
| 13 namespace internal { | 13 namespace internal { |
| 14 | 14 |
| 15 class LookupIterator V8_FINAL BASE_EMBEDDED { | 15 class LookupIterator FINAL BASE_EMBEDDED { |
| 16 public: | 16 public: |
| 17 enum Configuration { | 17 enum Configuration { |
| 18 // Configuration bits. | 18 // Configuration bits. |
| 19 kAccessCheck = 1 << 0, | 19 kAccessCheck = 1 << 0, |
| 20 kHidden = 1 << 1, | 20 kHidden = 1 << 1, |
| 21 kInterceptor = 1 << 2, | 21 kInterceptor = 1 << 2, |
| 22 kPrototypeChain = 1 << 3, | 22 kPrototypeChain = 1 << 3, |
| 23 | 23 |
| 24 // Convience combinations of bits. | 24 // Convience combinations of bits. |
| 25 OWN_PROPERTY = 0, | 25 OWN_PROPERTY = 0, |
| (...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 236 MaybeHandle<Object> maybe_receiver_; | 236 MaybeHandle<Object> maybe_receiver_; |
| 237 MaybeHandle<JSReceiver> maybe_holder_; | 237 MaybeHandle<JSReceiver> maybe_holder_; |
| 238 | 238 |
| 239 int number_; | 239 int number_; |
| 240 }; | 240 }; |
| 241 | 241 |
| 242 | 242 |
| 243 } } // namespace v8::internal | 243 } } // namespace v8::internal |
| 244 | 244 |
| 245 #endif // V8_LOOKUP_H_ | 245 #endif // V8_LOOKUP_H_ |
| OLD | NEW |