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

Side by Side Diff: src/property.cc

Issue 2622503002: include fixing: api.h shouldn't include objects-inl.h (Closed)
Patch Set: static type check Created 3 years, 11 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
« no previous file with comments | « src/parsing/rewriter.cc ('k') | src/regexp/regexp-macro-assembler-tracer.cc » ('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 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 #include "src/property.h" 5 #include "src/property.h"
6 6
7 #include "src/field-type.h" 7 #include "src/field-type.h"
8 #include "src/handles-inl.h" 8 #include "src/handles-inl.h"
9 #include "src/objects-inl.h"
9 #include "src/ostreams.h" 10 #include "src/ostreams.h"
10 11
11 namespace v8 { 12 namespace v8 {
12 namespace internal { 13 namespace internal {
13 14
14 std::ostream& operator<<(std::ostream& os, 15 std::ostream& operator<<(std::ostream& os,
15 const PropertyAttributes& attributes) { 16 const PropertyAttributes& attributes) {
16 os << "["; 17 os << "[";
17 os << (((attributes & READ_ONLY) == 0) ? "W" : "_"); // writable 18 os << (((attributes & READ_ONLY) == 0) ? "W" : "_"); // writable
18 os << (((attributes & DONT_ENUM) == 0) ? "E" : "_"); // enumerable 19 os << (((attributes & DONT_ENUM) == 0) ? "E" : "_"); // enumerable
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 AccessorPair* pair = AccessorPair::cast(value); 85 AccessorPair* pair = AccessorPair::cast(value);
85 os << "(get: " << Brief(pair->getter()) 86 os << "(get: " << Brief(pair->getter())
86 << ", set: " << Brief(pair->setter()) << ") "; 87 << ", set: " << Brief(pair->setter()) << ") ";
87 } 88 }
88 os << FastPropertyDetails(d.GetDetails()); 89 os << FastPropertyDetails(d.GetDetails());
89 return os; 90 return os;
90 } 91 }
91 92
92 } // namespace internal 93 } // namespace internal
93 } // namespace v8 94 } // namespace v8
OLDNEW
« no previous file with comments | « src/parsing/rewriter.cc ('k') | src/regexp/regexp-macro-assembler-tracer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698