// Copyright 2022 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef V8_COMMON_OPERATION_H_ #define V8_COMMON_OPERATION_H_ #include <ostream> #define ARITHMETIC_OPERATION_LIST(V) … #define UNARY_OPERATION_LIST(V) … #define COMPARISON_OPERATION_LIST(V) … #define OPERATION_LIST(V) … enum class Operation : uint8_t { … }; inline std::ostream& operator<<(std::ostream& os, const Operation& operation) { … } #endif // V8_COMMON_OPERATION_H_