Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: src/property-details.h

Issue 12455002: ES6 symbols: filter symbols form for-in loops and Object.keys (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/objects.cc ('k') | src/proxy.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 24 matching lines...) Expand all
35 // Ecma-262 3rd 8.6.1 35 // Ecma-262 3rd 8.6.1
36 enum PropertyAttributes { 36 enum PropertyAttributes {
37 NONE = v8::None, 37 NONE = v8::None,
38 READ_ONLY = v8::ReadOnly, 38 READ_ONLY = v8::ReadOnly,
39 DONT_ENUM = v8::DontEnum, 39 DONT_ENUM = v8::DontEnum,
40 DONT_DELETE = v8::DontDelete, 40 DONT_DELETE = v8::DontDelete,
41 41
42 SEALED = DONT_ENUM | DONT_DELETE, 42 SEALED = DONT_ENUM | DONT_DELETE,
43 FROZEN = SEALED | READ_ONLY, 43 FROZEN = SEALED | READ_ONLY,
44 44
45 SYMBOLIC = 8, // Used to filter symbol names
46 DONT_SHOW = DONT_ENUM | SYMBOLIC,
45 ABSENT = 16 // Used in runtime to indicate a property is absent. 47 ABSENT = 16 // Used in runtime to indicate a property is absent.
46 // ABSENT can never be stored in or returned from a descriptor's attributes 48 // ABSENT can never be stored in or returned from a descriptor's attributes
47 // bitfield. It is only used as a return value meaning the attributes of 49 // bitfield. It is only used as a return value meaning the attributes of
48 // a non-existent property. 50 // a non-existent property.
49 }; 51 };
50 52
51 53
52 namespace v8 { 54 namespace v8 {
53 namespace internal { 55 namespace internal {
54 56
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 PropertyDetails(int value, int pointer) { 140 PropertyDetails(int value, int pointer) {
139 value_ = DescriptorPointer::update(value, pointer); 141 value_ = DescriptorPointer::update(value, pointer);
140 } 142 }
141 143
142 uint32_t value_; 144 uint32_t value_;
143 }; 145 };
144 146
145 } } // namespace v8::internal 147 } } // namespace v8::internal
146 148
147 #endif // V8_PROPERTY_DETAILS_H_ 149 #endif // V8_PROPERTY_DETAILS_H_
OLDNEW
« no previous file with comments | « src/objects.cc ('k') | src/proxy.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698