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

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

Issue 2695653005: Revert of Remove SIMD.js from V8. (Closed)
Patch Set: 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,
59 kAny = kUndefined | kBoolean | kNull | kSmallInteger | kReceiver | kString | 60 kAny = kUndefined | kBoolean | kNull | kSmallInteger | kReceiver | kString |
60 kSymbol | kHeapNumber, 61 kSymbol | kHeapNumber | kSimdValue,
61 kNeedsMap = kReceiver | kString | kSymbol | kHeapNumber, 62 kNeedsMap = kReceiver | kString | kSymbol | kHeapNumber | kSimdValue,
62 kCanBeUndetectable = kReceiver, 63 kCanBeUndetectable = kReceiver,
63 }; 64 };
64 65
65 std::ostream& operator<<(std::ostream&, ToBooleanHint); 66 std::ostream& operator<<(std::ostream&, ToBooleanHint);
66 std::string ToString(ToBooleanHint); 67 std::string ToString(ToBooleanHint);
67 68
68 typedef base::Flags<ToBooleanHint, uint16_t> ToBooleanHints; 69 typedef base::Flags<ToBooleanHint, uint16_t> ToBooleanHints;
69 70
70 std::ostream& operator<<(std::ostream&, ToBooleanHints); 71 std::ostream& operator<<(std::ostream&, ToBooleanHints);
71 std::string ToString(ToBooleanHints); 72 std::string ToString(ToBooleanHints);
(...skipping 14 matching lines...) Expand all
86 STRING_ADD_CONVERT_LEFT = STRING_ADD_CHECK_LEFT | STRING_ADD_CONVERT, 87 STRING_ADD_CONVERT_LEFT = STRING_ADD_CHECK_LEFT | STRING_ADD_CONVERT,
87 STRING_ADD_CONVERT_RIGHT = STRING_ADD_CHECK_RIGHT | STRING_ADD_CONVERT 88 STRING_ADD_CONVERT_RIGHT = STRING_ADD_CHECK_RIGHT | STRING_ADD_CONVERT
88 }; 89 };
89 90
90 std::ostream& operator<<(std::ostream& os, const StringAddFlags& flags); 91 std::ostream& operator<<(std::ostream& os, const StringAddFlags& flags);
91 92
92 } // namespace internal 93 } // namespace internal
93 } // namespace v8 94 } // namespace v8
94 95
95 #endif // V8_TYPE_HINTS_H_ 96 #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