| 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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 bool CodeAssembler::Is64() const { return raw_assembler()->machine()->Is64(); } | 86 bool CodeAssembler::Is64() const { return raw_assembler()->machine()->Is64(); } |
| 87 | 87 |
| 88 bool CodeAssembler::IsFloat64RoundUpSupported() const { | 88 bool CodeAssembler::IsFloat64RoundUpSupported() const { |
| 89 return raw_assembler()->machine()->Float64RoundUp().IsSupported(); | 89 return raw_assembler()->machine()->Float64RoundUp().IsSupported(); |
| 90 } | 90 } |
| 91 | 91 |
| 92 bool CodeAssembler::IsFloat64RoundDownSupported() const { | 92 bool CodeAssembler::IsFloat64RoundDownSupported() const { |
| 93 return raw_assembler()->machine()->Float64RoundDown().IsSupported(); | 93 return raw_assembler()->machine()->Float64RoundDown().IsSupported(); |
| 94 } | 94 } |
| 95 | 95 |
| 96 bool CodeAssembler::IsFloat64RoundTiesEvenSupported() const { |
| 97 return raw_assembler()->machine()->Float64RoundTiesEven().IsSupported(); |
| 98 } |
| 99 |
| 96 bool CodeAssembler::IsFloat64RoundTruncateSupported() const { | 100 bool CodeAssembler::IsFloat64RoundTruncateSupported() const { |
| 97 return raw_assembler()->machine()->Float64RoundTruncate().IsSupported(); | 101 return raw_assembler()->machine()->Float64RoundTruncate().IsSupported(); |
| 98 } | 102 } |
| 99 | 103 |
| 100 Node* CodeAssembler::Int32Constant(int32_t value) { | 104 Node* CodeAssembler::Int32Constant(int32_t value) { |
| 101 return raw_assembler()->Int32Constant(value); | 105 return raw_assembler()->Int32Constant(value); |
| 102 } | 106 } |
| 103 | 107 |
| 104 Node* CodeAssembler::Int64Constant(int64_t value) { | 108 Node* CodeAssembler::Int64Constant(int64_t value) { |
| 105 return raw_assembler()->Int64Constant(value); | 109 return raw_assembler()->Int64Constant(value); |
| (...skipping 1095 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1201 } | 1205 } |
| 1202 } | 1206 } |
| 1203 } | 1207 } |
| 1204 | 1208 |
| 1205 bound_ = true; | 1209 bound_ = true; |
| 1206 } | 1210 } |
| 1207 | 1211 |
| 1208 } // namespace compiler | 1212 } // namespace compiler |
| 1209 } // namespace internal | 1213 } // namespace internal |
| 1210 } // namespace v8 | 1214 } // namespace v8 |
| OLD | NEW |