| 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 832 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 857 } | 856 } |
| 858 | 857 |
| 859 | 858 |
| 860 MachineOperatorBuilder* JSGenericLowering::machine() const { | 859 MachineOperatorBuilder* JSGenericLowering::machine() const { |
| 861 return jsgraph()->machine(); | 860 return jsgraph()->machine(); |
| 862 } | 861 } |
| 863 | 862 |
| 864 } // namespace compiler | 863 } // namespace compiler |
| 865 } // namespace internal | 864 } // namespace internal |
| 866 } // namespace v8 | 865 } // namespace v8 |
| OLD | NEW |