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

Side by Side Diff: src/compiler/machine-type.h

Issue 614713002: Relax representation requirement in FrameStates. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebase Created 6 years, 2 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/compiler/instruction-selector.cc ('k') | src/compiler/simplified-lowering.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 V8_COMPILER_MACHINE_TYPE_H_ 5 #ifndef V8_COMPILER_MACHINE_TYPE_H_
6 #define V8_COMPILER_MACHINE_TYPE_H_ 6 #define V8_COMPILER_MACHINE_TYPE_H_
7 7
8 #include <iosfwd> 8 #include <iosfwd>
9 9
10 #include "src/base/bits.h" 10 #include "src/base/bits.h"
(...skipping 21 matching lines...) Expand all
32 kTypeBool = 1 << 8, 32 kTypeBool = 1 << 8,
33 kTypeInt32 = 1 << 9, 33 kTypeInt32 = 1 << 9,
34 kTypeUint32 = 1 << 10, 34 kTypeUint32 = 1 << 10,
35 kTypeInt64 = 1 << 11, 35 kTypeInt64 = 1 << 11,
36 kTypeUint64 = 1 << 12, 36 kTypeUint64 = 1 << 12,
37 kTypeNumber = 1 << 13, 37 kTypeNumber = 1 << 13,
38 kTypeAny = 1 << 14, 38 kTypeAny = 1 << 14,
39 39
40 // Machine types. 40 // Machine types.
41 kMachNone = 0, 41 kMachNone = 0,
42 kMachBool = kRepBit | kTypeBool,
42 kMachFloat32 = kRepFloat32 | kTypeNumber, 43 kMachFloat32 = kRepFloat32 | kTypeNumber,
43 kMachFloat64 = kRepFloat64 | kTypeNumber, 44 kMachFloat64 = kRepFloat64 | kTypeNumber,
44 kMachInt8 = kRepWord8 | kTypeInt32, 45 kMachInt8 = kRepWord8 | kTypeInt32,
45 kMachUint8 = kRepWord8 | kTypeUint32, 46 kMachUint8 = kRepWord8 | kTypeUint32,
46 kMachInt16 = kRepWord16 | kTypeInt32, 47 kMachInt16 = kRepWord16 | kTypeInt32,
47 kMachUint16 = kRepWord16 | kTypeUint32, 48 kMachUint16 = kRepWord16 | kTypeUint32,
48 kMachInt32 = kRepWord32 | kTypeInt32, 49 kMachInt32 = kRepWord32 | kTypeInt32,
49 kMachUint32 = kRepWord32 | kTypeUint32, 50 kMachUint32 = kRepWord32 | kTypeUint32,
50 kMachInt64 = kRepWord64 | kTypeInt64, 51 kMachInt64 = kRepWord64 | kTypeInt64,
51 kMachUint64 = kRepWord64 | kTypeUint64, 52 kMachUint64 = kRepWord64 | kTypeUint64,
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 size_t parameter_count_; 164 size_t parameter_count_;
164 T* reps_; 165 T* reps_;
165 }; 166 };
166 167
167 typedef Signature<MachineType> MachineSignature; 168 typedef Signature<MachineType> MachineSignature;
168 } // namespace compiler 169 } // namespace compiler
169 } // namespace internal 170 } // namespace internal
170 } // namespace v8 171 } // namespace v8
171 172
172 #endif // V8_COMPILER_MACHINE_TYPE_H_ 173 #endif // V8_COMPILER_MACHINE_TYPE_H_
OLDNEW
« no previous file with comments | « src/compiler/instruction-selector.cc ('k') | src/compiler/simplified-lowering.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698