| 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" |
| (...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 270 return number_; | 270 return number_; |
| 271 } | 271 } |
| 272 int dictionary_entry() const { | 272 int dictionary_entry() const { |
| 273 DCHECK(has_property_); | 273 DCHECK(has_property_); |
| 274 DCHECK(holder_map_->is_dictionary_map()); | 274 DCHECK(holder_map_->is_dictionary_map()); |
| 275 return number_; | 275 return number_; |
| 276 } | 276 } |
| 277 | 277 |
| 278 static Configuration ComputeConfiguration( | 278 static Configuration ComputeConfiguration( |
| 279 Configuration configuration, Handle<Name> name) { | 279 Configuration configuration, Handle<Name> name) { |
| 280 if (name->IsOwn()) { | 280 if (name->IsPrivate()) { |
| 281 return static_cast<Configuration>(configuration & | 281 return static_cast<Configuration>(configuration & |
| 282 HIDDEN_SKIP_INTERCEPTOR); | 282 HIDDEN_SKIP_INTERCEPTOR); |
| 283 } else { | 283 } else { |
| 284 return configuration; | 284 return configuration; |
| 285 } | 285 } |
| 286 } | 286 } |
| 287 | 287 |
| 288 enum class ExoticIndexState { kUninitialized, kNotExotic, kExotic }; | 288 enum class ExoticIndexState { kUninitialized, kNotExotic, kExotic }; |
| 289 bool IsIntegerIndexedExotic(JSReceiver* holder); | 289 bool IsIntegerIndexedExotic(JSReceiver* holder); |
| 290 | 290 |
| (...skipping 13 matching lines...) Expand all Loading... |
| 304 Handle<JSReceiver> holder_; | 304 Handle<JSReceiver> holder_; |
| 305 Handle<Map> holder_map_; | 305 Handle<Map> holder_map_; |
| 306 const Handle<JSReceiver> initial_holder_; | 306 const Handle<JSReceiver> initial_holder_; |
| 307 uint32_t number_; | 307 uint32_t number_; |
| 308 }; | 308 }; |
| 309 | 309 |
| 310 | 310 |
| 311 } } // namespace v8::internal | 311 } } // namespace v8::internal |
| 312 | 312 |
| 313 #endif // V8_LOOKUP_H_ | 313 #endif // V8_LOOKUP_H_ |
| OLD | NEW |