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

Side by Side Diff: src/compiler/verifier.cc

Issue 2649703002: [Atomics] Make Atomics.compareExchange a builtin using TF (Closed)
Patch Set: dmb Created 3 years, 9 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/compiler/verifier.h" 5 #include "src/compiler/verifier.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <deque> 8 #include <deque>
9 #include <queue> 9 #include <queue>
10 #include <sstream> 10 #include <sstream>
(...skipping 1369 matching lines...) Expand 10 before | Expand all | Expand 10 after
1380 case IrOpcode::kLoadStackPointer: 1380 case IrOpcode::kLoadStackPointer:
1381 case IrOpcode::kLoadFramePointer: 1381 case IrOpcode::kLoadFramePointer:
1382 case IrOpcode::kLoadParentFramePointer: 1382 case IrOpcode::kLoadParentFramePointer:
1383 case IrOpcode::kUnalignedLoad: 1383 case IrOpcode::kUnalignedLoad:
1384 case IrOpcode::kUnalignedStore: 1384 case IrOpcode::kUnalignedStore:
1385 case IrOpcode::kCheckedLoad: 1385 case IrOpcode::kCheckedLoad:
1386 case IrOpcode::kCheckedStore: 1386 case IrOpcode::kCheckedStore:
1387 case IrOpcode::kAtomicLoad: 1387 case IrOpcode::kAtomicLoad:
1388 case IrOpcode::kAtomicStore: 1388 case IrOpcode::kAtomicStore:
1389 case IrOpcode::kAtomicExchange: 1389 case IrOpcode::kAtomicExchange:
1390 case IrOpcode::kAtomicCompareExchange:
1390 1391
1391 #define SIMD_MACHINE_OP_CASE(Name) case IrOpcode::k##Name: 1392 #define SIMD_MACHINE_OP_CASE(Name) case IrOpcode::k##Name:
1392 MACHINE_SIMD_OP_LIST(SIMD_MACHINE_OP_CASE) 1393 MACHINE_SIMD_OP_LIST(SIMD_MACHINE_OP_CASE)
1393 #undef SIMD_MACHINE_OP_CASE 1394 #undef SIMD_MACHINE_OP_CASE
1394 1395
1395 // TODO(rossberg): Check. 1396 // TODO(rossberg): Check.
1396 break; 1397 break;
1397 } 1398 }
1398 } // NOLINT(readability/fn_size) 1399 } // NOLINT(readability/fn_size)
1399 1400
(...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after
1713 replacement->op()->EffectOutputCount() > 0); 1714 replacement->op()->EffectOutputCount() > 0);
1714 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || 1715 DCHECK(!NodeProperties::IsFrameStateEdge(edge) ||
1715 replacement->opcode() == IrOpcode::kFrameState); 1716 replacement->opcode() == IrOpcode::kFrameState);
1716 } 1717 }
1717 1718
1718 #endif // DEBUG 1719 #endif // DEBUG
1719 1720
1720 } // namespace compiler 1721 } // namespace compiler
1721 } // namespace internal 1722 } // namespace internal
1722 } // namespace v8 1723 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698