Chromium Code Reviews

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: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | | Annotate | Revision Log
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...)
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') | src/lithium-inl.h » ('J')

Powered by Google App Engine