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

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

Issue 426233002: Land the Fan (disabled) (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Review feedback, rebase and "git cl format" Created 6 years, 4 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/hydrogen-types.h ('k') | src/ia32/assembler-ia32.h » ('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/hydrogen-types.h" 5 #include "src/hydrogen-types.h"
6 6
7 #include "src/ostreams.h"
7 #include "src/types-inl.h" 8 #include "src/types-inl.h"
8 9
9 10
10 namespace v8 { 11 namespace v8 {
11 namespace internal { 12 namespace internal {
12 13
13 // static 14 // static
14 template <class T> 15 template <class T>
15 HType HType::FromType(typename T::TypeHandle type) { 16 HType HType::FromType(typename T::TypeHandle type) {
16 if (T::Any()->Is(type)) return HType::Any(); 17 if (T::Any()->Is(type)) return HType::Any();
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 case HType::k##Name: \ 61 case HType::k##Name: \
61 return os << #Name; 62 return os << #Name;
62 HTYPE_LIST(DEFINE_CASE) 63 HTYPE_LIST(DEFINE_CASE)
63 #undef DEFINE_CASE 64 #undef DEFINE_CASE
64 } 65 }
65 UNREACHABLE(); 66 UNREACHABLE();
66 return os; 67 return os;
67 } 68 }
68 69
69 } } // namespace v8::internal 70 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/hydrogen-types.h ('k') | src/ia32/assembler-ia32.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698