OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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_OPCODES_H_ | 5 #ifndef V8_COMPILER_OPCODES_H_ |
6 #define V8_COMPILER_OPCODES_H_ | 6 #define V8_COMPILER_OPCODES_H_ |
7 | 7 |
8 #include <iosfwd> | 8 #include <iosfwd> |
9 | 9 |
10 #include "src/globals.h" | 10 #include "src/globals.h" |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 #define JS_CONVERSION_UNOP_LIST(V) \ | 113 #define JS_CONVERSION_UNOP_LIST(V) \ |
114 V(JSToBoolean) \ | 114 V(JSToBoolean) \ |
115 V(JSToInteger) \ | 115 V(JSToInteger) \ |
116 V(JSToLength) \ | 116 V(JSToLength) \ |
117 V(JSToName) \ | 117 V(JSToName) \ |
118 V(JSToNumber) \ | 118 V(JSToNumber) \ |
119 V(JSToObject) \ | 119 V(JSToObject) \ |
120 V(JSToString) | 120 V(JSToString) |
121 | 121 |
122 #define JS_OTHER_UNOP_LIST(V) \ | 122 #define JS_OTHER_UNOP_LIST(V) \ |
| 123 V(JSClassOf) \ |
123 V(JSTypeOf) | 124 V(JSTypeOf) |
124 | 125 |
125 #define JS_SIMPLE_UNOP_LIST(V) \ | 126 #define JS_SIMPLE_UNOP_LIST(V) \ |
126 JS_CONVERSION_UNOP_LIST(V) \ | 127 JS_CONVERSION_UNOP_LIST(V) \ |
127 JS_OTHER_UNOP_LIST(V) | 128 JS_OTHER_UNOP_LIST(V) |
128 | 129 |
129 #define JS_OBJECT_OP_LIST(V) \ | 130 #define JS_OBJECT_OP_LIST(V) \ |
130 V(JSCreate) \ | 131 V(JSCreate) \ |
131 V(JSCreateArguments) \ | 132 V(JSCreateArguments) \ |
132 V(JSCreateArray) \ | 133 V(JSCreateArray) \ |
(...skipping 675 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
808 } | 809 } |
809 }; | 810 }; |
810 | 811 |
811 V8_EXPORT_PRIVATE std::ostream& operator<<(std::ostream&, IrOpcode::Value); | 812 V8_EXPORT_PRIVATE std::ostream& operator<<(std::ostream&, IrOpcode::Value); |
812 | 813 |
813 } // namespace compiler | 814 } // namespace compiler |
814 } // namespace internal | 815 } // namespace internal |
815 } // namespace v8 | 816 } // namespace v8 |
816 | 817 |
817 #endif // V8_COMPILER_OPCODES_H_ | 818 #endif // V8_COMPILER_OPCODES_H_ |
OLD | NEW |