OLD | NEW |
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/operator.h" | 5 #include "src/compiler/operator.h" |
6 | 6 |
7 #include <limits> | 7 #include <limits> |
8 | 8 |
9 namespace v8 { | 9 namespace v8 { |
10 namespace internal { | 10 namespace internal { |
(...skipping 26 matching lines...) Expand all Loading... |
37 value_out_(CheckRange<uint16_t>(value_out)), | 37 value_out_(CheckRange<uint16_t>(value_out)), |
38 effect_out_(CheckRange<uint8_t>(effect_out)), | 38 effect_out_(CheckRange<uint8_t>(effect_out)), |
39 control_out_(CheckRange<uint16_t>(control_out)) {} | 39 control_out_(CheckRange<uint16_t>(control_out)) {} |
40 | 40 |
41 | 41 |
42 std::ostream& operator<<(std::ostream& os, const Operator& op) { | 42 std::ostream& operator<<(std::ostream& os, const Operator& op) { |
43 op.PrintTo(os); | 43 op.PrintTo(os); |
44 return os; | 44 return os; |
45 } | 45 } |
46 | 46 |
47 | 47 void Operator::PrintToImpl(std::ostream& os, PrintVerbosity verbose) const { |
48 void Operator::PrintTo(std::ostream& os) const { os << mnemonic(); } | 48 os << mnemonic(); |
| 49 } |
49 | 50 |
50 } // namespace compiler | 51 } // namespace compiler |
51 } // namespace internal | 52 } // namespace internal |
52 } // namespace v8 | 53 } // namespace v8 |
OLD | NEW |