| 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 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 215 (!transition_map()->is_dictionary_map() && | 215 (!transition_map()->is_dictionary_map() && |
| 216 transition_map()->GetBackPointer()->IsMap()); | 216 transition_map()->GetBackPointer()->IsMap()); |
| 217 } | 217 } |
| 218 void ApplyTransitionToDataProperty(); | 218 void ApplyTransitionToDataProperty(); |
| 219 void ReconfigureDataProperty(Handle<Object> value, | 219 void ReconfigureDataProperty(Handle<Object> value, |
| 220 PropertyAttributes attributes); | 220 PropertyAttributes attributes); |
| 221 void Delete(); | 221 void Delete(); |
| 222 void TransitionToAccessorProperty(AccessorComponent component, | 222 void TransitionToAccessorProperty(AccessorComponent component, |
| 223 Handle<Object> accessor, | 223 Handle<Object> accessor, |
| 224 PropertyAttributes attributes); | 224 PropertyAttributes attributes); |
| 225 void TransitionToAccessorPair(Handle<Object> pair, |
| 226 PropertyAttributes attributes); |
| 225 PropertyDetails property_details() const { | 227 PropertyDetails property_details() const { |
| 226 DCHECK(has_property_); | 228 DCHECK(has_property_); |
| 227 return property_details_; | 229 return property_details_; |
| 228 } | 230 } |
| 229 bool IsConfigurable() const { return property_details().IsConfigurable(); } | 231 bool IsConfigurable() const { return property_details().IsConfigurable(); } |
| 230 bool IsReadOnly() const { return property_details().IsReadOnly(); } | 232 bool IsReadOnly() const { return property_details().IsReadOnly(); } |
| 231 Representation representation() const { | 233 Representation representation() const { |
| 232 return property_details().representation(); | 234 return property_details().representation(); |
| 233 } | 235 } |
| 234 FieldIndex GetFieldIndex() const; | 236 FieldIndex GetFieldIndex() const; |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 310 Handle<JSReceiver> holder_; | 312 Handle<JSReceiver> holder_; |
| 311 Handle<Map> holder_map_; | 313 Handle<Map> holder_map_; |
| 312 const Handle<JSReceiver> initial_holder_; | 314 const Handle<JSReceiver> initial_holder_; |
| 313 uint32_t number_; | 315 uint32_t number_; |
| 314 }; | 316 }; |
| 315 | 317 |
| 316 | 318 |
| 317 } } // namespace v8::internal | 319 } } // namespace v8::internal |
| 318 | 320 |
| 319 #endif // V8_LOOKUP_H_ | 321 #endif // V8_LOOKUP_H_ |
| OLD | NEW |