| 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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 #define JS_ARITH_BINOP_LIST(V) \ | 97 #define JS_ARITH_BINOP_LIST(V) \ |
| 98 V(JSAdd) \ | 98 V(JSAdd) \ |
| 99 V(JSSubtract) \ | 99 V(JSSubtract) \ |
| 100 V(JSMultiply) \ | 100 V(JSMultiply) \ |
| 101 V(JSDivide) \ | 101 V(JSDivide) \ |
| 102 V(JSModulus) | 102 V(JSModulus) |
| 103 | 103 |
| 104 #define JS_SIMPLE_BINOP_LIST(V) \ | 104 #define JS_SIMPLE_BINOP_LIST(V) \ |
| 105 JS_COMPARE_BINOP_LIST(V) \ | 105 JS_COMPARE_BINOP_LIST(V) \ |
| 106 JS_BITWISE_BINOP_LIST(V) \ | 106 JS_BITWISE_BINOP_LIST(V) \ |
| 107 JS_ARITH_BINOP_LIST(V) | 107 JS_ARITH_BINOP_LIST(V) \ |
| 108 V(JSInstanceOf) \ |
| 109 V(JSOrdinaryHasInstance) |
| 108 | 110 |
| 109 #define JS_CONVERSION_UNOP_LIST(V) \ | 111 #define JS_CONVERSION_UNOP_LIST(V) \ |
| 110 V(JSToBoolean) \ | 112 V(JSToBoolean) \ |
| 111 V(JSToInteger) \ | 113 V(JSToInteger) \ |
| 112 V(JSToLength) \ | 114 V(JSToLength) \ |
| 113 V(JSToName) \ | 115 V(JSToName) \ |
| 114 V(JSToNumber) \ | 116 V(JSToNumber) \ |
| 115 V(JSToObject) \ | 117 V(JSToObject) \ |
| 116 V(JSToString) | 118 V(JSToString) |
| 117 | 119 |
| (...skipping 15 matching lines...) Expand all Loading... |
| 133 V(JSCreateLiteralObject) \ | 135 V(JSCreateLiteralObject) \ |
| 134 V(JSCreateLiteralRegExp) \ | 136 V(JSCreateLiteralRegExp) \ |
| 135 V(JSLoadProperty) \ | 137 V(JSLoadProperty) \ |
| 136 V(JSLoadNamed) \ | 138 V(JSLoadNamed) \ |
| 137 V(JSLoadGlobal) \ | 139 V(JSLoadGlobal) \ |
| 138 V(JSStoreProperty) \ | 140 V(JSStoreProperty) \ |
| 139 V(JSStoreNamed) \ | 141 V(JSStoreNamed) \ |
| 140 V(JSStoreGlobal) \ | 142 V(JSStoreGlobal) \ |
| 141 V(JSStoreDataPropertyInLiteral) \ | 143 V(JSStoreDataPropertyInLiteral) \ |
| 142 V(JSDeleteProperty) \ | 144 V(JSDeleteProperty) \ |
| 143 V(JSHasProperty) \ | 145 V(JSHasProperty) |
| 144 V(JSInstanceOf) \ | |
| 145 V(JSOrdinaryHasInstance) | |
| 146 | 146 |
| 147 #define JS_CONTEXT_OP_LIST(V) \ | 147 #define JS_CONTEXT_OP_LIST(V) \ |
| 148 V(JSLoadContext) \ | 148 V(JSLoadContext) \ |
| 149 V(JSStoreContext) \ | 149 V(JSStoreContext) \ |
| 150 V(JSCreateFunctionContext) \ | 150 V(JSCreateFunctionContext) \ |
| 151 V(JSCreateCatchContext) \ | 151 V(JSCreateCatchContext) \ |
| 152 V(JSCreateWithContext) \ | 152 V(JSCreateWithContext) \ |
| 153 V(JSCreateBlockContext) \ | 153 V(JSCreateBlockContext) \ |
| 154 V(JSCreateScriptContext) | 154 V(JSCreateScriptContext) |
| 155 | 155 |
| (...skipping 640 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 796 } | 796 } |
| 797 }; | 797 }; |
| 798 | 798 |
| 799 V8_EXPORT_PRIVATE std::ostream& operator<<(std::ostream&, IrOpcode::Value); | 799 V8_EXPORT_PRIVATE std::ostream& operator<<(std::ostream&, IrOpcode::Value); |
| 800 | 800 |
| 801 } // namespace compiler | 801 } // namespace compiler |
| 802 } // namespace internal | 802 } // namespace internal |
| 803 } // namespace v8 | 803 } // namespace v8 |
| 804 | 804 |
| 805 #endif // V8_COMPILER_OPCODES_H_ | 805 #endif // V8_COMPILER_OPCODES_H_ |
| OLD | NEW |