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

Side by Side Diff: src/crankshaft/hydrogen-types.cc

Issue 1696333002: Don't include field-type.h into objects-inl.h (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 10 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/crankshaft/hydrogen.cc ('k') | src/d8.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/crankshaft/hydrogen-types.h" 5 #include "src/crankshaft/hydrogen-types.h"
6 6
7 #include "src/field-type.h"
7 #include "src/handles-inl.h" 8 #include "src/handles-inl.h"
8 #include "src/ostreams.h" 9 #include "src/ostreams.h"
9 10
10 namespace v8 { 11 namespace v8 {
11 namespace internal { 12 namespace internal {
12 13
13 // static 14 // static
14 HType HType::FromType(Type* type) { 15 HType HType::FromType(Type* type) {
15 if (Type::Any()->Is(type)) return HType::Any(); 16 if (Type::Any()->Is(type)) return HType::Any();
16 if (!type->IsInhabited()) return HType::None(); 17 if (!type->IsInhabited()) return HType::None();
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 return os << #Name; 59 return os << #Name;
59 HTYPE_LIST(DEFINE_CASE) 60 HTYPE_LIST(DEFINE_CASE)
60 #undef DEFINE_CASE 61 #undef DEFINE_CASE
61 } 62 }
62 UNREACHABLE(); 63 UNREACHABLE();
63 return os; 64 return os;
64 } 65 }
65 66
66 } // namespace internal 67 } // namespace internal
67 } // namespace v8 68 } // namespace v8
OLDNEW
« no previous file with comments | « src/crankshaft/hydrogen.cc ('k') | src/d8.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698