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

Side by Side Diff: src/compiler/machine-operator.h

Issue 1995543003: [turbofan] Add DebugBreak machine operator and support (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Review feedback Created 4 years, 7 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
« no previous file with comments | « src/compiler/instruction-selector.cc ('k') | src/compiler/machine-operator.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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 #ifndef V8_COMPILER_MACHINE_OPERATOR_H_ 5 #ifndef V8_COMPILER_MACHINE_OPERATOR_H_
6 #define V8_COMPILER_MACHINE_OPERATOR_H_ 6 #define V8_COMPILER_MACHINE_OPERATOR_H_
7 7
8 #include "src/base/flags.h" 8 #include "src/base/flags.h"
9 #include "src/machine-type.h" 9 #include "src/machine-type.h"
10 10
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 kWord32Ctz | kWord64Ctz | kWord32Popcnt | kWord64Popcnt | 121 kWord32Ctz | kWord64Ctz | kWord32Popcnt | kWord64Popcnt |
122 kWord32ReverseBits | kWord64ReverseBits 122 kWord32ReverseBits | kWord64ReverseBits
123 }; 123 };
124 typedef base::Flags<Flag, unsigned> Flags; 124 typedef base::Flags<Flag, unsigned> Flags;
125 125
126 explicit MachineOperatorBuilder( 126 explicit MachineOperatorBuilder(
127 Zone* zone, 127 Zone* zone,
128 MachineRepresentation word = MachineType::PointerRepresentation(), 128 MachineRepresentation word = MachineType::PointerRepresentation(),
129 Flags supportedOperators = kNoFlags); 129 Flags supportedOperators = kNoFlags);
130 130
131 const Operator* DebugBreak();
132
131 const Operator* Word32And(); 133 const Operator* Word32And();
132 const Operator* Word32Or(); 134 const Operator* Word32Or();
133 const Operator* Word32Xor(); 135 const Operator* Word32Xor();
134 const Operator* Word32Shl(); 136 const Operator* Word32Shl();
135 const Operator* Word32Shr(); 137 const Operator* Word32Shr();
136 const Operator* Word32Sar(); 138 const Operator* Word32Sar();
137 const Operator* Word32Ror(); 139 const Operator* Word32Ror();
138 const Operator* Word32Equal(); 140 const Operator* Word32Equal();
139 const Operator* Word32Clz(); 141 const Operator* Word32Clz();
140 const OptionalOperator Word32Ctz(); 142 const OptionalOperator Word32Ctz();
(...skipping 411 matching lines...) Expand 10 before | Expand all | Expand 10 after
552 }; 554 };
553 555
554 556
555 DEFINE_OPERATORS_FOR_FLAGS(MachineOperatorBuilder::Flags) 557 DEFINE_OPERATORS_FOR_FLAGS(MachineOperatorBuilder::Flags)
556 558
557 } // namespace compiler 559 } // namespace compiler
558 } // namespace internal 560 } // namespace internal
559 } // namespace v8 561 } // namespace v8
560 562
561 #endif // V8_COMPILER_MACHINE_OPERATOR_H_ 563 #endif // V8_COMPILER_MACHINE_OPERATOR_H_
OLDNEW
« no previous file with comments | « src/compiler/instruction-selector.cc ('k') | src/compiler/machine-operator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698