| 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/code-factory.h" | 5 #include "src/code-factory.h" |
| 6 #include "src/code-stubs.h" | 6 #include "src/code-stubs.h" |
| 7 #include "src/compiler/common-operator.h" | 7 #include "src/compiler/common-operator.h" |
| 8 #include "src/compiler/js-generic-lowering.h" | 8 #include "src/compiler/js-generic-lowering.h" |
| 9 #include "src/compiler/js-graph.h" | 9 #include "src/compiler/js-graph.h" |
| 10 #include "src/compiler/machine-operator.h" | 10 #include "src/compiler/machine-operator.h" |
| 11 #include "src/compiler/node-matchers.h" | 11 #include "src/compiler/node-matchers.h" |
| 12 #include "src/compiler/node-properties.h" | 12 #include "src/compiler/node-properties.h" |
| 13 #include "src/compiler/operator-properties.h" | 13 #include "src/compiler/operator-properties.h" |
| 14 #include "src/unique.h" | |
| 15 | 14 |
| 16 namespace v8 { | 15 namespace v8 { |
| 17 namespace internal { | 16 namespace internal { |
| 18 namespace compiler { | 17 namespace compiler { |
| 19 | 18 |
| 20 static CallDescriptor::Flags AdjustFrameStatesForCall(Node* node) { | 19 static CallDescriptor::Flags AdjustFrameStatesForCall(Node* node) { |
| 21 int count = OperatorProperties::GetFrameStateInputCount(node->op()); | 20 int count = OperatorProperties::GetFrameStateInputCount(node->op()); |
| 22 if (count > 1) { | 21 if (count > 1) { |
| 23 int index = NodeProperties::FirstFrameStateIndex(node) + 1; | 22 int index = NodeProperties::FirstFrameStateIndex(node) + 1; |
| 24 do { | 23 do { |
| (...skipping 822 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 847 } | 846 } |
| 848 | 847 |
| 849 | 848 |
| 850 MachineOperatorBuilder* JSGenericLowering::machine() const { | 849 MachineOperatorBuilder* JSGenericLowering::machine() const { |
| 851 return jsgraph()->machine(); | 850 return jsgraph()->machine(); |
| 852 } | 851 } |
| 853 | 852 |
| 854 } // namespace compiler | 853 } // namespace compiler |
| 855 } // namespace internal | 854 } // namespace internal |
| 856 } // namespace v8 | 855 } // namespace v8 |
| OLD | NEW |