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

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

Issue 816053002: [turbofan] First version of loop peeling. (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
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) \
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after
320 #define RETURN_NAME(x) \ 320 #define RETURN_NAME(x) \
321 case k##x: \ 321 case k##x: \
322 return true; 322 return true;
323 CONTROL_OP_LIST(RETURN_NAME) 323 CONTROL_OP_LIST(RETURN_NAME)
324 COMMON_OP_LIST(RETURN_NAME) 324 COMMON_OP_LIST(RETURN_NAME)
325 #undef RETURN_NAME 325 #undef RETURN_NAME
326 default: 326 default:
327 return false; 327 return false;
328 } 328 }
329 } 329 }
330
331 static bool IsPhiOpcode(Value val) {
332 return val == kPhi || val == kEffectPhi;
333 }
330 }; 334 };
331 335
332 } // namespace compiler 336 } // namespace compiler
333 } // namespace internal 337 } // namespace internal
334 } // namespace v8 338 } // namespace v8
335 339
336 #endif // V8_COMPILER_OPCODES_H_ 340 #endif // V8_COMPILER_OPCODES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698