| OLD | NEW |
| 1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 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/code-assembler.h" | 5 #include "src/compiler/code-assembler.h" |
| 6 | 6 |
| 7 #include <ostream> | 7 #include <ostream> |
| 8 | 8 |
| 9 #include "src/code-factory.h" | 9 #include "src/code-factory.h" |
| 10 #include "src/compiler/graph.h" | 10 #include "src/compiler/graph.h" |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 bool CodeAssembler::Is64() const { return raw_assembler_->machine()->Is64(); } | 79 bool CodeAssembler::Is64() const { return raw_assembler_->machine()->Is64(); } |
| 80 | 80 |
| 81 bool CodeAssembler::IsFloat64RoundUpSupported() const { | 81 bool CodeAssembler::IsFloat64RoundUpSupported() const { |
| 82 return raw_assembler_->machine()->Float64RoundUp().IsSupported(); | 82 return raw_assembler_->machine()->Float64RoundUp().IsSupported(); |
| 83 } | 83 } |
| 84 | 84 |
| 85 bool CodeAssembler::IsFloat64RoundDownSupported() const { | 85 bool CodeAssembler::IsFloat64RoundDownSupported() const { |
| 86 return raw_assembler_->machine()->Float64RoundDown().IsSupported(); | 86 return raw_assembler_->machine()->Float64RoundDown().IsSupported(); |
| 87 } | 87 } |
| 88 | 88 |
| 89 bool CodeAssembler::IsFloat64RoundTiesEvenSupported() const { |
| 90 return raw_assembler_->machine()->Float64RoundTiesEven().IsSupported(); |
| 91 } |
| 92 |
| 89 bool CodeAssembler::IsFloat64RoundTruncateSupported() const { | 93 bool CodeAssembler::IsFloat64RoundTruncateSupported() const { |
| 90 return raw_assembler_->machine()->Float64RoundTruncate().IsSupported(); | 94 return raw_assembler_->machine()->Float64RoundTruncate().IsSupported(); |
| 91 } | 95 } |
| 92 | 96 |
| 93 Node* CodeAssembler::Int32Constant(int32_t value) { | 97 Node* CodeAssembler::Int32Constant(int32_t value) { |
| 94 return raw_assembler_->Int32Constant(value); | 98 return raw_assembler_->Int32Constant(value); |
| 95 } | 99 } |
| 96 | 100 |
| 97 Node* CodeAssembler::Int64Constant(int64_t value) { | 101 Node* CodeAssembler::Int64Constant(int64_t value) { |
| 98 return raw_assembler_->Int64Constant(value); | 102 return raw_assembler_->Int64Constant(value); |
| (...skipping 1018 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1117 } | 1121 } |
| 1118 } | 1122 } |
| 1119 } | 1123 } |
| 1120 | 1124 |
| 1121 bound_ = true; | 1125 bound_ = true; |
| 1122 } | 1126 } |
| 1123 | 1127 |
| 1124 } // namespace compiler | 1128 } // namespace compiler |
| 1125 } // namespace internal | 1129 } // namespace internal |
| 1126 } // namespace v8 | 1130 } // namespace v8 |
| OLD | NEW |