| Index: src/compiler/code-assembler.cc
|
| diff --git a/src/compiler/code-assembler.cc b/src/compiler/code-assembler.cc
|
| index 0b6056944fe1cc2d99b669aef407e9717f9f12c1..afdedc8f465e2bdc4145482c33cbaf4ed92c1510 100644
|
| --- a/src/compiler/code-assembler.cc
|
| +++ b/src/compiler/code-assembler.cc
|
| @@ -165,6 +165,19 @@ bool CodeAssembler::IsFloat64RoundTruncateSupported() const {
|
| return raw_assembler()->machine()->Float64RoundTruncate().IsSupported();
|
| }
|
|
|
| +bool CodeAssembler::IsInt32AbsWithOverflowSupported() const {
|
| + return raw_assembler()->machine()->Int32AbsWithOverflow().IsSupported();
|
| +}
|
| +
|
| +bool CodeAssembler::IsInt64AbsWithOverflowSupported() const {
|
| + return raw_assembler()->machine()->Int64AbsWithOverflow().IsSupported();
|
| +}
|
| +
|
| +bool CodeAssembler::IsIntPtrAbsWithOverflowSupported() const {
|
| + return Is64() ? IsInt64AbsWithOverflowSupported()
|
| + : IsInt32AbsWithOverflowSupported();
|
| +}
|
| +
|
| Node* CodeAssembler::Int32Constant(int32_t value) {
|
| return raw_assembler()->Int32Constant(value);
|
| }
|
|
|