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

Unified Diff: src/compiler/verifier.cc

Issue 2191883002: [turbofan] Adds speculative opcodes for shift right. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Really fix the merge conflicts. Created 4 years, 5 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/typer.cc ('k') | test/mjsunit/compiler/turbo-number-feedback.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/verifier.cc
diff --git a/src/compiler/verifier.cc b/src/compiler/verifier.cc
index e111505ec94c77953b1bf2e0f3051dabe3950f15..49379c84af31c06c843eaf2841d04b8bf250c58d 100644
--- a/src/compiler/verifier.cc
+++ b/src/compiler/verifier.cc
@@ -721,6 +721,7 @@ void Verifier::Visitor::Check(Node* node) {
CheckUpperIs(node, Type::Signed32());
break;
case IrOpcode::kSpeculativeNumberShiftLeft:
+ case IrOpcode::kSpeculativeNumberShiftRight:
CheckUpperIs(node, Type::Signed32());
break;
case IrOpcode::kNumberShiftRightLogical:
@@ -729,6 +730,9 @@ void Verifier::Visitor::Check(Node* node) {
CheckValueInputIs(node, 1, Type::Unsigned32());
CheckUpperIs(node, Type::Unsigned32());
break;
+ case IrOpcode::kSpeculativeNumberShiftRightLogical:
+ CheckUpperIs(node, Type::Unsigned32());
+ break;
case IrOpcode::kNumberImul:
// (Unsigned32, Unsigned32) -> Signed32
CheckValueInputIs(node, 0, Type::Unsigned32());
« no previous file with comments | « src/compiler/typer.cc ('k') | test/mjsunit/compiler/turbo-number-feedback.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698