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

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

Issue 809333002: [turbofan] Implement OSR for outer loops. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 11 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/mips64/code-generator-mips64.cc ('k') | src/compiler/osr.h » ('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 // Opcodes for control operators. 8 // Opcodes for control operators.
9 #define INNER_CONTROL_OP_LIST(V) \ 9 #define INNER_CONTROL_OP_LIST(V) \
10 V(Dead) \ 10 V(Dead) \
11 V(Loop) \ 11 V(Loop) \
12 V(Branch) \ 12 V(Branch) \
13 V(IfTrue) \ 13 V(IfTrue) \
14 V(IfFalse) \ 14 V(IfFalse) \
15 V(Merge) \ 15 V(Merge) \
16 V(Return) \ 16 V(Return) \
17 V(Terminate) \ 17 V(Terminate) \
18 V(OsrNormalEntry) \
19 V(OsrLoopEntry) \
18 V(Throw) 20 V(Throw)
19 21
20 #define CONTROL_OP_LIST(V) \ 22 #define CONTROL_OP_LIST(V) \
21 INNER_CONTROL_OP_LIST(V) \ 23 INNER_CONTROL_OP_LIST(V) \
22 V(Start) \ 24 V(Start) \
23 V(End) 25 V(End)
24 26
25 // Opcodes for common operators. 27 // Opcodes for common operators.
26 #define LEAF_OP_LIST(V) \ 28 #define LEAF_OP_LIST(V) \
27 V(Int32Constant) \ 29 V(Int32Constant) \
28 V(Int64Constant) \ 30 V(Int64Constant) \
29 V(Float32Constant) \ 31 V(Float32Constant) \
30 V(Float64Constant) \ 32 V(Float64Constant) \
31 V(ExternalConstant) \ 33 V(ExternalConstant) \
32 V(NumberConstant) \ 34 V(NumberConstant) \
33 V(HeapConstant) 35 V(HeapConstant)
34 36
35 #define INNER_OP_LIST(V) \ 37 #define INNER_OP_LIST(V) \
36 V(Select) \ 38 V(Select) \
37 V(Phi) \ 39 V(Phi) \
38 V(EffectPhi) \ 40 V(EffectPhi) \
39 V(ValueEffect) \ 41 V(ValueEffect) \
40 V(Finish) \ 42 V(Finish) \
41 V(FrameState) \ 43 V(FrameState) \
42 V(StateValues) \ 44 V(StateValues) \
43 V(Call) \ 45 V(Call) \
44 V(Parameter) \ 46 V(Parameter) \
47 V(OsrValue) \
45 V(Projection) 48 V(Projection)
46 49
47 #define COMMON_OP_LIST(V) \ 50 #define COMMON_OP_LIST(V) \
48 LEAF_OP_LIST(V) \ 51 LEAF_OP_LIST(V) \
49 INNER_OP_LIST(V) 52 INNER_OP_LIST(V)
50 53
51 // Opcodes for JavaScript operators. 54 // Opcodes for JavaScript operators.
52 #define JS_COMPARE_BINOP_LIST(V) \ 55 #define JS_COMPARE_BINOP_LIST(V) \
53 V(JSEqual) \ 56 V(JSEqual) \
54 V(JSNotEqual) \ 57 V(JSNotEqual) \
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after
325 return false; 328 return false;
326 } 329 }
327 } 330 }
328 }; 331 };
329 332
330 } // namespace compiler 333 } // namespace compiler
331 } // namespace internal 334 } // namespace internal
332 } // namespace v8 335 } // namespace v8
333 336
334 #endif // V8_COMPILER_OPCODES_H_ 337 #endif // V8_COMPILER_OPCODES_H_
OLDNEW
« no previous file with comments | « src/compiler/mips64/code-generator-mips64.cc ('k') | src/compiler/osr.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698