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

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

Issue 509343002: Better typing and type verification (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebased and new issues fixed Created 6 years, 2 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 | Annotate | Revision Log
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(Throw) 17 V(Throw)
18 18
19 #define CONTROL_OP_LIST(V) \ 19 #define CONTROL_OP_LIST(V) \
20 INNER_CONTROL_OP_LIST(V) \ 20 INNER_CONTROL_OP_LIST(V) \
21 V(Start) \ 21 V(Start) \
22 V(End) 22 V(End)
23 23
24 #define CONTROL_OP_LIST(V) \
titzer 2014/10/14 16:13:22 You got this macro twice.
rossberg 2014/10/15 08:59:08 Huh. Probably merge weirdness.
25 INNER_CONTROL_OP_LIST(V) \
26 V(Start) \
27 V(End)
28
24 // Opcodes for common operators. 29 // Opcodes for common operators.
25 #define LEAF_OP_LIST(V) \ 30 #define LEAF_OP_LIST(V) \
26 V(Int32Constant) \ 31 V(Int32Constant) \
27 V(Int64Constant) \ 32 V(Int64Constant) \
28 V(Float32Constant) \ 33 V(Float32Constant) \
29 V(Float64Constant) \ 34 V(Float64Constant) \
30 V(ExternalConstant) \ 35 V(ExternalConstant) \
31 V(NumberConstant) \ 36 V(NumberConstant) \
32 V(HeapConstant) 37 V(HeapConstant)
33 38
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after
315 return false; 320 return false;
316 } 321 }
317 } 322 }
318 }; 323 };
319 324
320 } // namespace compiler 325 } // namespace compiler
321 } // namespace internal 326 } // namespace internal
322 } // namespace v8 327 } // namespace v8
323 328
324 #endif // V8_COMPILER_OPCODES_H_ 329 #endif // V8_COMPILER_OPCODES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698