| 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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 bool CodeAssembler::Is64() const { return raw_assembler_->machine()->Is64(); } | 82 bool CodeAssembler::Is64() const { return raw_assembler_->machine()->Is64(); } |
| 83 | 83 |
| 84 bool CodeAssembler::IsFloat64RoundUpSupported() const { | 84 bool CodeAssembler::IsFloat64RoundUpSupported() const { |
| 85 return raw_assembler_->machine()->Float64RoundUp().IsSupported(); | 85 return raw_assembler_->machine()->Float64RoundUp().IsSupported(); |
| 86 } | 86 } |
| 87 | 87 |
| 88 bool CodeAssembler::IsFloat64RoundDownSupported() const { | 88 bool CodeAssembler::IsFloat64RoundDownSupported() const { |
| 89 return raw_assembler_->machine()->Float64RoundDown().IsSupported(); | 89 return raw_assembler_->machine()->Float64RoundDown().IsSupported(); |
| 90 } | 90 } |
| 91 | 91 |
| 92 bool CodeAssembler::IsFloat64RoundTiesEvenSupported() const { |
| 93 return raw_assembler_->machine()->Float64RoundTiesEven().IsSupported(); |
| 94 } |
| 95 |
| 92 bool CodeAssembler::IsFloat64RoundTruncateSupported() const { | 96 bool CodeAssembler::IsFloat64RoundTruncateSupported() const { |
| 93 return raw_assembler_->machine()->Float64RoundTruncate().IsSupported(); | 97 return raw_assembler_->machine()->Float64RoundTruncate().IsSupported(); |
| 94 } | 98 } |
| 95 | 99 |
| 96 Node* CodeAssembler::Int32Constant(int32_t value) { | 100 Node* CodeAssembler::Int32Constant(int32_t value) { |
| 97 return raw_assembler_->Int32Constant(value); | 101 return raw_assembler_->Int32Constant(value); |
| 98 } | 102 } |
| 99 | 103 |
| 100 Node* CodeAssembler::Int64Constant(int64_t value) { | 104 Node* CodeAssembler::Int64Constant(int64_t value) { |
| 101 return raw_assembler_->Int64Constant(value); | 105 return raw_assembler_->Int64Constant(value); |
| (...skipping 1087 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1189 } | 1193 } |
| 1190 } | 1194 } |
| 1191 } | 1195 } |
| 1192 | 1196 |
| 1193 bound_ = true; | 1197 bound_ = true; |
| 1194 } | 1198 } |
| 1195 | 1199 |
| 1196 } // namespace compiler | 1200 } // namespace compiler |
| 1197 } // namespace internal | 1201 } // namespace internal |
| 1198 } // namespace v8 | 1202 } // namespace v8 |
| OLD | NEW |