| 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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 125     DCHECK(has_property_); | 125     DCHECK(has_property_); | 
| 126     return property_details_; | 126     return property_details_; | 
| 127   } | 127   } | 
| 128   bool IsConfigurable() const { return property_details().IsConfigurable(); } | 128   bool IsConfigurable() const { return property_details().IsConfigurable(); } | 
| 129   bool IsReadOnly() const { return property_details().IsReadOnly(); } | 129   bool IsReadOnly() const { return property_details().IsReadOnly(); } | 
| 130   Representation representation() const { | 130   Representation representation() const { | 
| 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 GetAccessorIndex() const; | 
| 135   int GetConstantIndex() const; | 136   int GetConstantIndex() const; | 
| 136   Handle<PropertyCell> GetPropertyCell() const; | 137   Handle<PropertyCell> GetPropertyCell() const; | 
| 137   Handle<Object> GetAccessors() const; | 138   Handle<Object> GetAccessors() const; | 
| 138   Handle<Object> GetDataValue() const; | 139   Handle<Object> GetDataValue() const; | 
| 139   // Usually returns the value that was passed in, but may perform | 140   // Usually returns the value that was passed in, but may perform | 
| 140   // non-observable modifications on it, such as internalize strings. | 141   // non-observable modifications on it, such as internalize strings. | 
| 141   Handle<Object> WriteDataValue(Handle<Object> value); | 142   Handle<Object> WriteDataValue(Handle<Object> value); | 
| 142 | 143 | 
| 143   // Checks whether the receiver is an indexed exotic object | 144   // Checks whether the receiver is an indexed exotic object | 
| 144   // and name is a special numeric index. | 145   // and name is a special numeric index. | 
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 197   Handle<Object> receiver_; | 198   Handle<Object> receiver_; | 
| 198   Handle<JSReceiver> holder_; | 199   Handle<JSReceiver> holder_; | 
| 199 | 200 | 
| 200   int number_; | 201   int number_; | 
| 201 }; | 202 }; | 
| 202 | 203 | 
| 203 | 204 | 
| 204 } }  // namespace v8::internal | 205 } }  // namespace v8::internal | 
| 205 | 206 | 
| 206 #endif  // V8_LOOKUP_H_ | 207 #endif  // V8_LOOKUP_H_ | 
| OLD | NEW | 
|---|