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

Side by Side Diff: src/objects.h

Issue 115756: Split nested namespaces declaration in two lines in accordance with C++ Style Guide. (Closed)
Patch Set: Created 11 years, 7 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
OLDNEW
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 NONE = v8::None, 102 NONE = v8::None,
103 READ_ONLY = v8::ReadOnly, 103 READ_ONLY = v8::ReadOnly,
104 DONT_ENUM = v8::DontEnum, 104 DONT_ENUM = v8::DontEnum,
105 DONT_DELETE = v8::DontDelete, 105 DONT_DELETE = v8::DontDelete,
106 ABSENT = 16 // Used in runtime to indicate a property is absent. 106 ABSENT = 16 // Used in runtime to indicate a property is absent.
107 // ABSENT can never be stored in or returned from a descriptor's attributes 107 // ABSENT can never be stored in or returned from a descriptor's attributes
108 // bitfield. It is only used as a return value meaning the attributes of 108 // bitfield. It is only used as a return value meaning the attributes of
109 // a non-existent property. 109 // a non-existent property.
110 }; 110 };
111 111
112 namespace v8 { namespace internal { 112 namespace v8 {
113 namespace internal {
113 114
114 115
115 // PropertyDetails captures type and attributes for a property. 116 // PropertyDetails captures type and attributes for a property.
116 // They are used both in property dictionaries and instance descriptors. 117 // They are used both in property dictionaries and instance descriptors.
117 class PropertyDetails BASE_EMBEDDED { 118 class PropertyDetails BASE_EMBEDDED {
118 public: 119 public:
119 120
120 PropertyDetails(PropertyAttributes attributes, 121 PropertyDetails(PropertyAttributes attributes,
121 PropertyType type, 122 PropertyType type,
122 int index = 0) { 123 int index = 0) {
(...skipping 4274 matching lines...) Expand 10 before | Expand all | Expand 10 after
4397 } else { 4398 } else {
4398 value &= ~(1 << bit_position); 4399 value &= ~(1 << bit_position);
4399 } 4400 }
4400 return value; 4401 return value;
4401 } 4402 }
4402 }; 4403 };
4403 4404
4404 } } // namespace v8::internal 4405 } } // namespace v8::internal
4405 4406
4406 #endif // V8_OBJECTS_H_ 4407 #endif // V8_OBJECTS_H_
OLDNEW
« src/accessors.h ('K') | « src/natives.h ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698