Commit 08bb94e9 authored by Mike Stanton's avatar Mike Stanton Committed by Commit Bot

Revert "[turbofan] refactor MachineOperatorBuilder to use less macros"

This change was made in one file as a prototype to see if we should
do it elsewhere. Backing the change out as we aren't planning to
continue the work into the other builders.

Change-Id: I10f24a897d86b86d3c53288006cf41fb3255f1b2
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2642376Reviewed-by: 's avatarJakob Gruber <jgruber@chromium.org>
Commit-Queue: Michael Stanton <mvstanton@chromium.org>
Cr-Commit-Position: refs/heads/master@{#72356}
parent d3b41d07
This diff is collapsed.
...@@ -18,6 +18,7 @@ namespace internal { ...@@ -18,6 +18,7 @@ namespace internal {
namespace compiler { namespace compiler {
// Forward declarations. // Forward declarations.
struct MachineOperatorGlobalCache;
class Operator; class Operator;
...@@ -989,6 +990,7 @@ class V8_EXPORT_PRIVATE MachineOperatorBuilder final ...@@ -989,6 +990,7 @@ class V8_EXPORT_PRIVATE MachineOperatorBuilder final
private: private:
Zone* zone_; Zone* zone_;
MachineOperatorGlobalCache const& cache_;
MachineRepresentation const word_; MachineRepresentation const word_;
Flags const flags_; Flags const flags_;
AlignmentRequirements const alignment_requirements_; AlignmentRequirements const alignment_requirements_;
......
...@@ -68,6 +68,8 @@ class V8_EXPORT_PRIVATE Operator : public NON_EXPORTED_BASE(ZoneObject) { ...@@ -68,6 +68,8 @@ class V8_EXPORT_PRIVATE Operator : public NON_EXPORTED_BASE(ZoneObject) {
Operator(const Operator&) = delete; Operator(const Operator&) = delete;
Operator& operator=(const Operator&) = delete; Operator& operator=(const Operator&) = delete;
virtual ~Operator() = default;
// A small integer unique to all instances of a particular kind of operator, // A small integer unique to all instances of a particular kind of operator,
// useful for quick matching for specific kinds of operators. For fast access // useful for quick matching for specific kinds of operators. For fast access
// the opcode is stored directly in the operator object. // the opcode is stored directly in the operator object.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment