Chromium Code Reviews| 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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 136 } | 136 } |
| 137 PropertyEncoding property_encoding() const { | 137 PropertyEncoding property_encoding() const { |
| 138 DCHECK(has_property_); | 138 DCHECK(has_property_); |
| 139 return property_encoding_; | 139 return property_encoding_; |
| 140 } | 140 } |
| 141 PropertyDetails property_details() const { | 141 PropertyDetails property_details() const { |
| 142 DCHECK(has_property_); | 142 DCHECK(has_property_); |
| 143 return property_details_; | 143 return property_details_; |
| 144 } | 144 } |
| 145 bool IsConfigurable() const { return !property_details().IsDontDelete(); } | 145 bool IsConfigurable() const { return !property_details().IsDontDelete(); } |
| 146 bool IsReadOnly() const { return property_details().IsReadOnly(); } | |
|
Jakob Kummerow
2014/08/18 15:00:18
Yeah, I'm adding that accessor in my work-in-progr
| |
| 146 Representation representation() const { | 147 Representation representation() const { |
| 147 return property_details().representation(); | 148 return property_details().representation(); |
| 148 } | 149 } |
| 149 FieldIndex GetFieldIndex() const; | 150 FieldIndex GetFieldIndex() const; |
| 150 int GetConstantIndex() const; | 151 int GetConstantIndex() const; |
| 151 Handle<PropertyCell> GetPropertyCell() const; | 152 Handle<PropertyCell> GetPropertyCell() const; |
| 152 Handle<Object> GetAccessors() const; | 153 Handle<Object> GetAccessors() const; |
| 153 Handle<Object> GetDataValue() const; | 154 Handle<Object> GetDataValue() const; |
| 154 void WriteDataValue(Handle<Object> value); | 155 void WriteDataValue(Handle<Object> value); |
| 155 | 156 |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 217 MaybeHandle<Object> maybe_receiver_; | 218 MaybeHandle<Object> maybe_receiver_; |
| 218 MaybeHandle<JSReceiver> maybe_holder_; | 219 MaybeHandle<JSReceiver> maybe_holder_; |
| 219 | 220 |
| 220 int number_; | 221 int number_; |
| 221 }; | 222 }; |
| 222 | 223 |
| 223 | 224 |
| 224 } } // namespace v8::internal | 225 } } // namespace v8::internal |
| 225 | 226 |
| 226 #endif // V8_LOOKUP_H_ | 227 #endif // V8_LOOKUP_H_ |
| OLD | NEW |