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

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

Issue 1160983004: [turbofan] First step towards sanitizing for-in and making it optimizable. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Add some comments. Created 5 years, 6 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/linkage.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 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 V(JSCreateCatchContext) \ 127 V(JSCreateCatchContext) \
128 V(JSCreateWithContext) \ 128 V(JSCreateWithContext) \
129 V(JSCreateBlockContext) \ 129 V(JSCreateBlockContext) \
130 V(JSCreateModuleContext) \ 130 V(JSCreateModuleContext) \
131 V(JSCreateScriptContext) 131 V(JSCreateScriptContext)
132 132
133 #define JS_OTHER_OP_LIST(V) \ 133 #define JS_OTHER_OP_LIST(V) \
134 V(JSCallConstruct) \ 134 V(JSCallConstruct) \
135 V(JSCallFunction) \ 135 V(JSCallFunction) \
136 V(JSCallRuntime) \ 136 V(JSCallRuntime) \
137 V(JSForInDone) \
138 V(JSForInNext) \
139 V(JSForInPrepare) \
140 V(JSForInStep) \
137 V(JSYield) \ 141 V(JSYield) \
138 V(JSStackCheck) 142 V(JSStackCheck)
139 143
140 #define JS_OP_LIST(V) \ 144 #define JS_OP_LIST(V) \
141 JS_SIMPLE_BINOP_LIST(V) \ 145 JS_SIMPLE_BINOP_LIST(V) \
142 JS_SIMPLE_UNOP_LIST(V) \ 146 JS_SIMPLE_UNOP_LIST(V) \
143 JS_OBJECT_OP_LIST(V) \ 147 JS_OBJECT_OP_LIST(V) \
144 JS_CONTEXT_OP_LIST(V) \ 148 JS_CONTEXT_OP_LIST(V) \
145 JS_OTHER_OP_LIST(V) 149 JS_OTHER_OP_LIST(V)
146 150
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
350 } 354 }
351 }; 355 };
352 356
353 std::ostream& operator<<(std::ostream&, IrOpcode::Value); 357 std::ostream& operator<<(std::ostream&, IrOpcode::Value);
354 358
355 } // namespace compiler 359 } // namespace compiler
356 } // namespace internal 360 } // namespace internal
357 } // namespace v8 361 } // namespace v8
358 362
359 #endif // V8_COMPILER_OPCODES_H_ 363 #endif // V8_COMPILER_OPCODES_H_
OLDNEW
« no previous file with comments | « src/compiler/linkage.cc ('k') | src/compiler/operator-properties.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698