| 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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 131     return property_details().representation(); | 131     return property_details().representation(); | 
| 132   } | 132   } | 
| 133   FieldIndex GetFieldIndex() const; | 133   FieldIndex GetFieldIndex() const; | 
| 134   Handle<HeapType> GetFieldType() const; | 134   Handle<HeapType> GetFieldType() const; | 
| 135   int GetConstantIndex() const; | 135   int GetConstantIndex() const; | 
| 136   Handle<PropertyCell> GetPropertyCell() const; | 136   Handle<PropertyCell> GetPropertyCell() const; | 
| 137   Handle<Object> GetAccessors() const; | 137   Handle<Object> GetAccessors() const; | 
| 138   Handle<Object> GetDataValue() const; | 138   Handle<Object> GetDataValue() const; | 
| 139   void WriteDataValue(Handle<Object> value); | 139   void WriteDataValue(Handle<Object> value); | 
| 140 | 140 | 
|  | 141   // Checks whether the receiver is an indexed exotic object | 
|  | 142   // and name is a special numeric index. | 
|  | 143   bool IsSpecialNumericIndex() const; | 
|  | 144 | 
| 141   void InternalizeName(); | 145   void InternalizeName(); | 
| 142 | 146 | 
| 143  private: | 147  private: | 
| 144   Handle<Map> GetReceiverMap() const; | 148   Handle<Map> GetReceiverMap() const; | 
| 145 | 149 | 
| 146   MUST_USE_RESULT inline JSReceiver* NextHolder(Map* map); | 150   MUST_USE_RESULT inline JSReceiver* NextHolder(Map* map); | 
| 147   inline State LookupInHolder(Map* map, JSReceiver* holder); | 151   inline State LookupInHolder(Map* map, JSReceiver* holder); | 
| 148   Handle<Object> FetchValue() const; | 152   Handle<Object> FetchValue() const; | 
| 149   void ReloadPropertyInformation(); | 153   void ReloadPropertyInformation(); | 
| 150 | 154 | 
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 190   Handle<Object> receiver_; | 194   Handle<Object> receiver_; | 
| 191   Handle<JSReceiver> holder_; | 195   Handle<JSReceiver> holder_; | 
| 192 | 196 | 
| 193   int number_; | 197   int number_; | 
| 194 }; | 198 }; | 
| 195 | 199 | 
| 196 | 200 | 
| 197 } }  // namespace v8::internal | 201 } }  // namespace v8::internal | 
| 198 | 202 | 
| 199 #endif  // V8_LOOKUP_H_ | 203 #endif  // V8_LOOKUP_H_ | 
| OLD | NEW | 
|---|