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 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
181 bool IsReadOnly() const { return property_details().IsReadOnly(); } | 181 bool IsReadOnly() const { return property_details().IsReadOnly(); } |
182 Representation representation() const { | 182 Representation representation() const { |
183 return property_details().representation(); | 183 return property_details().representation(); |
184 } | 184 } |
185 FieldIndex GetFieldIndex() const; | 185 FieldIndex GetFieldIndex() const; |
186 Handle<HeapType> GetFieldType() const; | 186 Handle<HeapType> GetFieldType() const; |
187 int GetAccessorIndex() const; | 187 int GetAccessorIndex() const; |
188 int GetConstantIndex() const; | 188 int GetConstantIndex() const; |
189 Handle<PropertyCell> GetPropertyCell() const; | 189 Handle<PropertyCell> GetPropertyCell() const; |
190 Handle<Object> GetAccessors() const; | 190 Handle<Object> GetAccessors() const; |
| 191 Handle<InterceptorInfo> GetInterceptor() const; |
191 Handle<Object> GetDataValue() const; | 192 Handle<Object> GetDataValue() const; |
192 // Usually returns the value that was passed in, but may perform | 193 // Usually returns the value that was passed in, but may perform |
193 // non-observable modifications on it, such as internalize strings. | 194 // non-observable modifications on it, such as internalize strings. |
194 void WriteDataValue(Handle<Object> value); | 195 void WriteDataValue(Handle<Object> value); |
195 void InternalizeName(); | 196 void InternalizeName(); |
196 | 197 |
197 private: | 198 private: |
198 enum class InterceptorState { | 199 enum class InterceptorState { |
199 kUninitialized, | 200 kUninitialized, |
200 kSkipNonMasking, | 201 kSkipNonMasking, |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
261 Handle<JSReceiver> holder_; | 262 Handle<JSReceiver> holder_; |
262 Handle<Map> holder_map_; | 263 Handle<Map> holder_map_; |
263 const Handle<JSReceiver> initial_holder_; | 264 const Handle<JSReceiver> initial_holder_; |
264 uint32_t number_; | 265 uint32_t number_; |
265 }; | 266 }; |
266 | 267 |
267 | 268 |
268 } } // namespace v8::internal | 269 } } // namespace v8::internal |
269 | 270 |
270 #endif // V8_LOOKUP_H_ | 271 #endif // V8_LOOKUP_H_ |
OLD | NEW |