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

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

Issue 2535753004: [turbofan] Add appropriate types to express Callable. (Closed)
Patch Set: Add spec comments. Created 4 years 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/typer.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 #include "src/globals.h" 10 #include "src/globals.h"
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
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_
OLDNEW
« no previous file with comments | « src/compiler/js-typed-lowering.cc ('k') | src/compiler/typer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698