rossberg@chromium.org | 994edf6 | 2012-02-06 10:12:55 +0000 | [diff] [blame] | 1 | // Copyright 2012 the V8 project authors. All rights reserved. |
danno@chromium.org | c612e02 | 2011-11-10 11:38:15 +0000 | [diff] [blame] | 2 | // Redistribution and use in source and binary forms, with or without |
| 3 | // modification, are permitted provided that the following conditions are |
| 4 | // met: |
| 5 | // |
| 6 | // * Redistributions of source code must retain the above copyright |
| 7 | // notice, this list of conditions and the following disclaimer. |
| 8 | // * Redistributions in binary form must reproduce the above |
| 9 | // copyright notice, this list of conditions and the following |
| 10 | // disclaimer in the documentation and/or other materials provided |
| 11 | // with the distribution. |
| 12 | // * Neither the name of Google Inc. nor the names of its |
| 13 | // contributors may be used to endorse or promote products derived |
| 14 | // from this software without specific prior written permission. |
| 15 | // |
| 16 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
| 17 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
| 18 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
| 19 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
| 20 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
| 21 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
| 22 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 23 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 24 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 25 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 26 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 27 | |
| 28 | #ifndef V8_PROPERTY_DETAILS_H_ |
| 29 | #define V8_PROPERTY_DETAILS_H_ |
| 30 | |
| 31 | #include "../include/v8.h" |
| 32 | #include "allocation.h" |
| 33 | #include "utils.h" |
| 34 | |
| 35 | // Ecma-262 3rd 8.6.1 |
| 36 | enum PropertyAttributes { |
| 37 | NONE = v8::None, |
| 38 | READ_ONLY = v8::ReadOnly, |
| 39 | DONT_ENUM = v8::DontEnum, |
| 40 | DONT_DELETE = v8::DontDelete, |
ulan@chromium.org | 8e8d882 | 2012-11-23 14:36:46 +0000 | [diff] [blame] | 41 | |
svenpanne@chromium.org | a53e8e0 | 2013-05-24 12:35:50 +0000 | [diff] [blame] | 42 | SEALED = DONT_DELETE, |
ulan@chromium.org | 8e8d882 | 2012-11-23 14:36:46 +0000 | [diff] [blame] | 43 | FROZEN = SEALED | READ_ONLY, |
| 44 | |
ulan@chromium.org | 750145a | 2013-03-07 15:14:13 +0000 | [diff] [blame] | 45 | SYMBOLIC = 8, // Used to filter symbol names |
| 46 | DONT_SHOW = DONT_ENUM | SYMBOLIC, |
danno@chromium.org | c612e02 | 2011-11-10 11:38:15 +0000 | [diff] [blame] | 47 | ABSENT = 16 // Used in runtime to indicate a property is absent. |
| 48 | // ABSENT can never be stored in or returned from a descriptor's attributes |
| 49 | // bitfield. It is only used as a return value meaning the attributes of |
| 50 | // a non-existent property. |
| 51 | }; |
| 52 | |
| 53 | |
| 54 | namespace v8 { |
| 55 | namespace internal { |
| 56 | |
| 57 | class Smi; |
mstarzinger@chromium.org | e0e1b0d | 2013-07-08 08:38:06 +0000 | [diff] [blame] | 58 | class Type; |
| 59 | class TypeInfo; |
danno@chromium.org | c612e02 | 2011-11-10 11:38:15 +0000 | [diff] [blame] | 60 | |
| 61 | // Type of properties. |
| 62 | // Order of properties is significant. |
| 63 | // Must fit in the BitField PropertyDetails::TypeField. |
| 64 | // A copy of this is in mirror-debugger.js. |
| 65 | enum PropertyType { |
yangguo@chromium.org | 99aa490 | 2012-07-06 16:21:55 +0000 | [diff] [blame] | 66 | // Only in slow mode. |
| 67 | NORMAL = 0, |
| 68 | // Only in fast mode. |
| 69 | FIELD = 1, |
jkummerow@chromium.org | fb732b1 | 2013-07-26 10:27:09 +0000 | [diff] [blame] | 70 | CONSTANT = 2, |
danno@chromium.org | c612e02 | 2011-11-10 11:38:15 +0000 | [diff] [blame] | 71 | CALLBACKS = 3, |
yangguo@chromium.org | 99aa490 | 2012-07-06 16:21:55 +0000 | [diff] [blame] | 72 | // Only in lookup results, not in descriptors. |
| 73 | HANDLER = 4, |
| 74 | INTERCEPTOR = 5, |
| 75 | TRANSITION = 6, |
jkummerow@chromium.org | 7a6fc81 | 2012-06-27 11:12:38 +0000 | [diff] [blame] | 76 | // Only used as a marker in LookupResult. |
yangguo@chromium.org | 99aa490 | 2012-07-06 16:21:55 +0000 | [diff] [blame] | 77 | NONEXISTENT = 7 |
danno@chromium.org | c612e02 | 2011-11-10 11:38:15 +0000 | [diff] [blame] | 78 | }; |
| 79 | |
| 80 | |
danno@chromium.org | f005df6 | 2013-04-30 16:36:45 +0000 | [diff] [blame] | 81 | class Representation { |
| 82 | public: |
| 83 | enum Kind { |
| 84 | kNone, |
machenbach@chromium.org | 935a779 | 2013-11-12 09:05:18 +0000 | [diff] [blame] | 85 | kInteger8, |
| 86 | kUInteger8, |
| 87 | kInteger16, |
| 88 | kUInteger16, |
danno@chromium.org | f005df6 | 2013-04-30 16:36:45 +0000 | [diff] [blame] | 89 | kSmi, |
| 90 | kInteger32, |
| 91 | kDouble, |
ulan@chromium.org | 906e2fb | 2013-05-14 08:14:38 +0000 | [diff] [blame] | 92 | kHeapObject, |
danno@chromium.org | f005df6 | 2013-04-30 16:36:45 +0000 | [diff] [blame] | 93 | kTagged, |
| 94 | kExternal, |
| 95 | kNumRepresentations |
| 96 | }; |
| 97 | |
| 98 | Representation() : kind_(kNone) { } |
| 99 | |
| 100 | static Representation None() { return Representation(kNone); } |
| 101 | static Representation Tagged() { return Representation(kTagged); } |
machenbach@chromium.org | 935a779 | 2013-11-12 09:05:18 +0000 | [diff] [blame] | 102 | static Representation Integer8() { return Representation(kInteger8); } |
| 103 | static Representation UInteger8() { return Representation(kUInteger8); } |
| 104 | static Representation Integer16() { return Representation(kInteger16); } |
| 105 | static Representation UInteger16() { |
| 106 | return Representation(kUInteger16); |
| 107 | } |
danno@chromium.org | f005df6 | 2013-04-30 16:36:45 +0000 | [diff] [blame] | 108 | static Representation Smi() { return Representation(kSmi); } |
| 109 | static Representation Integer32() { return Representation(kInteger32); } |
| 110 | static Representation Double() { return Representation(kDouble); } |
ulan@chromium.org | 906e2fb | 2013-05-14 08:14:38 +0000 | [diff] [blame] | 111 | static Representation HeapObject() { return Representation(kHeapObject); } |
danno@chromium.org | f005df6 | 2013-04-30 16:36:45 +0000 | [diff] [blame] | 112 | static Representation External() { return Representation(kExternal); } |
| 113 | |
| 114 | static Representation FromKind(Kind kind) { return Representation(kind); } |
| 115 | |
mstarzinger@chromium.org | e0e1b0d | 2013-07-08 08:38:06 +0000 | [diff] [blame] | 116 | // TODO(rossberg): this should die eventually. |
| 117 | static Representation FromType(TypeInfo info); |
| 118 | static Representation FromType(Handle<Type> type); |
| 119 | |
ulan@chromium.org | 57ff881 | 2013-05-10 08:16:55 +0000 | [diff] [blame] | 120 | bool Equals(const Representation& other) const { |
danno@chromium.org | f005df6 | 2013-04-30 16:36:45 +0000 | [diff] [blame] | 121 | return kind_ == other.kind_; |
| 122 | } |
| 123 | |
ulan@chromium.org | 57ff881 | 2013-05-10 08:16:55 +0000 | [diff] [blame] | 124 | bool IsCompatibleForLoad(const Representation& other) const { |
| 125 | return (IsDouble() && other.IsDouble()) || |
| 126 | (!IsDouble() && !other.IsDouble()); |
| 127 | } |
| 128 | |
dslomov@chromium.org | b752d40 | 2013-06-18 11:54:54 +0000 | [diff] [blame] | 129 | bool IsCompatibleForStore(const Representation& other) const { |
| 130 | return Equals(other); |
| 131 | } |
| 132 | |
ulan@chromium.org | 57ff881 | 2013-05-10 08:16:55 +0000 | [diff] [blame] | 133 | bool is_more_general_than(const Representation& other) const { |
danno@chromium.org | f005df6 | 2013-04-30 16:36:45 +0000 | [diff] [blame] | 134 | ASSERT(kind_ != kExternal); |
| 135 | ASSERT(other.kind_ != kExternal); |
danno@chromium.org | 1fd77d5 | 2013-06-07 16:01:45 +0000 | [diff] [blame] | 136 | if (IsHeapObject()) return other.IsDouble() || other.IsNone(); |
machenbach@chromium.org | 935a779 | 2013-11-12 09:05:18 +0000 | [diff] [blame] | 137 | if (kind_ == kUInteger8 && other.kind_ == kInteger8) return false; |
| 138 | if (kind_ == kUInteger16 && other.kind_ == kInteger16) return false; |
danno@chromium.org | f005df6 | 2013-04-30 16:36:45 +0000 | [diff] [blame] | 139 | return kind_ > other.kind_; |
| 140 | } |
| 141 | |
ulan@chromium.org | 57ff881 | 2013-05-10 08:16:55 +0000 | [diff] [blame] | 142 | bool fits_into(const Representation& other) const { |
| 143 | return other.is_more_general_than(*this) || other.Equals(*this); |
| 144 | } |
| 145 | |
danno@chromium.org | f005df6 | 2013-04-30 16:36:45 +0000 | [diff] [blame] | 146 | Representation generalize(Representation other) { |
ulan@chromium.org | 906e2fb | 2013-05-14 08:14:38 +0000 | [diff] [blame] | 147 | if (other.fits_into(*this)) return *this; |
| 148 | if (other.is_more_general_than(*this)) return other; |
| 149 | return Representation::Tagged(); |
danno@chromium.org | f005df6 | 2013-04-30 16:36:45 +0000 | [diff] [blame] | 150 | } |
| 151 | |
machenbach@chromium.org | 935a779 | 2013-11-12 09:05:18 +0000 | [diff] [blame] | 152 | int size() const { |
| 153 | ASSERT(!IsNone()); |
| 154 | if (IsInteger8() || IsUInteger8()) { |
| 155 | return sizeof(uint8_t); |
| 156 | } |
| 157 | if (IsInteger16() || IsUInteger16()) { |
| 158 | return sizeof(uint16_t); |
| 159 | } |
| 160 | if (IsInteger32()) { |
| 161 | return sizeof(uint32_t); |
| 162 | } |
| 163 | return kPointerSize; |
| 164 | } |
| 165 | |
danno@chromium.org | f005df6 | 2013-04-30 16:36:45 +0000 | [diff] [blame] | 166 | Kind kind() const { return static_cast<Kind>(kind_); } |
| 167 | bool IsNone() const { return kind_ == kNone; } |
machenbach@chromium.org | 935a779 | 2013-11-12 09:05:18 +0000 | [diff] [blame] | 168 | bool IsInteger8() const { return kind_ == kInteger8; } |
| 169 | bool IsUInteger8() const { return kind_ == kUInteger8; } |
| 170 | bool IsInteger16() const { return kind_ == kInteger16; } |
| 171 | bool IsUInteger16() const { return kind_ == kUInteger16; } |
danno@chromium.org | f005df6 | 2013-04-30 16:36:45 +0000 | [diff] [blame] | 172 | bool IsTagged() const { return kind_ == kTagged; } |
| 173 | bool IsSmi() const { return kind_ == kSmi; } |
svenpanne@chromium.org | a53e8e0 | 2013-05-24 12:35:50 +0000 | [diff] [blame] | 174 | bool IsSmiOrTagged() const { return IsSmi() || IsTagged(); } |
danno@chromium.org | f005df6 | 2013-04-30 16:36:45 +0000 | [diff] [blame] | 175 | bool IsInteger32() const { return kind_ == kInteger32; } |
svenpanne@chromium.org | 53ad175 | 2013-05-27 12:20:38 +0000 | [diff] [blame] | 176 | bool IsSmiOrInteger32() const { return IsSmi() || IsInteger32(); } |
danno@chromium.org | f005df6 | 2013-04-30 16:36:45 +0000 | [diff] [blame] | 177 | bool IsDouble() const { return kind_ == kDouble; } |
ulan@chromium.org | 906e2fb | 2013-05-14 08:14:38 +0000 | [diff] [blame] | 178 | bool IsHeapObject() const { return kind_ == kHeapObject; } |
danno@chromium.org | f005df6 | 2013-04-30 16:36:45 +0000 | [diff] [blame] | 179 | bool IsExternal() const { return kind_ == kExternal; } |
| 180 | bool IsSpecialization() const { |
machenbach@chromium.org | 935a779 | 2013-11-12 09:05:18 +0000 | [diff] [blame] | 181 | return IsInteger8() || IsUInteger8() || |
| 182 | IsInteger16() || IsUInteger16() || |
| 183 | IsSmi() || IsInteger32() || IsDouble(); |
danno@chromium.org | f005df6 | 2013-04-30 16:36:45 +0000 | [diff] [blame] | 184 | } |
| 185 | const char* Mnemonic() const; |
| 186 | |
| 187 | private: |
| 188 | explicit Representation(Kind k) : kind_(k) { } |
| 189 | |
| 190 | // Make sure kind fits in int8. |
| 191 | STATIC_ASSERT(kNumRepresentations <= (1 << kBitsPerByte)); |
| 192 | |
| 193 | int8_t kind_; |
| 194 | }; |
| 195 | |
| 196 | |
danno@chromium.org | c612e02 | 2011-11-10 11:38:15 +0000 | [diff] [blame] | 197 | // PropertyDetails captures type and attributes for a property. |
| 198 | // They are used both in property dictionaries and instance descriptors. |
| 199 | class PropertyDetails BASE_EMBEDDED { |
| 200 | public: |
| 201 | PropertyDetails(PropertyAttributes attributes, |
| 202 | PropertyType type, |
ulan@chromium.org | 57ff881 | 2013-05-10 08:16:55 +0000 | [diff] [blame] | 203 | int index) { |
danno@chromium.org | c612e02 | 2011-11-10 11:38:15 +0000 | [diff] [blame] | 204 | value_ = TypeField::encode(type) |
| 205 | | AttributesField::encode(attributes) |
yangguo@chromium.org | 46839fb | 2012-08-28 09:06:19 +0000 | [diff] [blame] | 206 | | DictionaryStorageField::encode(index); |
danno@chromium.org | c612e02 | 2011-11-10 11:38:15 +0000 | [diff] [blame] | 207 | |
| 208 | ASSERT(type == this->type()); |
| 209 | ASSERT(attributes == this->attributes()); |
ulan@chromium.org | 57ff881 | 2013-05-10 08:16:55 +0000 | [diff] [blame] | 210 | } |
| 211 | |
| 212 | PropertyDetails(PropertyAttributes attributes, |
| 213 | PropertyType type, |
rossberg@chromium.org | 79e7902 | 2013-06-03 15:43:46 +0000 | [diff] [blame] | 214 | Representation representation, |
| 215 | int field_index = 0) { |
ulan@chromium.org | 57ff881 | 2013-05-10 08:16:55 +0000 | [diff] [blame] | 216 | value_ = TypeField::encode(type) |
| 217 | | AttributesField::encode(attributes) |
rossberg@chromium.org | 79e7902 | 2013-06-03 15:43:46 +0000 | [diff] [blame] | 218 | | RepresentationField::encode(EncodeRepresentation(representation)) |
| 219 | | FieldIndexField::encode(field_index); |
danno@chromium.org | c612e02 | 2011-11-10 11:38:15 +0000 | [diff] [blame] | 220 | } |
| 221 | |
yangguo@chromium.org | 46839fb | 2012-08-28 09:06:19 +0000 | [diff] [blame] | 222 | int pointer() { return DescriptorPointer::decode(value_); } |
| 223 | |
| 224 | PropertyDetails set_pointer(int i) { return PropertyDetails(value_, i); } |
| 225 | |
danno@chromium.org | f005df6 | 2013-04-30 16:36:45 +0000 | [diff] [blame] | 226 | PropertyDetails CopyWithRepresentation(Representation representation) { |
| 227 | return PropertyDetails(value_, representation); |
| 228 | } |
svenpanne@chromium.org | a53e8e0 | 2013-05-24 12:35:50 +0000 | [diff] [blame] | 229 | PropertyDetails CopyAddAttributes(PropertyAttributes new_attributes) { |
| 230 | new_attributes = |
| 231 | static_cast<PropertyAttributes>(attributes() | new_attributes); |
| 232 | return PropertyDetails(value_, new_attributes); |
| 233 | } |
danno@chromium.org | f005df6 | 2013-04-30 16:36:45 +0000 | [diff] [blame] | 234 | |
danno@chromium.org | c612e02 | 2011-11-10 11:38:15 +0000 | [diff] [blame] | 235 | // Conversion for storing details as Object*. |
| 236 | explicit inline PropertyDetails(Smi* smi); |
| 237 | inline Smi* AsSmi(); |
| 238 | |
danno@chromium.org | f005df6 | 2013-04-30 16:36:45 +0000 | [diff] [blame] | 239 | static uint8_t EncodeRepresentation(Representation representation) { |
ulan@chromium.org | 57ff881 | 2013-05-10 08:16:55 +0000 | [diff] [blame] | 240 | return representation.kind(); |
danno@chromium.org | f005df6 | 2013-04-30 16:36:45 +0000 | [diff] [blame] | 241 | } |
| 242 | |
| 243 | static Representation DecodeRepresentation(uint32_t bits) { |
danno@chromium.org | f005df6 | 2013-04-30 16:36:45 +0000 | [diff] [blame] | 244 | return Representation::FromKind(static_cast<Representation::Kind>(bits)); |
| 245 | } |
| 246 | |
danno@chromium.org | c612e02 | 2011-11-10 11:38:15 +0000 | [diff] [blame] | 247 | PropertyType type() { return TypeField::decode(value_); } |
| 248 | |
jkummerow@chromium.org | c195667 | 2012-10-11 15:57:38 +0000 | [diff] [blame] | 249 | PropertyAttributes attributes() const { |
| 250 | return AttributesField::decode(value_); |
| 251 | } |
danno@chromium.org | c612e02 | 2011-11-10 11:38:15 +0000 | [diff] [blame] | 252 | |
yangguo@chromium.org | 46839fb | 2012-08-28 09:06:19 +0000 | [diff] [blame] | 253 | int dictionary_index() { |
| 254 | return DictionaryStorageField::decode(value_); |
| 255 | } |
| 256 | |
danno@chromium.org | f005df6 | 2013-04-30 16:36:45 +0000 | [diff] [blame] | 257 | Representation representation() { |
danno@chromium.org | 1fd77d5 | 2013-06-07 16:01:45 +0000 | [diff] [blame] | 258 | ASSERT(type() != NORMAL); |
danno@chromium.org | f005df6 | 2013-04-30 16:36:45 +0000 | [diff] [blame] | 259 | return DecodeRepresentation(RepresentationField::decode(value_)); |
| 260 | } |
| 261 | |
rossberg@chromium.org | 79e7902 | 2013-06-03 15:43:46 +0000 | [diff] [blame] | 262 | int field_index() { |
| 263 | return FieldIndexField::decode(value_); |
| 264 | } |
| 265 | |
danno@chromium.org | c612e02 | 2011-11-10 11:38:15 +0000 | [diff] [blame] | 266 | inline PropertyDetails AsDeleted(); |
| 267 | |
| 268 | static bool IsValidIndex(int index) { |
yangguo@chromium.org | 46839fb | 2012-08-28 09:06:19 +0000 | [diff] [blame] | 269 | return DictionaryStorageField::is_valid(index); |
danno@chromium.org | c612e02 | 2011-11-10 11:38:15 +0000 | [diff] [blame] | 270 | } |
| 271 | |
jkummerow@chromium.org | c195667 | 2012-10-11 15:57:38 +0000 | [diff] [blame] | 272 | bool IsReadOnly() const { return (attributes() & READ_ONLY) != 0; } |
| 273 | bool IsDontDelete() const { return (attributes() & DONT_DELETE) != 0; } |
| 274 | bool IsDontEnum() const { return (attributes() & DONT_ENUM) != 0; } |
| 275 | bool IsDeleted() const { return DeletedField::decode(value_) != 0;} |
danno@chromium.org | c612e02 | 2011-11-10 11:38:15 +0000 | [diff] [blame] | 276 | |
| 277 | // Bit fields in value_ (type, shift, size). Must be public so the |
| 278 | // constants can be embedded in generated code. |
yangguo@chromium.org | 46839fb | 2012-08-28 09:06:19 +0000 | [diff] [blame] | 279 | class TypeField: public BitField<PropertyType, 0, 3> {}; |
| 280 | class AttributesField: public BitField<PropertyAttributes, 3, 3> {}; |
rossberg@chromium.org | 79e7902 | 2013-06-03 15:43:46 +0000 | [diff] [blame] | 281 | |
| 282 | // Bit fields for normalized objects. |
yangguo@chromium.org | 46839fb | 2012-08-28 09:06:19 +0000 | [diff] [blame] | 283 | class DeletedField: public BitField<uint32_t, 6, 1> {}; |
| 284 | class DictionaryStorageField: public BitField<uint32_t, 7, 24> {}; |
rossberg@chromium.org | 79e7902 | 2013-06-03 15:43:46 +0000 | [diff] [blame] | 285 | |
| 286 | // Bit fields for fast objects. |
| 287 | class DescriptorPointer: public BitField<uint32_t, 6, 11> {}; |
machenbach@chromium.org | 935a779 | 2013-11-12 09:05:18 +0000 | [diff] [blame] | 288 | class RepresentationField: public BitField<uint32_t, 17, 4> {}; |
| 289 | class FieldIndexField: public BitField<uint32_t, 21, 10> {}; |
danno@chromium.org | c612e02 | 2011-11-10 11:38:15 +0000 | [diff] [blame] | 290 | |
| 291 | static const int kInitialIndex = 1; |
| 292 | |
| 293 | private: |
yangguo@chromium.org | 46839fb | 2012-08-28 09:06:19 +0000 | [diff] [blame] | 294 | PropertyDetails(int value, int pointer) { |
danno@chromium.org | f005df6 | 2013-04-30 16:36:45 +0000 | [diff] [blame] | 295 | value_ = DescriptorPointer::update(value, pointer); |
| 296 | } |
| 297 | PropertyDetails(int value, Representation representation) { |
| 298 | value_ = RepresentationField::update( |
| 299 | value, EncodeRepresentation(representation)); |
yangguo@chromium.org | 46839fb | 2012-08-28 09:06:19 +0000 | [diff] [blame] | 300 | } |
svenpanne@chromium.org | a53e8e0 | 2013-05-24 12:35:50 +0000 | [diff] [blame] | 301 | PropertyDetails(int value, PropertyAttributes attributes) { |
| 302 | value_ = AttributesField::update(value, attributes); |
| 303 | } |
yangguo@chromium.org | 46839fb | 2012-08-28 09:06:19 +0000 | [diff] [blame] | 304 | |
danno@chromium.org | c612e02 | 2011-11-10 11:38:15 +0000 | [diff] [blame] | 305 | uint32_t value_; |
| 306 | }; |
| 307 | |
| 308 | } } // namespace v8::internal |
| 309 | |
| 310 | #endif // V8_PROPERTY_DETAILS_H_ |