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

Unified Diff: src/compiler/verifier.cc

Issue 2489563004: [turbofan] Add support for accessing Uint8ClampedArrays. (Closed)
Patch Set: Fix typing rule. Created 4 years, 1 month 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/typed-optimization.cc ('k') | test/mjsunit/compiler/uint8-clamped-array.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 6552654cf37b171738a3b4574027605a07d49578..6f5d4d0623b37316340adee7a0a7642c9b4f938b 100644
--- a/src/compiler/verifier.cc
+++ b/src/compiler/verifier.cc
@@ -826,6 +826,7 @@ void Verifier::Visitor::Check(Node* node) {
CheckTypeIs(node, Type::Signed32());
break;
case IrOpcode::kNumberToUint32:
+ case IrOpcode::kNumberToUint8Clamped:
// Number -> Unsigned32
CheckValueInputIs(node, 0, Type::Number());
CheckTypeIs(node, Type::Unsigned32());
« no previous file with comments | « src/compiler/typed-optimization.cc ('k') | test/mjsunit/compiler/uint8-clamped-array.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698