| 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 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 236 PropertyDetails property_details() const { | 236 PropertyDetails property_details() const { |
| 237 DCHECK(has_property_); | 237 DCHECK(has_property_); |
| 238 return property_details_; | 238 return property_details_; |
| 239 } | 239 } |
| 240 bool IsConfigurable() const { return property_details().IsConfigurable(); } | 240 bool IsConfigurable() const { return property_details().IsConfigurable(); } |
| 241 bool IsReadOnly() const { return property_details().IsReadOnly(); } | 241 bool IsReadOnly() const { return property_details().IsReadOnly(); } |
| 242 Representation representation() const { | 242 Representation representation() const { |
| 243 return property_details().representation(); | 243 return property_details().representation(); |
| 244 } | 244 } |
| 245 FieldIndex GetFieldIndex() const; | 245 FieldIndex GetFieldIndex() const; |
| 246 Handle<HeapType> GetFieldType() const; | 246 Handle<FieldType> GetFieldType() const; |
| 247 int GetAccessorIndex() const; | 247 int GetAccessorIndex() const; |
| 248 int GetConstantIndex() const; | 248 int GetConstantIndex() const; |
| 249 Handle<PropertyCell> GetPropertyCell() const; | 249 Handle<PropertyCell> GetPropertyCell() const; |
| 250 Handle<Object> GetAccessors() const; | 250 Handle<Object> GetAccessors() const; |
| 251 inline Handle<InterceptorInfo> GetInterceptor() const { | 251 inline Handle<InterceptorInfo> GetInterceptor() const { |
| 252 DCHECK_EQ(INTERCEPTOR, state_); | 252 DCHECK_EQ(INTERCEPTOR, state_); |
| 253 return handle(GetInterceptor(JSObject::cast(*holder_)), isolate_); | 253 return handle(GetInterceptor(JSObject::cast(*holder_)), isolate_); |
| 254 } | 254 } |
| 255 Handle<Object> GetDataValue() const; | 255 Handle<Object> GetDataValue() const; |
| 256 void WriteDataValue(Handle<Object> value); | 256 void WriteDataValue(Handle<Object> value); |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 337 Handle<Map> holder_map_; | 337 Handle<Map> holder_map_; |
| 338 const Handle<JSReceiver> initial_holder_; | 338 const Handle<JSReceiver> initial_holder_; |
| 339 uint32_t number_; | 339 uint32_t number_; |
| 340 }; | 340 }; |
| 341 | 341 |
| 342 | 342 |
| 343 } // namespace internal | 343 } // namespace internal |
| 344 } // namespace v8 | 344 } // namespace v8 |
| 345 | 345 |
| 346 #endif // V8_LOOKUP_H_ | 346 #endif // V8_LOOKUP_H_ |
| OLD | NEW |