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

Unified Diff: src/compiler/opcodes.h

Issue 1123213002: [turbofan] Connect non-terminating loops via Terminate. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/compiler/js-generic-lowering.cc ('k') | src/compiler/scheduler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/opcodes.h
diff --git a/src/compiler/opcodes.h b/src/compiler/opcodes.h
index 83de619fba0987eac89cb48fda2f167236d192d4..270b73f294926ca9f8585e086086ac59cff9aa71 100644
--- a/src/compiler/opcodes.h
+++ b/src/compiler/opcodes.h
@@ -22,6 +22,7 @@
V(Deoptimize) \
V(Return) \
V(TailCall) \
+ V(Terminate) \
V(OsrNormalEntry) \
V(OsrLoopEntry) \
V(Throw) \
@@ -54,8 +55,7 @@
#define COMMON_OP_LIST(V) \
CONSTANT_OP_LIST(V) \
- INNER_OP_LIST(V) \
- V(Always)
+ INNER_OP_LIST(V)
// Opcodes for JavaScript operators.
#define JS_COMPARE_BINOP_LIST(V) \
@@ -310,7 +310,7 @@ class IrOpcode {
// Returns true if opcode for common operator.
static bool IsCommonOpcode(Value value) {
- return kStart <= value && value <= kAlways;
+ return kStart <= value && value <= kProjection;
}
// Returns true if opcode for control operator.
« no previous file with comments | « src/compiler/js-generic-lowering.cc ('k') | src/compiler/scheduler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698