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

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

Issue 1186033006: [turbofan] Introduce DeadValue and DeadEffect operators. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix comment. 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/js-graph.cc ('k') | src/compiler/pipeline.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.
11 #define CONTROL_OP_LIST(V) \ 11 #define CONTROL_OP_LIST(V) \
12 V(Start) \ 12 V(Start) \
13 V(Dead) \ 13 V(Dead) \
Benedikt Meurer 2015/06/18 07:16:53 Nit: Please rename this to DeadControl.
Michael Starzinger 2015/06/18 07:49:28 Done. Also moved it down a bit.
14 V(Loop) \ 14 V(Loop) \
15 V(Branch) \ 15 V(Branch) \
16 V(Switch) \ 16 V(Switch) \
17 V(IfTrue) \ 17 V(IfTrue) \
18 V(IfFalse) \ 18 V(IfFalse) \
19 V(IfSuccess) \ 19 V(IfSuccess) \
20 V(IfException) \ 20 V(IfException) \
21 V(IfValue) \ 21 V(IfValue) \
22 V(IfDefault) \ 22 V(IfDefault) \
23 V(Merge) \ 23 V(Merge) \
(...skipping 16 matching lines...) Expand all
40 V(NumberConstant) \ 40 V(NumberConstant) \
41 V(HeapConstant) 41 V(HeapConstant)
42 42
43 #define INNER_OP_LIST(V) \ 43 #define INNER_OP_LIST(V) \
44 V(Select) \ 44 V(Select) \
45 V(Phi) \ 45 V(Phi) \
46 V(EffectSet) \ 46 V(EffectSet) \
47 V(EffectPhi) \ 47 V(EffectPhi) \
48 V(ValueEffect) \ 48 V(ValueEffect) \
49 V(Finish) \ 49 V(Finish) \
50 V(DeadValue) \
Benedikt Meurer 2015/06/18 07:16:53 Nit: Please move these two to COMMON_OP_LIST
Michael Starzinger 2015/06/18 07:49:28 Done.
51 V(DeadEffect) \
50 V(FrameState) \ 52 V(FrameState) \
51 V(StateValues) \ 53 V(StateValues) \
52 V(TypedStateValues) \ 54 V(TypedStateValues) \
53 V(Call) \ 55 V(Call) \
54 V(Parameter) \ 56 V(Parameter) \
55 V(OsrValue) \ 57 V(OsrValue) \
56 V(Projection) 58 V(Projection)
57 59
58 #define COMMON_OP_LIST(V) \ 60 #define COMMON_OP_LIST(V) \
59 CONSTANT_OP_LIST(V) \ 61 CONSTANT_OP_LIST(V) \
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after
356 } 358 }
357 }; 359 };
358 360
359 std::ostream& operator<<(std::ostream&, IrOpcode::Value); 361 std::ostream& operator<<(std::ostream&, IrOpcode::Value);
360 362
361 } // namespace compiler 363 } // namespace compiler
362 } // namespace internal 364 } // namespace internal
363 } // namespace v8 365 } // namespace v8
364 366
365 #endif // V8_COMPILER_OPCODES_H_ 367 #endif // V8_COMPILER_OPCODES_H_
OLDNEW
« no previous file with comments | « src/compiler/js-graph.cc ('k') | src/compiler/pipeline.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698