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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 V(JSToObject) \ | 115 V(JSToObject) \ |
116 V(JSToString) | 116 V(JSToString) |
117 | 117 |
118 #define JS_OTHER_UNOP_LIST(V) \ | 118 #define JS_OTHER_UNOP_LIST(V) \ |
119 V(JSTypeOf) | 119 V(JSTypeOf) |
120 | 120 |
121 #define JS_SIMPLE_UNOP_LIST(V) \ | 121 #define JS_SIMPLE_UNOP_LIST(V) \ |
122 JS_CONVERSION_UNOP_LIST(V) \ | 122 JS_CONVERSION_UNOP_LIST(V) \ |
123 JS_OTHER_UNOP_LIST(V) | 123 JS_OTHER_UNOP_LIST(V) |
124 | 124 |
125 #define JS_OBJECT_OP_LIST(V) \ | 125 #define JS_OBJECT_OP_LIST(V) \ |
126 V(JSCreate) \ | 126 V(JSCreate) \ |
127 V(JSCreateArguments) \ | 127 V(JSCreateArguments) \ |
128 V(JSCreateArray) \ | 128 V(JSCreateArray) \ |
129 V(JSCreateClosure) \ | 129 V(JSCreateClosure) \ |
130 V(JSCreateIterResultObject) \ | 130 V(JSCreateIterResultObject) \ |
131 V(JSCreateKeyValueArray) \ | 131 V(JSCreateKeyValueArray) \ |
132 V(JSCreateLiteralArray) \ | 132 V(JSCreateLiteralArray) \ |
133 V(JSCreateLiteralObject) \ | 133 V(JSCreateLiteralObject) \ |
134 V(JSCreateLiteralRegExp) \ | 134 V(JSCreateLiteralRegExp) \ |
135 V(JSLoadProperty) \ | 135 V(JSLoadProperty) \ |
136 V(JSLoadNamed) \ | 136 V(JSLoadNamed) \ |
137 V(JSLoadGlobal) \ | 137 V(JSLoadGlobal) \ |
138 V(JSStoreProperty) \ | 138 V(JSStoreProperty) \ |
139 V(JSStoreNamed) \ | 139 V(JSStoreNamed) \ |
140 V(JSStoreGlobal) \ | 140 V(JSStoreGlobal) \ |
141 V(JSDeleteProperty) \ | 141 V(JSStoreDataPropertyInLiteral) \ |
142 V(JSHasProperty) \ | 142 V(JSDeleteProperty) \ |
143 V(JSInstanceOf) \ | 143 V(JSHasProperty) \ |
| 144 V(JSInstanceOf) \ |
144 V(JSOrdinaryHasInstance) | 145 V(JSOrdinaryHasInstance) |
145 | 146 |
146 #define JS_CONTEXT_OP_LIST(V) \ | 147 #define JS_CONTEXT_OP_LIST(V) \ |
147 V(JSLoadContext) \ | 148 V(JSLoadContext) \ |
148 V(JSStoreContext) \ | 149 V(JSStoreContext) \ |
149 V(JSCreateFunctionContext) \ | 150 V(JSCreateFunctionContext) \ |
150 V(JSCreateCatchContext) \ | 151 V(JSCreateCatchContext) \ |
151 V(JSCreateWithContext) \ | 152 V(JSCreateWithContext) \ |
152 V(JSCreateBlockContext) \ | 153 V(JSCreateBlockContext) \ |
153 V(JSCreateScriptContext) | 154 V(JSCreateScriptContext) |
(...skipping 641 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
795 } | 796 } |
796 }; | 797 }; |
797 | 798 |
798 V8_EXPORT_PRIVATE std::ostream& operator<<(std::ostream&, IrOpcode::Value); | 799 V8_EXPORT_PRIVATE std::ostream& operator<<(std::ostream&, IrOpcode::Value); |
799 | 800 |
800 } // namespace compiler | 801 } // namespace compiler |
801 } // namespace internal | 802 } // namespace internal |
802 } // namespace v8 | 803 } // namespace v8 |
803 | 804 |
804 #endif // V8_COMPILER_OPCODES_H_ | 805 #endif // V8_COMPILER_OPCODES_H_ |
OLD | NEW |