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

Unified Diff: src/compiler/opcodes.h

Issue 928213003: Model exceptional edges from call nodes in TurboFan. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 10 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
Index: src/compiler/opcodes.h
diff --git a/src/compiler/opcodes.h b/src/compiler/opcodes.h
index 2e1a9191ed359d642325611e191a551a0a5be665..8f0bce34dd2e52b14d73db2ab2652f70a56de504 100644
--- a/src/compiler/opcodes.h
+++ b/src/compiler/opcodes.h
@@ -12,6 +12,8 @@
V(Branch) \
V(IfTrue) \
V(IfFalse) \
+ V(IfException) \
+ V(IfSuccess) \
V(Switch) \
V(Case) \
V(Merge) \
@@ -298,8 +300,12 @@ class IrOpcode {
return kInt32Constant <= value && value <= kHeapConstant;
}
- static bool IsPhiOpcode(Value val) {
- return val == kPhi || val == kEffectPhi;
+ static bool IsPhiOpcode(Value value) {
+ return value == kPhi || value == kEffectPhi;
+ }
+
+ static bool IsMergeOpcode(Value value) {
+ return value == kMerge || value == kLoop;
}
};

Powered by Google App Engine
This is Rietveld 408576698