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

Unified Diff: src/compiler/opcodes.h

Issue 1193833002: [turbofan] Proper dead code elimination as regular reducer. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Renamed DeadControl to Dead. 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/compiler/loop-peeling.cc ('k') | src/compiler/operator-properties.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 1c2a23c00cb47ccb5cf18243ed22f5aed5e399f1..c2005c943ccd5fdd4dce81f85fbff0fa0408aa4e 100644
--- a/src/compiler/opcodes.h
+++ b/src/compiler/opcodes.h
@@ -26,7 +26,6 @@
V(Terminate) \
V(OsrNormalEntry) \
V(OsrLoopEntry) \
- V(DeadControl) \
V(Throw) \
V(End)
@@ -58,9 +57,7 @@
#define COMMON_OP_LIST(V) \
CONSTANT_OP_LIST(V) \
INNER_OP_LIST(V) \
- V(DeadEffect) \
- V(DeadValue)
-
+ V(Dead)
// Opcodes for JavaScript operators.
#define JS_COMPARE_BINOP_LIST(V) \
@@ -321,7 +318,7 @@ class IrOpcode {
// Returns true if opcode for common operator.
static bool IsCommonOpcode(Value value) {
- return kStart <= value && value <= kDeadValue;
+ return kStart <= value && value <= kDead;
}
// Returns true if opcode for control operator.
« no previous file with comments | « src/compiler/loop-peeling.cc ('k') | src/compiler/operator-properties.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698