| 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 // Opcodes for control operators. | 10 // Opcodes for control operators. |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 V(JSToName) \ | 98 V(JSToName) \ |
| 99 V(JSToObject) | 99 V(JSToObject) |
| 100 | 100 |
| 101 #define JS_OTHER_UNOP_LIST(V) \ | 101 #define JS_OTHER_UNOP_LIST(V) \ |
| 102 V(JSTypeOf) | 102 V(JSTypeOf) |
| 103 | 103 |
| 104 #define JS_SIMPLE_UNOP_LIST(V) \ | 104 #define JS_SIMPLE_UNOP_LIST(V) \ |
| 105 JS_CONVERSION_UNOP_LIST(V) \ | 105 JS_CONVERSION_UNOP_LIST(V) \ |
| 106 JS_OTHER_UNOP_LIST(V) | 106 JS_OTHER_UNOP_LIST(V) |
| 107 | 107 |
| 108 #define JS_OBJECT_OP_LIST(V) \ | 108 #define JS_OBJECT_OP_LIST(V) \ |
| 109 V(JSCreate) \ | 109 V(JSCreate) \ |
| 110 V(JSCreateArguments) \ | 110 V(JSCreateArguments) \ |
| 111 V(JSCreateArray) \ | 111 V(JSCreateArray) \ |
| 112 V(JSCreateClosure) \ | 112 V(JSCreateClosure) \ |
| 113 V(JSCreateLiteralArray) \ | 113 V(JSCreateIterResultObject) \ |
| 114 V(JSCreateLiteralObject) \ | 114 V(JSCreateLiteralArray) \ |
| 115 V(JSCreateLiteralRegExp) \ | 115 V(JSCreateLiteralObject) \ |
| 116 V(JSLoadProperty) \ | 116 V(JSCreateLiteralRegExp) \ |
| 117 V(JSLoadNamed) \ | 117 V(JSLoadProperty) \ |
| 118 V(JSLoadGlobal) \ | 118 V(JSLoadNamed) \ |
| 119 V(JSStoreProperty) \ | 119 V(JSLoadGlobal) \ |
| 120 V(JSStoreNamed) \ | 120 V(JSStoreProperty) \ |
| 121 V(JSStoreGlobal) \ | 121 V(JSStoreNamed) \ |
| 122 V(JSDeleteProperty) \ | 122 V(JSStoreGlobal) \ |
| 123 V(JSHasProperty) \ | 123 V(JSDeleteProperty) \ |
| 124 V(JSHasProperty) \ |
| 124 V(JSInstanceOf) | 125 V(JSInstanceOf) |
| 125 | 126 |
| 126 #define JS_CONTEXT_OP_LIST(V) \ | 127 #define JS_CONTEXT_OP_LIST(V) \ |
| 127 V(JSLoadContext) \ | 128 V(JSLoadContext) \ |
| 128 V(JSStoreContext) \ | 129 V(JSStoreContext) \ |
| 129 V(JSLoadDynamic) \ | 130 V(JSLoadDynamic) \ |
| 130 V(JSCreateFunctionContext) \ | 131 V(JSCreateFunctionContext) \ |
| 131 V(JSCreateCatchContext) \ | 132 V(JSCreateCatchContext) \ |
| 132 V(JSCreateWithContext) \ | 133 V(JSCreateWithContext) \ |
| 133 V(JSCreateBlockContext) \ | 134 V(JSCreateBlockContext) \ |
| (...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 397 } | 398 } |
| 398 }; | 399 }; |
| 399 | 400 |
| 400 std::ostream& operator<<(std::ostream&, IrOpcode::Value); | 401 std::ostream& operator<<(std::ostream&, IrOpcode::Value); |
| 401 | 402 |
| 402 } // namespace compiler | 403 } // namespace compiler |
| 403 } // namespace internal | 404 } // namespace internal |
| 404 } // namespace v8 | 405 } // namespace v8 |
| 405 | 406 |
| 406 #endif // V8_COMPILER_OPCODES_H_ | 407 #endif // V8_COMPILER_OPCODES_H_ |
| OLD | NEW |