Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(333)

Side by Side Diff: src/compiler/opcodes.h

Issue 1848243002: [turbofan] Introduce JSToInteger and JSToLength operators. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/compiler/js-typed-lowering.cc ('k') | src/compiler/operator-properties.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 V(JSDivide) \ 89 V(JSDivide) \
90 V(JSModulus) 90 V(JSModulus)
91 91
92 #define JS_SIMPLE_BINOP_LIST(V) \ 92 #define JS_SIMPLE_BINOP_LIST(V) \
93 JS_COMPARE_BINOP_LIST(V) \ 93 JS_COMPARE_BINOP_LIST(V) \
94 JS_BITWISE_BINOP_LIST(V) \ 94 JS_BITWISE_BINOP_LIST(V) \
95 JS_ARITH_BINOP_LIST(V) 95 JS_ARITH_BINOP_LIST(V)
96 96
97 #define JS_CONVERSION_UNOP_LIST(V) \ 97 #define JS_CONVERSION_UNOP_LIST(V) \
98 V(JSToBoolean) \ 98 V(JSToBoolean) \
99 V(JSToInteger) \
100 V(JSToLength) \
101 V(JSToName) \
99 V(JSToNumber) \ 102 V(JSToNumber) \
100 V(JSToString) \ 103 V(JSToObject) \
101 V(JSToName) \ 104 V(JSToString)
102 V(JSToObject)
103 105
104 #define JS_OTHER_UNOP_LIST(V) \ 106 #define JS_OTHER_UNOP_LIST(V) \
105 V(JSTypeOf) 107 V(JSTypeOf)
106 108
107 #define JS_SIMPLE_UNOP_LIST(V) \ 109 #define JS_SIMPLE_UNOP_LIST(V) \
108 JS_CONVERSION_UNOP_LIST(V) \ 110 JS_CONVERSION_UNOP_LIST(V) \
109 JS_OTHER_UNOP_LIST(V) 111 JS_OTHER_UNOP_LIST(V)
110 112
111 #define JS_OBJECT_OP_LIST(V) \ 113 #define JS_OBJECT_OP_LIST(V) \
112 V(JSCreate) \ 114 V(JSCreate) \
(...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after
424 } 426 }
425 }; 427 };
426 428
427 std::ostream& operator<<(std::ostream&, IrOpcode::Value); 429 std::ostream& operator<<(std::ostream&, IrOpcode::Value);
428 430
429 } // namespace compiler 431 } // namespace compiler
430 } // namespace internal 432 } // namespace internal
431 } // namespace v8 433 } // namespace v8
432 434
433 #endif // V8_COMPILER_OPCODES_H_ 435 #endif // V8_COMPILER_OPCODES_H_
OLDNEW
« no previous file with comments | « src/compiler/js-typed-lowering.cc ('k') | src/compiler/operator-properties.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698