| 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 159 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  170   } |  170   } | 
|  171   int dictionary_entry() const { |  171   int dictionary_entry() const { | 
|  172     DCHECK(has_property_); |  172     DCHECK(has_property_); | 
|  173     DCHECK(holder_map_->is_dictionary_map()); |  173     DCHECK(holder_map_->is_dictionary_map()); | 
|  174     return number_; |  174     return number_; | 
|  175   } |  175   } | 
|  176  |  176  | 
|  177   static Configuration ComputeConfiguration( |  177   static Configuration ComputeConfiguration( | 
|  178       Configuration configuration, Handle<Name> name) { |  178       Configuration configuration, Handle<Name> name) { | 
|  179     if (name->IsOwn()) { |  179     if (name->IsOwn()) { | 
|  180       return static_cast<Configuration>(configuration & HIDDEN); |  180       return static_cast<Configuration>(configuration & | 
 |  181                                         HIDDEN_SKIP_INTERCEPTOR); | 
|  181     } else { |  182     } else { | 
|  182       return configuration; |  183       return configuration; | 
|  183     } |  184     } | 
|  184   } |  185   } | 
|  185  |  186  | 
|  186   // If configuration_ becomes mutable, update |  187   // If configuration_ becomes mutable, update | 
|  187   // HolderIsReceiverOrHiddenPrototype. |  188   // HolderIsReceiverOrHiddenPrototype. | 
|  188   Configuration configuration_; |  189   Configuration configuration_; | 
|  189   State state_; |  190   State state_; | 
|  190   bool has_property_; |  191   bool has_property_; | 
|  191   PropertyDetails property_details_; |  192   PropertyDetails property_details_; | 
|  192   Isolate* isolate_; |  193   Isolate* isolate_; | 
|  193   Handle<Name> name_; |  194   Handle<Name> name_; | 
|  194   Handle<Map> holder_map_; |  195   Handle<Map> holder_map_; | 
|  195   Handle<Map> transition_map_; |  196   Handle<Map> transition_map_; | 
|  196   Handle<Object> receiver_; |  197   Handle<Object> receiver_; | 
|  197   Handle<JSReceiver> holder_; |  198   Handle<JSReceiver> holder_; | 
|  198  |  199  | 
|  199   int number_; |  200   int number_; | 
|  200 }; |  201 }; | 
|  201  |  202  | 
|  202  |  203  | 
|  203 } }  // namespace v8::internal |  204 } }  // namespace v8::internal | 
|  204  |  205  | 
|  205 #endif  // V8_LOOKUP_H_ |  206 #endif  // V8_LOOKUP_H_ | 
| OLD | NEW |