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

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

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-instructions.h ('k') | src/hydrogen-types.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 #ifndef HYDROGEN_TYPES_H_ 5 #ifndef HYDROGEN_TYPES_H_
6 #define HYDROGEN_TYPES_H_ 6 #define HYDROGEN_TYPES_H_
7 7
8 #include <climits> 8 #include <climits>
9 9
10 #include "src/base/macros.h" 10 #include "src/base/macros.h"
11 #include "src/ostreams.h"
12 11
13 namespace v8 { 12 namespace v8 {
14 namespace internal { 13 namespace internal {
15 14
16 // Forward declarations. 15 // Forward declarations.
17 template <typename T> class Handle; 16 template <typename T> class Handle;
18 class Object; 17 class Object;
18 class OStream;
19 19
20 #define HTYPE_LIST(V) \ 20 #define HTYPE_LIST(V) \
21 V(Any, 0x0) /* 0000 0000 0000 0000 */ \ 21 V(Any, 0x0) /* 0000 0000 0000 0000 */ \
22 V(Tagged, 0x1) /* 0000 0000 0000 0001 */ \ 22 V(Tagged, 0x1) /* 0000 0000 0000 0001 */ \
23 V(TaggedPrimitive, 0x5) /* 0000 0000 0000 0101 */ \ 23 V(TaggedPrimitive, 0x5) /* 0000 0000 0000 0101 */ \
24 V(TaggedNumber, 0xd) /* 0000 0000 0000 1101 */ \ 24 V(TaggedNumber, 0xd) /* 0000 0000 0000 1101 */ \
25 V(Smi, 0x1d) /* 0000 0000 0001 1101 */ \ 25 V(Smi, 0x1d) /* 0000 0000 0001 1101 */ \
26 V(HeapObject, 0x21) /* 0000 0000 0010 0001 */ \ 26 V(HeapObject, 0x21) /* 0000 0000 0010 0001 */ \
27 V(HeapPrimitive, 0x25) /* 0000 0000 0010 0101 */ \ 27 V(HeapPrimitive, 0x25) /* 0000 0000 0010 0101 */ \
28 V(Null, 0x27) /* 0000 0000 0010 0111 */ \ 28 V(Null, 0x27) /* 0000 0000 0010 0111 */ \
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 explicit HType(Kind kind) : kind_(kind) { } 81 explicit HType(Kind kind) : kind_(kind) { }
82 82
83 int16_t kind_; 83 int16_t kind_;
84 }; 84 };
85 85
86 86
87 OStream& operator<<(OStream& os, const HType& t); 87 OStream& operator<<(OStream& os, const HType& t);
88 } } // namespace v8::internal 88 } } // namespace v8::internal
89 89
90 #endif // HYDROGEN_TYPES_H_ 90 #endif // HYDROGEN_TYPES_H_
OLDNEW
« no previous file with comments | « src/hydrogen-instructions.h ('k') | src/hydrogen-types.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698