| Index: src/compiler/js-intrinsic-lowering.cc
|
| diff --git a/src/compiler/js-intrinsic-lowering.cc b/src/compiler/js-intrinsic-lowering.cc
|
| index 739ba91d6fb7b3e97e92d9eebd015a5a256488a1..96d2ae95574d58025fc4f3fcf32542145cd227f6 100644
|
| --- a/src/compiler/js-intrinsic-lowering.cc
|
| +++ b/src/compiler/js-intrinsic-lowering.cc
|
| @@ -37,6 +37,8 @@ Reduction JSIntrinsicLowering::Reduce(Node* node) {
|
| switch (f->function_id) {
|
| case Runtime::kInlineConstructDouble:
|
| return ReduceConstructDouble(node);
|
| + case Runtime::kInlineCreateIterResultObject:
|
| + return ReduceCreateIterResultObject(node);
|
| case Runtime::kInlineDateField:
|
| return ReduceDateField(node);
|
| case Runtime::kInlineDeoptimizeNow:
|
| @@ -116,6 +118,16 @@ Reduction JSIntrinsicLowering::Reduce(Node* node) {
|
| }
|
|
|
|
|
| +Reduction JSIntrinsicLowering::ReduceCreateIterResultObject(Node* node) {
|
| + Node* const value = NodeProperties::GetValueInput(node, 0);
|
| + Node* const done = NodeProperties::GetValueInput(node, 1);
|
| + Node* const context = NodeProperties::GetContextInput(node);
|
| + Node* const effect = NodeProperties::GetEffectInput(node);
|
| + return Change(node, javascript()->CreateIterResultObject(), value, done,
|
| + context, effect);
|
| +}
|
| +
|
| +
|
| Reduction JSIntrinsicLowering::ReduceConstructDouble(Node* node) {
|
| Node* high = NodeProperties::GetValueInput(node, 0);
|
| Node* low = NodeProperties::GetValueInput(node, 1);
|
|
|