| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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_PROPERTY_DETAILS_H_ | 5 #ifndef V8_PROPERTY_DETAILS_H_ |
| 6 #define V8_PROPERTY_DETAILS_H_ | 6 #define V8_PROPERTY_DETAILS_H_ |
| 7 | 7 |
| 8 #include "../include/v8.h" | 8 #include "include/v8.h" |
| 9 #include "allocation.h" | 9 #include "src/allocation.h" |
| 10 #include "utils.h" | 10 #include "src/utils.h" |
| 11 | 11 |
| 12 // Ecma-262 3rd 8.6.1 | 12 // Ecma-262 3rd 8.6.1 |
| 13 enum PropertyAttributes { | 13 enum PropertyAttributes { |
| 14 NONE = v8::None, | 14 NONE = v8::None, |
| 15 READ_ONLY = v8::ReadOnly, | 15 READ_ONLY = v8::ReadOnly, |
| 16 DONT_ENUM = v8::DontEnum, | 16 DONT_ENUM = v8::DontEnum, |
| 17 DONT_DELETE = v8::DontDelete, | 17 DONT_DELETE = v8::DontDelete, |
| 18 | 18 |
| 19 SEALED = DONT_DELETE, | 19 SEALED = DONT_DELETE, |
| 20 FROZEN = SEALED | READ_ONLY, | 20 FROZEN = SEALED | READ_ONLY, |
| (...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 298 PropertyDetails(int value, PropertyAttributes attributes) { | 298 PropertyDetails(int value, PropertyAttributes attributes) { |
| 299 value_ = AttributesField::update(value, attributes); | 299 value_ = AttributesField::update(value, attributes); |
| 300 } | 300 } |
| 301 | 301 |
| 302 uint32_t value_; | 302 uint32_t value_; |
| 303 }; | 303 }; |
| 304 | 304 |
| 305 } } // namespace v8::internal | 305 } } // namespace v8::internal |
| 306 | 306 |
| 307 #endif // V8_PROPERTY_DETAILS_H_ | 307 #endif // V8_PROPERTY_DETAILS_H_ |
| OLD | NEW |