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

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

Issue 2649703002: [Atomics] Make Atomics.compareExchange a builtin using TF (Closed)
Patch Set: PPC and S390 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 1380 matching lines...) Expand 10 before | Expand all | Expand 10 after
1391 case IrOpcode::kLoadStackPointer: 1391 case IrOpcode::kLoadStackPointer:
1392 case IrOpcode::kLoadFramePointer: 1392 case IrOpcode::kLoadFramePointer:
1393 case IrOpcode::kLoadParentFramePointer: 1393 case IrOpcode::kLoadParentFramePointer:
1394 case IrOpcode::kUnalignedLoad: 1394 case IrOpcode::kUnalignedLoad:
1395 case IrOpcode::kUnalignedStore: 1395 case IrOpcode::kUnalignedStore:
1396 case IrOpcode::kCheckedLoad: 1396 case IrOpcode::kCheckedLoad:
1397 case IrOpcode::kCheckedStore: 1397 case IrOpcode::kCheckedStore:
1398 case IrOpcode::kAtomicLoad: 1398 case IrOpcode::kAtomicLoad:
1399 case IrOpcode::kAtomicStore: 1399 case IrOpcode::kAtomicStore:
1400 case IrOpcode::kAtomicExchange: 1400 case IrOpcode::kAtomicExchange:
1401 case IrOpcode::kAtomicCompareExchange:
1401 1402
1402 #define SIMD_MACHINE_OP_CASE(Name) case IrOpcode::k##Name: 1403 #define SIMD_MACHINE_OP_CASE(Name) case IrOpcode::k##Name:
1403 MACHINE_SIMD_OP_LIST(SIMD_MACHINE_OP_CASE) 1404 MACHINE_SIMD_OP_LIST(SIMD_MACHINE_OP_CASE)
1404 #undef SIMD_MACHINE_OP_CASE 1405 #undef SIMD_MACHINE_OP_CASE
1405 1406
1406 // TODO(rossberg): Check. 1407 // TODO(rossberg): Check.
1407 break; 1408 break;
1408 } 1409 }
1409 } // NOLINT(readability/fn_size) 1410 } // NOLINT(readability/fn_size)
1410 1411
(...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after
1724 replacement->op()->EffectOutputCount() > 0); 1725 replacement->op()->EffectOutputCount() > 0);
1725 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || 1726 DCHECK(!NodeProperties::IsFrameStateEdge(edge) ||
1726 replacement->opcode() == IrOpcode::kFrameState); 1727 replacement->opcode() == IrOpcode::kFrameState);
1727 } 1728 }
1728 1729
1729 #endif // DEBUG 1730 #endif // DEBUG
1730 1731
1731 } // namespace compiler 1732 } // namespace compiler
1732 } // namespace internal 1733 } // namespace internal
1733 } // namespace v8 1734 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698