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

Side by Side Diff: src/type-hints.h

Issue 2684313003: Remove SIMD.js from V8. (Closed)
Patch Set: Rebase. Created 3 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/s390/interface-descriptors-s390.cc ('k') | src/type-hints.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 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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_TYPE_HINTS_H_ 5 #ifndef V8_TYPE_HINTS_H_
6 #define V8_TYPE_HINTS_H_ 6 #define V8_TYPE_HINTS_H_
7 7
8 #include "src/base/flags.h" 8 #include "src/base/flags.h"
9 #include "src/utils.h" 9 #include "src/utils.h"
10 10
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 enum class ToBooleanHint : uint16_t { 49 enum class ToBooleanHint : uint16_t {
50 kNone = 0u, 50 kNone = 0u,
51 kUndefined = 1u << 0, 51 kUndefined = 1u << 0,
52 kBoolean = 1u << 1, 52 kBoolean = 1u << 1,
53 kNull = 1u << 2, 53 kNull = 1u << 2,
54 kSmallInteger = 1u << 3, 54 kSmallInteger = 1u << 3,
55 kReceiver = 1u << 4, 55 kReceiver = 1u << 4,
56 kString = 1u << 5, 56 kString = 1u << 5,
57 kSymbol = 1u << 6, 57 kSymbol = 1u << 6,
58 kHeapNumber = 1u << 7, 58 kHeapNumber = 1u << 7,
59 kSimdValue = 1u << 8,
60 kAny = kUndefined | kBoolean | kNull | kSmallInteger | kReceiver | kString | 59 kAny = kUndefined | kBoolean | kNull | kSmallInteger | kReceiver | kString |
61 kSymbol | kHeapNumber | kSimdValue, 60 kSymbol | kHeapNumber,
62 kNeedsMap = kReceiver | kString | kSymbol | kHeapNumber | kSimdValue, 61 kNeedsMap = kReceiver | kString | kSymbol | kHeapNumber,
63 kCanBeUndetectable = kReceiver, 62 kCanBeUndetectable = kReceiver,
64 }; 63 };
65 64
66 std::ostream& operator<<(std::ostream&, ToBooleanHint); 65 std::ostream& operator<<(std::ostream&, ToBooleanHint);
67 std::string ToString(ToBooleanHint); 66 std::string ToString(ToBooleanHint);
68 67
69 typedef base::Flags<ToBooleanHint, uint16_t> ToBooleanHints; 68 typedef base::Flags<ToBooleanHint, uint16_t> ToBooleanHints;
70 69
71 std::ostream& operator<<(std::ostream&, ToBooleanHints); 70 std::ostream& operator<<(std::ostream&, ToBooleanHints);
72 std::string ToString(ToBooleanHints); 71 std::string ToString(ToBooleanHints);
(...skipping 14 matching lines...) Expand all
87 STRING_ADD_CONVERT_LEFT = STRING_ADD_CHECK_LEFT | STRING_ADD_CONVERT, 86 STRING_ADD_CONVERT_LEFT = STRING_ADD_CHECK_LEFT | STRING_ADD_CONVERT,
88 STRING_ADD_CONVERT_RIGHT = STRING_ADD_CHECK_RIGHT | STRING_ADD_CONVERT 87 STRING_ADD_CONVERT_RIGHT = STRING_ADD_CHECK_RIGHT | STRING_ADD_CONVERT
89 }; 88 };
90 89
91 std::ostream& operator<<(std::ostream& os, const StringAddFlags& flags); 90 std::ostream& operator<<(std::ostream& os, const StringAddFlags& flags);
92 91
93 } // namespace internal 92 } // namespace internal
94 } // namespace v8 93 } // namespace v8
95 94
96 #endif // V8_TYPE_HINTS_H_ 95 #endif // V8_TYPE_HINTS_H_
OLDNEW
« no previous file with comments | « src/s390/interface-descriptors-s390.cc ('k') | src/type-hints.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698