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 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
232 FieldIndex GetFieldIndex() const; | 232 FieldIndex GetFieldIndex() const; |
233 Handle<HeapType> GetFieldType() const; | 233 Handle<HeapType> GetFieldType() const; |
234 int GetAccessorIndex() const; | 234 int GetAccessorIndex() const; |
235 int GetConstantIndex() const; | 235 int GetConstantIndex() const; |
236 Handle<PropertyCell> GetPropertyCell() const; | 236 Handle<PropertyCell> GetPropertyCell() const; |
237 Handle<Object> GetAccessors() const; | 237 Handle<Object> GetAccessors() const; |
238 Handle<InterceptorInfo> GetInterceptor() const; | 238 Handle<InterceptorInfo> GetInterceptor() const; |
239 Handle<Object> GetDataValue() const; | 239 Handle<Object> GetDataValue() const; |
240 void WriteDataValue(Handle<Object> value); | 240 void WriteDataValue(Handle<Object> value); |
241 void InternalizeName(); | 241 void InternalizeName(); |
| 242 void ReloadHolderMap(); |
242 | 243 |
243 private: | 244 private: |
244 enum class InterceptorState { | 245 enum class InterceptorState { |
245 kUninitialized, | 246 kUninitialized, |
246 kSkipNonMasking, | 247 kSkipNonMasking, |
247 kProcessNonMasking | 248 kProcessNonMasking |
248 }; | 249 }; |
249 | 250 |
250 Handle<Map> GetReceiverMap() const; | 251 Handle<Map> GetReceiverMap() const; |
251 | 252 |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
307 Handle<JSReceiver> holder_; | 308 Handle<JSReceiver> holder_; |
308 Handle<Map> holder_map_; | 309 Handle<Map> holder_map_; |
309 const Handle<JSReceiver> initial_holder_; | 310 const Handle<JSReceiver> initial_holder_; |
310 uint32_t number_; | 311 uint32_t number_; |
311 }; | 312 }; |
312 | 313 |
313 | 314 |
314 } } // namespace v8::internal | 315 } } // namespace v8::internal |
315 | 316 |
316 #endif // V8_LOOKUP_H_ | 317 #endif // V8_LOOKUP_H_ |
OLD | NEW |