OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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/simplified-lowering.h" | 5 #include "src/compiler/simplified-lowering.h" |
6 | 6 |
7 #include <limits> | 7 #include <limits> |
8 | 8 |
9 #include "src/base/bits.h" | 9 #include "src/base/bits.h" |
10 #include "src/code-factory.h" | 10 #include "src/code-factory.h" |
(...skipping 1090 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1101 jsgraph_->isolate(), jsgraph_->zone(), callable.descriptor(), 0, | 1101 jsgraph_->isolate(), jsgraph_->zone(), callable.descriptor(), 0, |
1102 flags, properties); | 1102 flags, properties); |
1103 node->InsertInput(jsgraph_->zone(), 0, | 1103 node->InsertInput(jsgraph_->zone(), 0, |
1104 jsgraph_->HeapConstant(callable.code())); | 1104 jsgraph_->HeapConstant(callable.code())); |
1105 node->AppendInput(jsgraph_->zone(), jsgraph_->NoContextConstant()); | 1105 node->AppendInput(jsgraph_->zone(), jsgraph_->NoContextConstant()); |
1106 NodeProperties::ChangeOp(node, jsgraph_->common()->Call(desc)); | 1106 NodeProperties::ChangeOp(node, jsgraph_->common()->Call(desc)); |
1107 } | 1107 } |
1108 break; | 1108 break; |
1109 } | 1109 } |
1110 case IrOpcode::kAllocate: { | 1110 case IrOpcode::kAllocate: { |
1111 ProcessInput(node, 0, UseInfo::AnyTagged()); | 1111 ProcessInput(node, 0, UseInfo::TruncatingWord32()); |
1112 ProcessRemainingInputs(node, 1); | 1112 ProcessRemainingInputs(node, 1); |
1113 SetOutput(node, MachineRepresentation::kTagged); | 1113 SetOutput(node, MachineRepresentation::kTagged); |
1114 break; | 1114 break; |
1115 } | 1115 } |
1116 case IrOpcode::kLoadField: { | 1116 case IrOpcode::kLoadField: { |
1117 FieldAccess access = FieldAccessOf(node->op()); | 1117 FieldAccess access = FieldAccessOf(node->op()); |
1118 ProcessInput(node, 0, UseInfoForBasePointer(access)); | 1118 ProcessInput(node, 0, UseInfoForBasePointer(access)); |
1119 ProcessRemainingInputs(node, 1); | 1119 ProcessRemainingInputs(node, 1); |
1120 SetOutput(node, access.machine_type.representation()); | 1120 SetOutput(node, access.machine_type.representation()); |
1121 break; | 1121 break; |
(...skipping 1242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2364 isolate(), graph()->zone(), callable.descriptor(), 0, flags, | 2364 isolate(), graph()->zone(), callable.descriptor(), 0, flags, |
2365 Operator::kNoProperties); | 2365 Operator::kNoProperties); |
2366 to_number_operator_.set(common()->Call(desc)); | 2366 to_number_operator_.set(common()->Call(desc)); |
2367 } | 2367 } |
2368 return to_number_operator_.get(); | 2368 return to_number_operator_.get(); |
2369 } | 2369 } |
2370 | 2370 |
2371 } // namespace compiler | 2371 } // namespace compiler |
2372 } // namespace internal | 2372 } // namespace internal |
2373 } // namespace v8 | 2373 } // namespace v8 |
OLD | NEW |