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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 #define JS_CONVERSION_UNOP_LIST(V) \ | 111 #define JS_CONVERSION_UNOP_LIST(V) \ |
112 V(JSToBoolean) \ | 112 V(JSToBoolean) \ |
113 V(JSToInteger) \ | 113 V(JSToInteger) \ |
114 V(JSToLength) \ | 114 V(JSToLength) \ |
115 V(JSToName) \ | 115 V(JSToName) \ |
116 V(JSToNumber) \ | 116 V(JSToNumber) \ |
117 V(JSToObject) \ | 117 V(JSToObject) \ |
118 V(JSToString) | 118 V(JSToString) |
119 | 119 |
120 #define JS_OTHER_UNOP_LIST(V) \ | 120 #define JS_OTHER_UNOP_LIST(V) \ |
121 V(JSTypeOf) | 121 V(JSTypeOf) \ |
| 122 V(JSIsUndetectable) |
122 | 123 |
123 #define JS_SIMPLE_UNOP_LIST(V) \ | 124 #define JS_SIMPLE_UNOP_LIST(V) \ |
124 JS_CONVERSION_UNOP_LIST(V) \ | 125 JS_CONVERSION_UNOP_LIST(V) \ |
125 JS_OTHER_UNOP_LIST(V) | 126 JS_OTHER_UNOP_LIST(V) |
126 | 127 |
127 #define JS_OBJECT_OP_LIST(V) \ | 128 #define JS_OBJECT_OP_LIST(V) \ |
128 V(JSCreate) \ | 129 V(JSCreate) \ |
129 V(JSCreateArguments) \ | 130 V(JSCreateArguments) \ |
130 V(JSCreateArray) \ | 131 V(JSCreateArray) \ |
131 V(JSCreateClosure) \ | 132 V(JSCreateClosure) \ |
(...skipping 664 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
796 } | 797 } |
797 }; | 798 }; |
798 | 799 |
799 V8_EXPORT_PRIVATE std::ostream& operator<<(std::ostream&, IrOpcode::Value); | 800 V8_EXPORT_PRIVATE std::ostream& operator<<(std::ostream&, IrOpcode::Value); |
800 | 801 |
801 } // namespace compiler | 802 } // namespace compiler |
802 } // namespace internal | 803 } // namespace internal |
803 } // namespace v8 | 804 } // namespace v8 |
804 | 805 |
805 #endif // V8_COMPILER_OPCODES_H_ | 806 #endif // V8_COMPILER_OPCODES_H_ |
OLD | NEW |