| 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 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 146 return property_kind_; | 146 return property_kind_; |
| 147 } | 147 } |
| 148 PropertyEncoding property_encoding() const { | 148 PropertyEncoding property_encoding() const { |
| 149 DCHECK(has_property_); | 149 DCHECK(has_property_); |
| 150 return property_encoding_; | 150 return property_encoding_; |
| 151 } | 151 } |
| 152 PropertyDetails property_details() const { | 152 PropertyDetails property_details() const { |
| 153 DCHECK(has_property_); | 153 DCHECK(has_property_); |
| 154 return property_details_; | 154 return property_details_; |
| 155 } | 155 } |
| 156 bool IsConfigurable() const { return !property_details().IsDontDelete(); } | 156 bool IsConfigurable() const { return property_details().IsConfigurable(); } |
| 157 bool IsReadOnly() const { return property_details().IsReadOnly(); } | 157 bool IsReadOnly() const { return property_details().IsReadOnly(); } |
| 158 Representation representation() const { | 158 Representation representation() const { |
| 159 return property_details().representation(); | 159 return property_details().representation(); |
| 160 } | 160 } |
| 161 FieldIndex GetFieldIndex() const; | 161 FieldIndex GetFieldIndex() const; |
| 162 int GetConstantIndex() const; | 162 int GetConstantIndex() const; |
| 163 Handle<PropertyCell> GetPropertyCell() const; | 163 Handle<PropertyCell> GetPropertyCell() const; |
| 164 Handle<Object> GetAccessors() const; | 164 Handle<Object> GetAccessors() const; |
| 165 Handle<Object> GetDataValue() const; | 165 Handle<Object> GetDataValue() const; |
| 166 void WriteDataValue(Handle<Object> value); | 166 void WriteDataValue(Handle<Object> value); |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 230 MaybeHandle<Object> maybe_receiver_; | 230 MaybeHandle<Object> maybe_receiver_; |
| 231 MaybeHandle<JSReceiver> maybe_holder_; | 231 MaybeHandle<JSReceiver> maybe_holder_; |
| 232 | 232 |
| 233 int number_; | 233 int number_; |
| 234 }; | 234 }; |
| 235 | 235 |
| 236 | 236 |
| 237 } } // namespace v8::internal | 237 } } // namespace v8::internal |
| 238 | 238 |
| 239 #endif // V8_LOOKUP_H_ | 239 #endif // V8_LOOKUP_H_ |
| OLD | NEW |