| Index: src/compiler/code-stub-assembler.cc
|
| diff --git a/src/compiler/code-stub-assembler.cc b/src/compiler/code-stub-assembler.cc
|
| index bbb4d6353bf701844784e76f4c2eaf95bcf34141..b36c9040c41484b0bc928c61d5e4ed6f10d3cf26 100644
|
| --- a/src/compiler/code-stub-assembler.cc
|
| +++ b/src/compiler/code-stub-assembler.cc
|
| @@ -921,6 +921,11 @@ Node* CodeStubAssembler::TruncateTaggedToWord32(Node* context, Node* value) {
|
| return var_result.value();
|
| }
|
|
|
| +Node* CodeStubAssembler::TruncateFloat64ToInt32(Node* value) {
|
| + return raw_assembler_->TruncateFloat64ToInt32(TruncationMode::kJavaScript,
|
| + value);
|
| +}
|
| +
|
| void CodeStubAssembler::BranchIf(Node* condition, Label* if_true,
|
| Label* if_false) {
|
| Label if_condition_is_true(this), if_condition_is_false(this);
|
|
|