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

Unified Diff: src/compiler/verifier.cc

Issue 2799863002: [Atomics] use TFJ builtins for atomic add, sub, and, or, and xor (Closed)
Patch Set: [Atomics] use TFJ builtins for atomic add, sub, and, or, and xor Created 3 years, 8 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/verifier.cc
diff --git a/src/compiler/verifier.cc b/src/compiler/verifier.cc
index a5e511b7e60f06b81ebaf6b952c483fdff444d26..3045b6619aa9cef6915b91be636775c6cbc1e81e 100644
--- a/src/compiler/verifier.cc
+++ b/src/compiler/verifier.cc
@@ -1424,6 +1424,11 @@ void Verifier::Visitor::Check(Node* node) {
case IrOpcode::kAtomicStore:
case IrOpcode::kAtomicExchange:
case IrOpcode::kAtomicCompareExchange:
+ case IrOpcode::kAtomicAdd:
+ case IrOpcode::kAtomicSub:
+ case IrOpcode::kAtomicAnd:
+ case IrOpcode::kAtomicOr:
+ case IrOpcode::kAtomicXor:
#define SIMD_MACHINE_OP_CASE(Name) case IrOpcode::k##Name:
MACHINE_SIMD_OP_LIST(SIMD_MACHINE_OP_CASE)

Powered by Google App Engine
This is Rietveld 408576698