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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 V(JSAdd) \ | 99 V(JSAdd) \ |
100 V(JSSubtract) \ | 100 V(JSSubtract) \ |
101 V(JSMultiply) \ | 101 V(JSMultiply) \ |
102 V(JSDivide) \ | 102 V(JSDivide) \ |
103 V(JSModulus) | 103 V(JSModulus) |
104 | 104 |
105 #define JS_SIMPLE_BINOP_LIST(V) \ | 105 #define JS_SIMPLE_BINOP_LIST(V) \ |
106 JS_COMPARE_BINOP_LIST(V) \ | 106 JS_COMPARE_BINOP_LIST(V) \ |
107 JS_BITWISE_BINOP_LIST(V) \ | 107 JS_BITWISE_BINOP_LIST(V) \ |
108 JS_ARITH_BINOP_LIST(V) \ | 108 JS_ARITH_BINOP_LIST(V) \ |
| 109 V(JSHasInPrototypeChain) \ |
109 V(JSInstanceOf) \ | 110 V(JSInstanceOf) \ |
110 V(JSOrdinaryHasInstance) | 111 V(JSOrdinaryHasInstance) |
111 | 112 |
112 #define JS_CONVERSION_UNOP_LIST(V) \ | 113 #define JS_CONVERSION_UNOP_LIST(V) \ |
113 V(JSToBoolean) \ | 114 V(JSToBoolean) \ |
114 V(JSToInteger) \ | 115 V(JSToInteger) \ |
115 V(JSToLength) \ | 116 V(JSToLength) \ |
116 V(JSToName) \ | 117 V(JSToName) \ |
117 V(JSToNumber) \ | 118 V(JSToNumber) \ |
118 V(JSToObject) \ | 119 V(JSToObject) \ |
(...skipping 680 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
799 } | 800 } |
800 }; | 801 }; |
801 | 802 |
802 V8_EXPORT_PRIVATE std::ostream& operator<<(std::ostream&, IrOpcode::Value); | 803 V8_EXPORT_PRIVATE std::ostream& operator<<(std::ostream&, IrOpcode::Value); |
803 | 804 |
804 } // namespace compiler | 805 } // namespace compiler |
805 } // namespace internal | 806 } // namespace internal |
806 } // namespace v8 | 807 } // namespace v8 |
807 | 808 |
808 #endif // V8_COMPILER_OPCODES_H_ | 809 #endif // V8_COMPILER_OPCODES_H_ |
OLD | NEW |